-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix behaviour of group initialisation when run-as specified by uid
The "run-as" setting can be specified via numerical user id rather than username. This is intended mainly for cases where services may be loaded before the system user ("passwd") and group database are available, eg. in early initial ramdisk. Documentation has always stated that if a numerical setting is used, the group is not looked up from the database and the process runs as the same group as dinit. The behaviour had diverged from this; restore that behaviour now. In addition, clarify in the documentation that supplementary groups are dropped in this case.
- Loading branch information
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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