Re: systemd in non-privileged container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, April 27, 2018 5:41:19 PM CEST Lennart Poettering wrote:
> On Fr, 27.04.18 17:27, Pavel Raiskup (praiskup@xxxxxxxxxx) wrote:
> 
> > Hi all,
> > 
> > just wanted to let you know about trivial experiment [1] with systemd in
> > container.  Non-privileged systemd can now pretty fine run in docker
> > container (tested on Fedora 27 box).
> 
> Hmm, IIRC there were at least two isues still, did they get resolved?
> Specifically:
> 
> 1. docker fakes a /dev/console that doesn't behave like a console
>    usually works, i.e. if a hangup is seen on it then it will destroy
>    the pty behind it, instead of keeping it around...

There't toy work-around to have at least something:
https://github.com/praiskup/systemd-container/blob/master/fedora-rawhide-x86_64/systemd

Pavel

> 2. docker sends SIGTERM to the container's PID 1 when it wants it to
>    go down even though SIGTERM to PID 1 on SysV systems generally
>    means "please reexecute", and not "please shut down".
> 
> What's the current state on that?
> 
> Lennart
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 



_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux