Gentoo Archives: gentoo-dev

From: Gordon Pettey <petteyg359@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] newsitem: important fstab update
Date: Thu, 27 Oct 2016 03:44:03
Message-Id: CAHY5MecocaKjjaNxNzWToowhvWcK8TVmbfz8emdDPZ8uXybcSg@mail.gmail.com
In Reply to: Re: [gentoo-dev] newsitem: important fstab update by Ian Stakenvicius
1 On Wed, Oct 26, 2016 at 9:05 PM, Ian Stakenvicius <axs@g.o> wrote:
2
3 > On 26/10/16 04:49 AM, Joshua Kinard wrote:
4 > > On 10/25/2016 13:15, William Hubbs wrote:
5 > >> On Tue, Oct 25, 2016 at 01:10:06PM -0400, Mike Gilbert wrote:
6 > >>> On Tue, Oct 25, 2016 at 1:01 PM, William Hubbs <williamh@g.o>
7 > wrote:
8 > >>>> If you are not using /dev/disk/by-* paths in fstab, you do not need to
9 > >>> take any action for this news item.
10 > >>>>
11 > >>>> If you are, it is very critical that you update fstab AS SOON AS
12 > >>> POSSIBLE. Your system will become unbootable in the future if you do
13 > >>> not do so.
14 > >>>
15 > >>> Err, what is changing that will make systems unbootable?
16 > >>>
17 > >>> I am fairly certain systems running systemd will continue to work
18 > >>> properly with either syntax.
19 > >>
20 > >> They probably will.
21 > >>
22 > >>> If this is about the udev-settle issue for OpenRC, I would urge you to
23 > >>> reconsider that.
24 > >>
25 > >> There isn't anything to reconsider afaik. The problem is that
26 > >> /dev/disk/by-* are only created by udev/eudev, but the other syntax
27 > >> works regardless of which device manager you use, so this is the safer
28 > >> route.
29 > >>
30 > >> William
31 > >>
32 > >
33 > > I take it us museum relics still using jurassic-era device names like
34 > > /dev/sd* or /dev/md* aren't affected by this?
35 >
36 > That's correct -- the kernel's 'devtmpfs' creates those ones, whereas
37 > the /dev/disk/by-* symlinks (pretty well all symlinks in /dev i think,
38 > actually) are generated by udev rules.
39 >
40 > Actually, I wonder if the /dev/[vgname]/[lvname] paths would be
41 > affected by this too -- those are symlinks to the actual nodes in
42 > /dev/mapper/ after all, and are created by 11-dm-lvm.rules
43 >
44
45 Those are already problematic; udev and/or lvm2 seem to randomly forget to
46 set those up sometimes. I use /dev/mapped/vg-lv in /etc/fstab because of
47 that.

Replies

Subject Author
Re: [gentoo-dev] newsitem: important fstab update Ian Stakenvicius <axs@g.o>