[lxc-users] LXC container and Systemd

Goran sendmailtogoran at gmail.com
Tue Aug 7 20:54:15 UTC 2018


# cat /proc/self/uid
cat: /proc/self/uid: No such file or directory

I do not log into the container but attach to it.

2018-08-07 20:17 GMT+02:00 Serge E. Hallyn <serge at hallyn.com>:
> Quoting Goran (sendmailtogoran at gmail.com):
>> 2018-08-07 18:34 GMT+02:00 Serge E. Hallyn <serge at hallyn.com>:
>> > Quoting Goran (sendmailtogoran at gmail.com):
>> >> I'm starting Grafana on top of Arch Linux without problem. But when I
>> >> ...
>> >> It looks like LXC is hindering systemd to start the process.
>> >
>> > What are the uid and gid of 'grafana' in the container?  Do they
>> > fit into the container's uid allocation?
>> > ...
>>
>> uid=207(grafana) gid=207(grafana) groups=207(grafana)
>>
>> How can I find the container's uid allocation?
>
> cat /proc/self/uid when logged into the container.
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list