All,

here is the new version of this news item.

Thanks,

William

Title: Inportant fstab and localmount update
Author: William Hubbs <willi...@gentoo.org>
Author: Ian Stakenvicius <a...@gentoo.org>
Content-Type: text/plain
Posted: 2016-11-04
Revision: 1
News-Item-Format: 1.0

Recent updates to service scripts in OpenRC and (e)udev have removed the
requirement for udev to "settle" before it's startup completes.  The
result of this is that services which used to wait for udev to finish
processing all kernel events will now start earlier.  One such service
is localmount.

If "/dev/disk/by-*" source paths are used for mount points in
fstab, it is possible that those symbolic links  will not exist when
localmount starts and attempts to mount them.

One way to address this is to enforce the old behaviour by insuring that
udev-settle completes successfully before localmount starts. This can be
done by adding rc_need="dev-settle" to /etc/conf.d/localmount. The
disadvantage of this is that dev-settle can fail, and if it does,
localmount will not start.

The upstream preferred solution is to convert fstab from using
"/dev/disk/by-*" to the LABEL=, UUID=, or PARTUUID= syntax. This syntax
is supported directly by both util-linux and busybox's mount commands and
has no dependency on any device manager. More information on this syntax
can be found in the fstab man page.

Attachment: signature.asc
Description: Digital signature

Reply via email to