Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#66947 - [systemd-swap] 4.1.0-2 does not work: row 78: read: 1s: invalid waiting time statement
Attached to Project:
Community Packages
Opened by Gerry Kessler (renegat) - Monday, 08 June 2020, 23:14 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 09 June 2020, 04:44 GMT
Opened by Gerry Kessler (renegat) - Monday, 08 June 2020, 23:14 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 09 June 2020, 04:44 GMT
|
DetailsDescription:
Since update systemd-swap 4.1.0-1 -> 4.1.0-2 systemd-swap does not work anymore consuming 100% of one core permanently Additional info: * package version(s) 4.1.0-2 * config and/or log files etc. journalctl -u systemd-swap [code] Jun 09 00:27:59 arch30 systemd[1]: Started Manage swap spaces on zram, files and partitions.. Jun 09 00:28:00 arch30 systemd-swap[545]: INFO: Load: /etc/systemd/swap.conf Jun 09 00:28:00 arch30 systemd-swap[545]: INFO: Zswap: backup current configuration: start Jun 09 00:28:00 arch30 systemd-swap[545]: INFO: Zswap: backup current configuration: complete Jun 09 00:28:00 arch30 systemd-swap[545]: INFO: Zswap: set new parameters: start Jun 09 00:28:00 arch30 systemd-swap[545]: INFO: Zswap: Enable: 1, Comp: lz4, Max pool %: 25, Zpool: zbud Jun 09 00:28:00 arch30 systemd-swap[545]: INFO: Zswap: set new parameters: complete Jun 09 00:28:00 arch30 systemd-swap[545]: INFO: swapD: pickup devices from systemd-gpt-auto-generator Jun 09 00:28:00 arch30 systemd-swap[704]: /usr/bin/systemd-swap: Zeile 78: read: 1s: Ungültige Wartezeitangebe. Jun 09 00:28:00 arch30 systemd-swap[704]: /usr/bin/systemd-swap: Zeile 78: read: 1s: Ungültige Wartezeitangebe. Jun 09 00:28:00 arch30 systemd-swap[704]: /usr/bin/systemd-swap: Zeile 78: read: 1s: Ungültige Wartezeitangebe. Jun 09 00:28:00 arch30 systemd-swap[704]: /usr/bin/systemd-swap: Zeile 78: read: 1s: Ungültige Wartezeitangebe. Jun 09 00:28:00 arch30 systemd-swap[545]: INFO: swapD: searching swap devices Jun 09 00:28:00 arch30 systemd-swap[704]: /usr/bin/systemd-swap: Zeile 78: read: 1s: Ungültige Wartezeitangebe. [/code] the error message keeps continuing endlessly Even with LC_ALL=C some output stays german language. (BTW 'Wartezeitangebe' should be 'Wartezeitangabe') It says '/usr/bin/systemd-swap: row 78: read: 1s: invalid waiting time statement' /etc/systemd/swap.conf: ################################################################################ # Defaults are optimized for general usage ################################################################################ ################################################################################ # You can override any settings by files in: # /etc/systemd/swap.conf.d/*.conf ################################################################################ ################################################################################ # Zswap # # Kernel >= 3.11 # Zswap create compress cache between swap and memory for reduce IO # https://www.kernel.org/doc/Documentation/vm/zswap.txt zswap_enabled=1 zswap_compressor=lz4 # lzo lz4 zswap_max_pool_percent=25 # 1-99 zswap_zpool=zbud # zbud z3fold ################################################################################ # ZRam # # Kernel >= 3.15 # Zram compression streams count for additional information see: # https://www.kernel.org/doc/Documentation/blockdev/zram.txt zram_enabled=0 zram_size=$(($RAM_SIZE/4)) # This is 1/4 of ram size by default. zram_streams=$NCPU zram_alg=lz4 # lzo lz4 deflate lz4hc 842 - for Linux 4.8.4 zram_prio=32767 # 1 - 32767 ################################################################################ # Swap File Chunked # Allocate swap files dynamically # For btrfs fallback to swapfile + loop will be used # ex. Min swap size 512M, Max 8*512M swapfc_enabled=1 swapfc_force_use_loop=0 # Force usage of swapfile + loop swapfc_frequency=1s # How often check free swap space swapfc_chunk_size=512M # Allocate size of swap chunk swapfc_max_count=8 # 0 - unlimited, note: 32 is a kernel maximum swapfc_free_swap_perc=15 # Add new chunk if free < 15% # Remove chunk if free > 15+40% & chunk count > 2 swapfc_path=/var/lib/systemd-swap/swapfc/ # Only for swapfile + loop swapfc_nocow=1 # Disable CoW on swapfile swapfc_directio=1 # Use directio for loop dev swapfc_force_preallocated=0 # Will preallocate created files ################################################################################ # Swap devices # Find and auto swapon all available swap devices swapd_auto_swapon=1 swapd_prio=1024 * link to upstream bug report, if any - not found Steps to reproduce: On system using systemd-swap: Update systemd-swap (4.0.1-2 -> 4.1.0-1) reboot Downgrading fixes the issue |
This task depends upon
Closed by Doug Newgard (Scimmia)
Tuesday, 09 June 2020, 04:44 GMT
Reason for closing: Not a bug
Additional comments about closing: .pacnew files are your responsibility
Tuesday, 09 June 2020, 04:44 GMT
Reason for closing: Not a bug
Additional comments about closing: .pacnew files are your responsibility
They changed the format so that swapfc_frequency=1s needs to be swapfc_frequency=1 (as it is in the new .conf file).
Upstream report here:
https://github.com/Nefelim4ag/systemd-swap/issues/121