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

HotSync: permissions are not fixed after master sync #6335

Closed
federicoballarini opened this issue Nov 16, 2020 · 7 comments
Closed

HotSync: permissions are not fixed after master sync #6335

federicoballarini opened this issue Nov 16, 2020 · 7 comments
Labels
bug A defect of the software forge The package belongs to NethForge verified All test cases were verified successfully

Comments

@federicoballarini
Copy link
Member

Steps to reproduce

  • Wait for master sync

Expected behavior

  • A while after master sync, also permissions on slave should be fixed

Actual behavior

  • Permissions are fixed only one time per day

Components

  • nethserver-hotsync
@federicoballarini federicoballarini added the bug A defect of the software label Nov 16, 2020
@federicoballarini federicoballarini self-assigned this Nov 16, 2020
@federicoballarini federicoballarini added the forge The package belongs to NethForge label Nov 16, 2020
@federicoballarini
Copy link
Member Author

The idea is to run fixperm on slave host after 10 minutes master sync. I move also cron check at the first lines of the script, so it's ready for cron.hourly that starts at the first minute of every hour.

@federicoballarini
Copy link
Member Author

Test case: check that 10 mins after master sync, on slave host are fixed permissions. Check also that no emails are sent to root.

federicoballarini added a commit to NethServer/nethserver-hotsync that referenced this issue Nov 16, 2020
@federicoballarini federicoballarini added the testing Packages are available from testing repositories label Nov 16, 2020
@federicoballarini federicoballarini removed their assignment Nov 16, 2020
@federicoballarini
Copy link
Member Author

Test case is ok. The only thing is that on slave host nethserver-hotsync-update / save event is not performed automatically, because nethserver-events are disabled. @gsanchietti do you think there is a way to perform this automatically during the update or I open an announcement topic on community and I say also to launch save event?

@federicoballarini federicoballarini added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Nov 16, 2020
@gsanchietti
Copy link
Member

AFAIK is not possible, you should add it to the documentation.

@federicoballarini
Copy link
Member Author

@gsanchietti what do you think? If it's ok for you we can merge doc and proceed with package release. I think can be helpful also an announcement on community.

@gsanchietti
Copy link
Member

You can release it.
About the doc, let's discuss it on the PR :)

gsanchietti added a commit to NethServer/docs that referenced this issue Nov 26, 2020
NethServer/dev#6335

Co-authored-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
federicoballarini added a commit to NethServer/nethserver-hotsync that referenced this issue Nov 26, 2020
- HotSync: cron sync and avoid execution on slave host - Bug NethServer/dev#6328
- HotSync: permissions are not fixed after master sync - Bug NethServer/dev#6335
@nethbot
Copy link
Member

nethbot commented Nov 26, 2020

in 7.9.2009/nethforge:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect of the software forge The package belongs to NethForge verified All test cases were verified successfully
Projects
None yet
Development

No branches or pull requests

3 participants