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

treewide: fix procd service inactive #19617

Merged
merged 1 commit into from
Oct 18, 2022
Merged

treewide: fix procd service inactive #19617

merged 1 commit into from
Oct 18, 2022

Conversation

1715173329
Copy link
Member

Maintainer: me
Compile tested: N/A
Run tested: NanoPi R2S

Description:
Exit directly will result procd service inactive and uci configuration changes are no longer monitored.

Exit directly will result procd service inactive and uci
configuration changes are no longer monitored.

Reported-by: Lvc Revincx <revincx233@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
@neheb
Copy link
Contributor

neheb commented Oct 17, 2022

That is…interesting. Given that AUTORELEASE doesn’t really work with treewide, I think it makes more sense to make multiple commits with each package.

wonder how many other packages are affected…

@1715173329
Copy link
Member Author

1715173329 commented Oct 18, 2022

That is…interesting. Given that AUTORELEASE doesn’t really work with treewide

https://github.com/openwrt/packages/actions/runs/3265617495/jobs/5368113799#step:8:54
emmm.. seems okay?

I think it makes more sense to make multiple commits with each package.

Yes, that's what I actually did before.
But to me it's just too redundant to have multiple commits with the same description...

wonder how many other packages are affected…

adguardhome and hs20 at least.

EDIT:
I looked up all files end with .init, and found:

  • fwknopd
  • hs20
  • ksmbd-tools
  • lighttpd
  • mariadb
  • nginx (file monitor)
  • samba4
  • simple-adblock
  • uradvd (it even doesn't have a reload_trigger)
  • wifidog-ng
  • wsdd2
  • znc

@stangri
Copy link
Member

stangri commented Oct 18, 2022

wonder how many other packages are affected…

Thanks to @1715173329 I've just fixed simple-adblock. PR pending.

stangri added a commit to stangri/packages that referenced this pull request Oct 18, 2022
* make PKG_VERSION of the init script readonly to remove shellcheck
  exception
* replace exit with return in the the procd scripts per:
  openwrt#19617
* remove custom boot() function as it prevented creation of procd
  firewall object on start on boot

Signed-off-by: Stan Grishin <stangri@melmac.ca>
stangri added a commit to stangri/packages that referenced this pull request Oct 18, 2022
* make PKG_VERSION of the init script readonly to remove shellcheck
  exception
* replace exit with return in the the procd scripts per:
  openwrt#19617
* remove custom boot() function as it prevented creation of procd
  firewall object on start on boot

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit d691408)
stangri added a commit to stangri/packages that referenced this pull request Oct 18, 2022
* make PKG_VERSION of the init script readonly to remove shellcheck
  exception
* replace exit with return in the the procd scripts per:
  openwrt#19617
* remove custom boot() function as it prevented creation of procd
  firewall object on start on boot
* improve performance of allowing domains code

Signed-off-by: Stan Grishin <stangri@melmac.ca>
stangri added a commit to stangri/packages that referenced this pull request Oct 18, 2022
* make PKG_VERSION of the init script readonly to remove shellcheck
  exception
* replace exit with return in the the procd scripts per:
  openwrt#19617
* remove custom boot() function as it prevented creation of procd
  firewall object on start on boot
* improve performance of allowing domains code

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 3ba5455)
@neheb neheb merged commit b1651c5 into openwrt:master Oct 18, 2022
@1715173329 1715173329 deleted the procd branch October 18, 2022 15:42
stokito pushed a commit to stokito/packages that referenced this pull request Dec 6, 2022
* make PKG_VERSION of the init script readonly to remove shellcheck
  exception
* replace exit with return in the the procd scripts per:
  openwrt#19617
* remove custom boot() function as it prevented creation of procd
  firewall object on start on boot
* improve performance of allowing domains code

Signed-off-by: Stan Grishin <stangri@melmac.ca>
SibrenVasse pushed a commit to SibrenVasse/packages that referenced this pull request Feb 26, 2023
* make PKG_VERSION of the init script readonly to remove shellcheck
  exception
* replace exit with return in the the procd scripts per:
  openwrt#19617
* remove custom boot() function as it prevented creation of procd
  firewall object on start on boot
* improve performance of allowing domains code

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 3ba5455)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants