You are not logged in.

#1 2021-01-14 22:15:13

The Hit-Man
Member
Registered: 2021-01-14
Posts: 4

systemd-swap and samba mount errors

the first error is systemd-swap:

[root@ArchLinuxKeller-2 u0]# systemctl status systemd-swap
Failed to get journal cutoff time: Ungültige Nachricht
● systemd-swap.service - Manage swap spaces on zram, files and partitions.
     Loaded: loaded (/usr/lib/systemd/system/systemd-swap.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Thu 2021-01-14 22:10:17 CET; 6s ago
    Process: 724 ExecStart=/usr/bin/systemd-swap start (code=exited, status=1/FAILURE)
   Main PID: 724 (code=exited, status=1/FAILURE)

Jan 14 22:10:17 ArchLinuxKeller-2 systemd[1]: Starting Manage swap spaces on zram, files and partitions....
Jan 14 22:10:17 ArchLinuxKeller-2 systemd-swap[724]: Traceback (most recent call last):
Jan 14 22:10:17 ArchLinuxKeller-2 systemd-swap[724]:   File "/usr/bin/systemd-swap", line 23, in <module>
Jan 14 22:10:17 ArchLinuxKeller-2 systemd-swap[724]:     import systemd.daemon
Jan 14 22:10:17 ArchLinuxKeller-2 systemd-swap[724]: ModuleNotFoundError: No module named 'systemd'
Jan 14 22:10:17 ArchLinuxKeller-2 systemd[1]: systemd-swap.service: Main process exited, code=exited, status=1/FAILURE
Jan 14 22:10:17 ArchLinuxKeller-2 systemd[1]: systemd-swap.service: Failed with result 'exit-code'.
Jan 14 22:10:17 ArchLinuxKeller-2 systemd[1]: Failed to start Manage swap spaces on zram, files and partitions..


the second error, with autofs/samba ( icant mount my samba share, anymore):
[root@ArchLinuxKeller-2 u0]# mount //192.168.10.1/backups /mnt/tmp -overs=2.0,guest
Unable to apply new capability set.


i use archlinux x86_86, too. there are no problems ... can anybody help? by the way, kernel 5.9.12-1.0-pae #1 SMP PREEMPT Sun Dec 6 22:02:03 CET 2020 i686 GNU/Linux

Offline

#2 2021-01-14 23:05:57

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: systemd-swap and samba mount errors

I've not been able to cifs mount for well over a year now.  To be honest I kind of expected this to be a windows problem rather than my mount being broken.  Over time I had to change which cifs version I used, but in the end neither 2.0, 3.0 or 3.1 worked for me.  I think ping broke at the same time.

As for swap, I don't run mine at startup.  This machine has 2G of real RAM, so I rarely actually need swap.  But manually running swapon and swapoff still seems to work for me.

Ah, systemd-swap is more used to zram 'magic' swap.  I just installed systemd-swap and configured it, and it seems to start up for me fine.  Can't reproduce that one, I'm afraid.

Edit: I note core currently has kernel 5.9.14 available.  I'm running testing here so I'm on 5.10.6.  You're not bang up to date, but not far off.

Last edited by levi (2021-01-14 23:09:17)


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB