libera/#devuan-dev/ Monday, 2021-12-20

DPAOn my system, /dev/pts/ptmx had permissions set to 000. I think it should be the same as /dev/ptmx, 666. They do the same, but being able to use /dev/pts/ptmx can still be useful,13:30
DPAbecause /dev/ptmx can't be opened if bind mounted (which doesn't require root), but dev/ and pts/ can be be bind mounted, and the ptmx in them opened in that case.13:30
DPASo if I want /dev/ptmx in an unprivileged container without any setuid helpers and without mounting all of /dev/, I need /dev/pts/ptmx so I can symlink /dev/ptmx to /dev/pts/ptmx13:30
DPAActually, nevermind, I just noticed I can just "mount -t devpts -o ptmxmode=0666 none /dev/pts" in an unprivileged container instead of bind mounting an existing /dev/pts.13:36
HumanG33khi15:07
HumanG33ksome feedback15:08
HumanG33kusing docker with devuan is not a good idea15:08
HumanG33kmaybe i have done things wrong but at restart my server just not start some services15:09
HumanG33kand i can't start some15:09
HumanG33ki have the feeling it can be related to cgroups.15:09
HumanG33kone of you have clue about it or already setup tests cases ?15:10

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!