[systemd-devel] Various patches from Mageia (2x Distro specific, 2x Generic)

Colin Guthrie colin at mageia.org
Mon Jul 2 01:15:51 PDT 2012


Hiya,

Just some patches I've been carrying downstream for a while now. Would
be nice to get them upstreamed.

The first two are distro specific so nothing too crazy there.

The third is a udev patch that was discussed with Kay a while back, but
I forgot to upstream it prior to the udev merge. Here it is again rebased
to the current state of affairs. It just allows for a custom settle timeout
to be specified on the kernel command line (rather than the hardcoded default
of 120s). Users have reported to me that running under VMs on really old
hardware can take forever and they need stupidly large timouts.

The fourth is likely one to discuss. Lennart this implements a scheme
which you recommended but which doesn't actually work. Normally, any NFS
mounts in /etc/fstab will hold up logins until it's mounted (because
systemd-user-sessions.service starts After remote-fs.target). This patch
introduces a new target, remote-fs-login.target which s-u-s.service now
starts after instead. Only if an NFS mount does not contain the noauto
option does it become part of this new target, thus if NFS mounts are
specified with noauto, they will still get mounted (they are part of
remote-fs.target) but the login will not be delayed. If you mount your
homedirs over NFS, then you should not specify the noauto option and thus
the login will be delayed until the mount point is ready.

Cheers

Col




More information about the systemd-devel mailing list