Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o, "Anthony G. Basile" <blueness@g.o>
Subject: Re: [gentoo-dev] News item for eudev deprecation
Date: Mon, 23 Aug 2021 14:46:53
Message-Id: 40be447cdf9561e71909cca4c25b2a0e3d773baa.camel@gentoo.org
In Reply to: Re: [gentoo-dev] News item for eudev deprecation by Ulrich Mueller
1 On Mon, 2021-08-23 at 16:36 +0200, Ulrich Mueller wrote:
2 > > > > > > On Mon, 23 Aug 2021, Anthony G Basile wrote:
3 >
4 > > > > **WARNING**
5 > > > >
6 > > > > If you happen to have an INSTALL_MASK with a blanket "*systemd*"
7 > > > > glob, you will inevitably break your system. sys-fs/udev
8 > > > > contains
9 > > > > "systemd" in some of its filenames, hence a blanket filter rule
10 > > > > will
11 > > > > likely lead to a non-functional udev installation.
12 > > >
13 > > > Will an INSTALL_MASK of "/usr/lib/systemd /etc/systemd" cause any
14 > > > issues?
15 >
16 > > I have not tested, but I think so since "systemd-" is used as a
17 > > prefix
18 > > for files installed by sys-fs/udev.
19 >
20 > So, we've abandoned the systemd USE flag, and I remember that one of
21 > the arguments was that users could use INSTALL_MASK for precisely the
22 > above mentioned directories.
23 >
24 > Now the message is that users' systems will be broken if they had
25 > followed our previous advice? Seriously?
26 >
27 > Ulrich
28
29 Let assume the counterfactual for a moment here: We retained the
30 USE=systemd flag for all unit files and what not, so people can cleanse
31 themselves of the systemd units etc. without resorting to INSTALL_MASK.
32
33 How would USE=-systemd have prevented this situation? USE=-systemd would
34 randomly mv and sed random files so the "systemd-" prefix doesn't show
35 up?

Replies

Subject Author
Re: [gentoo-dev] News item for eudev deprecation Rich Freeman <rich0@g.o>