# Okteto daemon error in k3s on lxd/lxc

**URL:** <https://community.okteto.com/t/okteto-daemon-error-in-k3s-on-lxd-lxc/821>\
**Category:** Okteto Self-Hosted\
**Tags:** k3s\
**Created:** [May 16, 2023, 12:29pm UTC](https://community.okteto.com/t/okteto-daemon-error-in-k3s-on-lxd-lxc/821 "2023-05-16T12:29:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![unreg](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/unreg/32/374_2.png) [@unreg](https://community.okteto.com/u/unreg)\
**Post date:** [May 16, 2023, 12:29pm UTC](https://community.okteto.com/t/okteto-daemon-error-in-k3s-on-lxd-lxc/821/1 "2023-05-16T12:29:57Z")

</div>

Hi!  
I have install self-hosted Okteto on k3s in lxd/lxc. And i have error with okteto-daemon:

```auto
{"level":"fatal","service":"daemon","error":"open /proc-aux/sys/fs/inotify/max_user_watches: permission denied","message":"tasks initialization failed"}

```

I do not understand the path `/proc-aux/sys/...`.  
Path `/proc/sys/fs/inotify/max_user_watches` present in container.

What ideas do you have for this?

---

<div class="post-metadata">

**Author:** ![jona](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/jona/32/353_2.png) [@jona](https://community.okteto.com/u/jona)\
**Post date:** [May 16, 2023, 1:10pm UTC](https://community.okteto.com/t/okteto-daemon-error-in-k3s-on-lxd-lxc/821/2 "2023-05-16T13:10:37Z")

</div>

Hello!

Does `/proc-aux/sys/fs/inotify/max_user_watches` filepath actually exist?  
Also, what value does it have and what value does your `/proc/sys/fs/inotify/max_user_watches` have?

---

<div class="post-metadata">

**Author:** ![unreg](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/unreg/32/374_2.png) [@unreg](https://community.okteto.com/u/unreg)\
**Post date:** [May 16, 2023, 1:13pm UTC](https://community.okteto.com/t/okteto-daemon-error-in-k3s-on-lxd-lxc/821/3 "2023-05-16T13:13:29Z")

</div>

Hello!

`/proc-aux/...` does not exist  
`/proc/sys/fs/inotify/max_user_watches` - 524288 (increased to 10048576)

---

<div class="post-metadata">

**Author:** ![jona](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/jona/32/353_2.png) [@jona](https://community.okteto.com/u/jona)\
**Post date:** [May 16, 2023, 3:45pm UTC](https://community.okteto.com/t/okteto-daemon-error-in-k3s-on-lxd-lxc/821/4 "2023-05-16T15:45:19Z")

</div>

I believe the `/proc-aux` is where the node’s `/proc` directory is mounted. So this might be running into a permissions issue with the `/proc` directory, since we specify in our documentation that permission is needed to mount here: [Configuration Settings | Okteto Documentation](https://www.okteto.com/docs/self-hosted/administration/configuration/#overridefilewatchers)

---

<div class="post-metadata">

**Author:** ![unreg](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/unreg/32/374_2.png) [@unreg](https://community.okteto.com/u/unreg)\
**Post date:** [May 16, 2023, 5:13pm UTC](https://community.okteto.com/t/okteto-daemon-error-in-k3s-on-lxd-lxc/821/5 "2023-05-16T17:13:35Z")

</div>

thx  
I set the container as privileged and this solved the problem.

```auto
lxc profile set <container_profile_name> security.privileged true

```
