Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: allow group to be configured and set SHELL in env; add UBNT edge device #96

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

garlick
Copy link
Member

@garlick garlick commented Jan 26, 2024

This revives and rebases three single-commit PRs that have been sitting a really long time. Presumably authors have moved on. If not, perhaps mentioning the PRs will elicit a response :-)

Really sorry this project was not well maintained during the period of your contribution! We'll try to do better.

Closes #26
Closes #24
Closes #48

sjthespian and others added 3 commits January 26, 2024 19:45
Note from @garlick: this was submitted as pr chaos#49 in 2021 but
the author did not follow up with requested git machinations.
Pulling it in anyway in case it's useful to someone.
Powerman may need to run things to connect to power control devices,
such as an ssh command.  For ssh to operate properly it needs to have
SHELL set to a valid shell in it's environment.

Note from @garlick: this was submitted in 2017 as pr chaos#24 but was
left unmerged due to pending git machinations.  Let's just pull it in.
The powerman.service file has configuration options to run the daemon
as a specific user and group. The current default for both is "daemon".
Changing the user is possible through --with-user= configure option,
but there is no option for changing the group.

In order to allow the group value to be configured at build time, a
configure option similar to the --with-user= option should be provided.

This change creates the --with-group= option, setting the
@RUN_AS_GROUP@ macro for autoconf files.

Note from @garlick: this was submitted in 2017 as pr chaos#26 and sat around
due to maintainer inattention.  Rebasing and reviving as it's a good patch!
@mergify mergify bot merged commit 2754c00 into chaos:master Jan 26, 2024
2 checks passed
@garlick garlick deleted the old_prs branch January 31, 2024 13:58
garlick added a commit to garlick/powerman that referenced this pull request Feb 1, 2024
Problem: ac_runas.m4 uses the deprecated AC_HELP_STRING macro.

This was accidentally added by chaos#96, after other autoconf modernization
changes had been merged.

Update to AS_HELP_STRING.
garlick added a commit to garlick/powerman that referenced this pull request Feb 1, 2024
Problem: ac_runas.m4 uses the deprecated AC_HELP_STRING macro.

This was accidentally added by chaos#96, after other autoconf modernization
changes had been merged.

Update to AS_HELP_STRING.
chu11 pushed a commit to chu11/powerman that referenced this pull request Apr 4, 2024
Problem: ac_runas.m4 uses the deprecated AC_HELP_STRING macro.

This was accidentally added by chaos#96, after other autoconf modernization
changes had been merged.

Update to AS_HELP_STRING.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for UBNT EdgeMax PoE via. rancid
4 participants