Hard dependencies on systemd :(

The Wanderer wanderer at fastmail.fm
Sat Aug 20 23:56:09 BST 2022


On 2022-08-20 at 18:46, matthias.geiger1024 at tutanota.de wrote:

> Hi all,
> 
> today I wanted to set up a VM with sway to try out a system-free
> debian. Switching the init to openrc wasn't a problem. But when I
> installed sway, openrc got removed. This left me wondering since sway
> Build-depends: on either libsytemd-dev or libelignd-dev. I take it
> that buildd defaults to systemd so the elogind variant never gets
> built. This made me kinda sad; it's almost impossible to escape
> systemd.
> 
> Any thoughts on this? Do I have to use sbuild to build a systemd-free
> package locally?

On my daily production system (running sysvinit, not systemd or openrc):


$ apt-get --dry-run install sway
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  foot foot-terminfo libfcft4 libseat1 libwlroots10 suckless-tools
  sway-backgrounds swaybg
Suggested packages:
  foot-themes dwm stterm surf swayidle swaylock xdg-desktop-portal-wlr
The following NEW packages will be installed:
  foot foot-terminfo libfcft4 libseat1 libwlroots10 suckless-tools sway
  sway-backgrounds swaybg
0 upgraded, 9 newly installed, 0 to remove and 36 not upgraded.


No attempt to switch over to systemd, or to remove sysvinit.

I'm not sure offhand what might be making that difference, but I do know
that I have libelogind0 installed, and that is probably satisfying the
libsystemd0 dependency of the sway package. (I also recall noticing that
some binaries I have installed from packages which declare dependencies
on libsystemd0 are actually linked, as reported by ldd, against
libelogind0.)

I think there must be something else going on in your case, but without
more information I couldn't begin to guess what.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20220820/3b2d146e/attachment.sig>


More information about the Debian-init-diversity mailing list