Community Packages

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!
Tasklist

FS#30273 - [systemd-arch-units] Fail launching zram.service

Attached to Project: Community Packages
Opened by ianux (ianux) - Wednesday, 13 June 2012, 00:09 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 13 June 2012, 00:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Using systemd-arch-units 20120606-4 and linux 3.3.8-1, the script /usr/lib/systemd/scripts/zramctrl called by /usr/lib/systemd/system/zram.service tries to load zram kernel module with bad parameter and so fails at it.

$ grep -n modprobe /usr/lib/systemd/scripts/zramctrl
18: system("modprobe zram num_devices=" cpucount)

$ modinfo zram
parm: zram_num_devices:Number of zram devices (uint)

Replacing num_devices by zram_num_devices in zramctl fixes the problem.
This task depends upon

Closed by  Dave Reisner (falconindy)
Wednesday, 13 June 2012, 00:14 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#30208 

Loading...