Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize all the name services we need
- A long time ago in a far away commit, "somebody" had this less than brilliant idea that calling gethostbyname() loads all the required name service libraries (commit 39b75d2). This is of course only true if hosts db happens to use the same database as passwd and group... which often is the case, but by no means guaranteed or always the case. - Add an explicit initializer for rpmug to force loading the name service libraries early in initialization so we dont need to worry about going chroot later on. Of course, the "host" name service configuration might not actually make sense for the chroot, but this commit doesn't make that any worse than it already was.
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 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
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