Skip to content

nut: Fix permissions of /var/etc/nut#21014

Open
lhuedepohl wants to merge 1 commit into
openwrt:masterfrom
lhuedepohl:master
Open

nut: Fix permissions of /var/etc/nut#21014
lhuedepohl wants to merge 1 commit into
openwrt:masterfrom
lhuedepohl:master

Conversation

@lhuedepohl

Copy link
Copy Markdown

Previously, upsd bailed out with

Can't open /etc/nut/ups.conf: Can't open /etc/nut/ups.conf: Permission denied

and procd reported a crash loop.

Maintainer: @cyanidium (?)
Compile tested: n/a
Run tested: aarch64_generic, friendlyarm,nanopi-r4s, 22.03.5

Description:
Really just a very simple permission fix

@cyanidium

Copy link
Copy Markdown
Contributor

Not me any more sorry. I'm a bit out of date with openwrt, but I think you need to bump PKG_RELEASE in the Makefile as well. @EricLuehrsen provided the last meaningful update so might be able to assist with the maintainer signoff.

@EricLuehrsen

Copy link
Copy Markdown
Contributor

This package is looking for a maintainer. The change does seem straight forward and okay. Repeat do update PKG_RELEASE:= in the Makefile.

Previously, upsd bailed out with

  Can't open /etc/nut/ups.conf: Can't open /etc/nut/ups.conf: Permission denied

and procd reported a crash loop.

Signed-off-by: Lorenz Hüdepohl <dev@stellardeath.org>
@lhuedepohl

Copy link
Copy Markdown
Author

Repeat do update PKG_RELEASE:= in the Makefile.

Did that now, thanks!

danielfdickinson added a commit to danielfdickinson/packages that referenced this pull request Jun 1, 2026
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.

In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.

Incorporates and supersedes: openwrt#28308
Should supersede openwrt#21014

Closes: openwrt#28298

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
danielfdickinson added a commit to danielfdickinson/packages that referenced this pull request Jun 1, 2026
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.

In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.

Incorporates and supersedes: openwrt#28308
Should supersede openwrt#21014

Closes: openwrt#28298

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
@danielfdickinson danielfdickinson mentioned this pull request Jun 1, 2026
1 task
danielfdickinson added a commit to danielfdickinson/packages that referenced this pull request Jun 1, 2026
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.

In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.

Incorporates and supersedes: openwrt#28308
Should supersede openwrt#21014

Closes: openwrt#28298

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
danielfdickinson added a commit to danielfdickinson/packages that referenced this pull request Jun 1, 2026
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.

In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.

Incorporates and supersedes: openwrt#28308
Should supersede openwrt#21014

Closes: openwrt#28298

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
danielfdickinson added a commit to danielfdickinson/packages that referenced this pull request Jun 1, 2026
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.

In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.

Incorporates and supersedes: openwrt#28308
Should supersede openwrt#21014

Closes: openwrt#28298

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
danielfdickinson added a commit to danielfdickinson/packages that referenced this pull request Jun 1, 2026
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.

In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.

Incorporates and supersedes: openwrt#28308
Should supersede openwrt#21014

Closes: openwrt#28298

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
danielfdickinson added a commit to danielfdickinson/packages that referenced this pull request Jun 2, 2026
The scripts were a mess. Attempting even a simple update caused many
Copilot complaints. So we rewrite the scripts to be cleaner and
resolve the issues found by automated code review (such as Copilot).
Made extensive use of Qwen3.6-27B, LATE, and llama.ccp for local AI
code reviews during development.

In the process we deduplicate the nut-server and nut-monitor
initscripts and split them into several files, for easier automatic
and human review.

Incorporates and supersedes: openwrt#28308
Should supersede openwrt#21014

Closes: openwrt#28298

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
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.

4 participants