Update runit-service-scripts/PKGBUILD #2

Closed
Evhorizon wants to merge 1 commit from (deleted):main into main
First-time contributor
No description provided.
Evhorizon added 1 commit 2023-12-16 16:24:26 +01:00
Author
First-time contributor

Same as commit in /repos

Same as commit in /repos
Evhorizon closed this pull request 2023-12-29 20:41:42 +01:00
Owner

I haven't been able to get notification up for pull requests here, so they remain unnoticed.
I can't see the specific change asked for, was it to switch the log conf from 0755 to 0750 ?
Is it because openvpn demands this as more secure?

I haven't been able to get notification up for pull requests here, so they remain unnoticed. I can't see the specific change asked for, was it to switch the log conf from 0755 to 0750 ? Is it because openvpn demands this as more secure?
Owner

OK got it, before we upload the change we will make a new repository for the runit scripts themselves so they can be edited on a one-by-one basis (the contents of the current tarball)

OK got it, before we upload the change we will make a new repository for the runit scripts themselves so they can be edited on a one-by-one basis (the contents of the current tarball)
Author
First-time contributor

Hi, thanks for asking, I have closed the PR because I agreed with you, there's no need to open a request uploading a tarball:) you should only change upstream the permission of /log/run to 755 because otherwise that file won't be able to create the log folder in the /var/log directory. Indeed, if you look at the artix PGKBUILD, it installs the file with -Dm755.

Hi, thanks for asking, I have closed the PR because I agreed with you, there's no need to open a request uploading a tarball:) you should only change upstream the permission of /log/run to 755 because otherwise that file won't be able to create the log folder in the /var/log directory. Indeed, if you look at the artix PGKBUILD, it installs the file with -Dm755.
Author
First-time contributor

Forgot to say that in your runit service script tarball that file seems to have 644 permission on my side.

Forgot to say that in your runit service script tarball that file seems to have 644 permission on my side.
Owner

Thank you, check swap-runit service added, the permissions to run also made it not work, now it does. runit uses a bash environment and expects all run scripts to be executable for it to "run" them.
the openvpn/log/run and swap-runit/run were read only files

https://git.disroot.org/joborun/runit-service-scripts/src/branch/main/usr/lib/runit/sv

Now you can make individual changes to all files on the scripts

Thank you, check swap-runit service added, the permissions to run also made it not work, now it does. runit uses a bash environment and expects all run scripts to be executable for it to "run" them. the openvpn/log/run and swap-runit/run were read only files https://git.disroot.org/joborun/runit-service-scripts/src/branch/main/usr/lib/runit/sv Now you can make individual changes to all files on the scripts
Author
First-time contributor

Thanks so much to you, this change is great, now contributing to the services is much easier!') btw I have just shared my own 66 OpenVPN service on the Obarun gitlab (obcommunity), I would be happy if Eric moves it to observice, even because seeing a 66 service on obcommunity is kind of weird.

Thanks so much to you, this change is great, now contributing to the services is much easier!') btw I have just shared my own 66 OpenVPN service on the Obarun gitlab (obcommunity), I would be happy if Eric moves it to observice, even because seeing a 66 service on obcommunity is kind of weird.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: joborun-pkg/jobcore#2
No description provided.