debian: Fix fastrpc group creation and udev rule triggering - #92
Open
Michaël Blanc (mika-blanc) wants to merge 1 commit into
Open
debian: Fix fastrpc group creation and udev rule triggering#92Michaël Blanc (mika-blanc) wants to merge 1 commit into
Michaël Blanc (mika-blanc) wants to merge 1 commit into
Conversation
Installing sysusers file directly doesn't trigger dh_installsysusers and as such, never calls systemd-sysusers in the postinst script, even after a reboot. Then, if the fastrpc group doesn't exist, the rules that set device node group owner to fastrpc are ignored. Also, most users expect their fastrpc use cases to work after installation of fastrpc-support without retriggered udev rules, so we trigger the fastrpc udev rules in the postinst script (dh_installudev doesn't do it).
|
This PR is to fix same issue: #86 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Installing sysusers file directly doesn't trigger dh_installsysusers and as such, never calls systemd-sysusers in the postinst script, even after a reboot.
Then, if the fastrpc group doesn't exist, the rules that set device node group owner to fastrpc are ignored.
Also, most users expect their fastrpc use cases to work after installation of fastrpc-support without retriggered udev rules, so we trigger fastrpc udev rules in the postinst script (dh_installudev doesn't do it).
Feel free to merge to debian/latest too.