void-linux / void-linux/void-packages
elogind system-sleep scripts location documentation issue
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Is this a new report?
Yes
System Info
Void 6.0.10_1 x86_64 AuthenticAMD uptodate rrmFFFF
Package(s) Affected
elogind-246.10_2
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No, it's Void Linux specific.
Expected behaviour
Void (correctly!) configures /etc/elogind/system-sleep as the location for suspend/hibernate pre/post scripts. However, documentation does not indicate this. Upstream docs reference /lib64/elogind/system-sleep as the location. This leads to confusion with users.
I think /etc/elogind/system-sleep is correct, however Void docs should have a mention about this location.
Actual behaviour
N/A, issue made by request of @paper42 (paper_ on irc).
Steps to reproduce
- install elogind
- try to place a script in /usr/lib/elogind/system-sleep
- observe it not working
- place script in /etc/elogind/system-sleep
- it works
- wish for better docs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Void documentation covering elogind suspend and hibernate system-sleep hooks; no documentation file or test is named in the issue. Compare the documented upstream path with /etc/elogind/system-sleep and /usr/lib/elogind/system-sleep. Done means the Void-specific location and its working behavior are clearly documented.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation, operating-systems
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100