void-linux / void-linux/void-packages

elogind system-sleep scripts location documentation issue

Open
#40,824 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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
  1. install elogind
  2. try to place a script in /usr/lib/elogind/system-sleep
  3. observe it not working
  4. place script in /etc/elogind/system-sleep
  5. it works
  6. wish for better docs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.