On 8/23/2021 12:24, Michał Górny wrote:
> On Mon, 2021-08-23 at 16:36 +0200, Ulrich Mueller wrote:
>>>>>>> On Mon, 23 Aug 2021, Anthony G Basile wrote:
>>
>>>>> **WARNING**
>>>>>
>>>>> If you happen to have an INSTALL_MASK with a blanket "*systemd*"
>>>>> glob, you will inevitably break your system. sys-fs/udev
>>>>> contains
>>>>> "systemd" in some of its filenames, hence a blanket filter rule
>>>>> will
>>>>> likely lead to a non-functional udev installation.
>>>>
>>>> Will an INSTALL_MASK of "/usr/lib/systemd /etc/systemd" cause any
>>>> issues?
>>
>>> I have not tested, but I think so since "systemd-" is used as a
>>> prefix
>>> for files installed by sys-fs/udev.
>>
>> So, we've abandoned the systemd USE flag, and I remember that one of
>> the arguments was that users could use INSTALL_MASK for precisely the
>> above mentioned directories.
>>
>> Now the message is that users' systems will be broken if they had
>> followed our previous advice? Seriously?
> 
> I'm pretty sure we've never officially advised anyone to remove
> important directories via INSTALL_MASK.  INSTALL_MASK on unit
> directories will not affect udev users.  On the other hand, if someone
> was overzealous and stripped whole /lib/systemd... no compassion from
> me, sorry.

Digging around, I am pretty sure I picked up the INSTALL_MASK tip from
something we put out.  Only current info I can find so far is on the Wiki:

https://wiki.gentoo.org/wiki/Gentoo_Without_systemd#systemd_unit_files

History on that page goes back to 2014, but the first mention of
INSTALL_MASK looks to have been added by the edit on 22 Sep 2018 @ 19:05:
https://wiki.gentoo.org/index.php?title=Gentoo_Without_systemd&oldid=735246

However, I know I've had the INSTALL_MASK lines on several of my machines
for a few years before that.  In any case, looking into my mail archives, it
appears this bike shed has been painted over a few times before:

2012: "Global Systemd USE Flag"
https://archives.gentoo.org/gentoo-dev/message/5ca98a9af71db715fa68632ec1335755

2014: "Possibility of overriding user defined INSTALL_MASK from an ebuild?"
https://archives.gentoo.org/gentoo-dev/message/c20d9ada8e05dc1707f021ff01d28802

Seems like the sane option is to just drop the INSTALL_MASK and deal with a
gaggle of systemd unit files eating up some inode space.  I obviously took
umbrage once upon a time, but I guess the older you get, the less you care.

-- 
Joshua Kinard
Gentoo/MIPS
ku...@gentoo.org
rsa6144/5C63F4E3F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And
our lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic

Reply via email to