FS#56643 - [udisks2] unable to start /usr/lib/systemd/system/zram-setup@.service

Attached to Project: Arch Linux
Opened by Eric Wang (enihcam) - Saturday, 09 December 2017, 08:27 GMT
Last edited by Toolybird (Toolybird) - Thursday, 13 April 2023, 21:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
in /usr/lib/systemd/system/zram-setup@.service, we can find the following line:
EnvironmentFile=-/usr/local/lib/zram.conf.d/%i-env

As you can see the service looks for configuration under /usr/local/lib, not /etc.
When people backup /etc (e.g. using etckeeper) and restore, this environment file will be forgotten, given that using /usr/local is not a good practice in Archlinux.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 13 April 2023, 21:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Clearly no longer valid.
Comment by mattia (nTia89) - Sunday, 27 February 2022, 13:31 GMT
I cannot reproduce the issue. Is it still valid?

Loading...