Re: Systemd getting in the way

<[email protected]>
Newsgroups gmane.linux.gentoo.user
Message-ID <[email protected]>
On Sunday, 8 March 2026 15:58:47 Greenwich Mean Time Nuno Silva wrote:
> On 2026-03-08, [email protected] wrote:
> > Greetings,
> > 
> > I've finally managed to get a more-or-less working system put together,
> > having been going round in circles, banging my head on convenient walls
> > on the way, since before Christmas.
> > 
> > I've had to abandon my favourite systemd-boot, having been unable to get
> > it to work (it doesn't behave the way the handbook describes). Instead,
> > I've had to fall back on the dreaded grub.
> > 
> > The point of this gripe, though, is that I cannot run an 'emerge -e
> > @world'
> > any more, because systemd insists on being included. Well, being masked
> > stops it, but being explicitly excluded on the command line does not.
> > 
> > Has anyone here a reliable method of ensuring that systemd stays out of
> > the
> > way?
> 
> If it's installed, use emerge -pvc systemd to see what's keeping it in
> the dependence graph.
> 
> If it's not installed, add -tv to the emerge -e options (and pipe it
> through a pager, or do --pretend and write to a file to look at after
> emerge completes the output) to get some indication of at least one of
> the packages that is pulling it.

I didn't get a tree, just the usual block of packages that were supposed to 
require systemd. This was the block:

!!! All ebuilds that could satisfy "sys-apps/systemd:0/2=" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/systemd-9999::gentoo (masked by: package.mask, missing keyword)
- sys-apps/systemd-259.2::gentoo (masked by: package.mask, ~amd64 
keyword)
- sys-apps/systemd-259.1::gentoo (masked by: package.mask, ~amd64 
keyword)
- sys-apps/systemd-259::gentoo (masked by: package.mask, ~amd64 keyword)
- sys-apps/systemd-258.3::gentoo (masked by: package.mask)

(dependency required by "sys-fs/lvm2-2.03.22-r7::gentoo" [binary])
(dependency required by "sys-fs/cryptsetup-2.8.3-r1::gentoo" [binary])
(dependency required by "sys-libs/libblockdev-3.4.0::gentoo" [binary])
(dependency required by "sys-fs/udisks-2.11.0-r1::gentoo" [binary])
(dependency required by "kde-frameworks/solid-6.22.0::gentoo" [binary])
(dependency required by "kde-frameworks/kio-6.22.1::gentoo" [binary])
(dependency required by "kde-frameworks/kcmutils-6.22.0::gentoo" [binary])
(dependency required by "kde-plasma/keditfiletype-6.5.5::gentoo" [binary])

So I tried 'emerge -1av xxx', where xxx was each of those eight. Lvm2 wanted 
USE=-systemd, and the others didn't have such a USE flag.

This is the sort of thing I meant when I said I'd been going round in circles.

-- 
Regards,
Peter.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.