[systemd-bugs] [Bug 88554] systemd-sysusers: should not log to host journal when bootstrapping a guest (e.g. in a chroot)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 4 05:58:03 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88554

Lennart Poettering <lennart at poettering.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
I am really sure that we should always log when we do something. We should not
suppress messages just because we assume that the chroot env might not have set
up /dev properly.

This really sounds as if the chroot env you are using should be fixed to not
make The host's /dev/log available inside the chroot env. That's the only way
how you can ensure that no log messages from the chroot env leak into the host,
regardless if it's sysusers that is logging or something else.

(Hint: nspawn sets up /dev properly, so that this issue goes away...)

Anyway, I am pretty sure this is nothing to fix in systemd, hence closing.
Sorry!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150204/90be626e/attachment.html>


More information about the systemd-bugs mailing list