[systemd-devel] [HEADS-UP] systemd and Storage Daemons for the Root File System

Lennart Poettering lennart at poettering.net
Wed Jan 11 06:26:41 PST 2012


On Wed, 11.01.12 14:44, Jan Engelhardt (jengelh at medozas.de) wrote:

> >> Forcing the use of @ introduces a policy, which should preferably not be 
> >> done. Since programs started from the initrd obviously should be having 
> >> a /proc/*/{cwd,exe} symlinks pointing to the initramfs vfsmount.
> >
> >They are in a different namespace, so that wouldn't work.
> 
> Namespace as in clone(2)'s CLONE_NEWNS?

No, my expression was a bit unclean there.

What I meant is that the path in argv[0] and similar stops making sense
after the switch to the root fs, since we did a MS_MOVE there, which
invalidates all old paths...

But yeah, there's no new vfs namespace opened, just some major changes in
what means what in the original namespace.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list