nefelim4ag / systemd-swap

Script for creating hybrid swap space from zram swaps, swap files and swap partitions.
GNU General Public License v3.0
550 stars 81 forks source link

Systemd-swap reliably conflicts with systemd services on startup #182

Closed Jturnerusa closed 3 years ago

Jturnerusa commented 3 years ago

This took me a while to hunt down, but now that I've found the issue I can reproduce it every time. Here are some (not very helpful) error messages from the journal.

pam_systemd(login:session): Failed to create session: Message recipient disconnected from message bus without replying
systemd-logind.service: Unexpected error response from GetNameOwner(): Connection `terminated

This also causes other issues, a very long delay while booting, systemd user features being unavailable, and things depending on graphical.target not starting up (startx in my case).

notroot@archlinux-pc ~ >systemctl --user
failed to connect to bus no such file or directory

Disabling the service fixes all of the above issues, and re-enabling it causes them again. I wish I had more info to help track down the exact cause of this, if there is anything I can do to help diagnose the issue let me know!

vilgotf commented 3 years ago

Duplicate of #178