patched nALFS to use /etc/passwd from $LFS
Categories: LFS
The earlier patch for uid:gid failed because You can’t use it to set additional groups which is required because package users use sticky bit of install dirs owned by install group.
So once more I found myself looking at nALFS code. This time I was looking at change group function in stage.c and discovered that it had been modified earlier for use in chroot environment. I knew it when I saw because I was hoping to use the fget.... functions too. Hmm, looks like the team has forgot to change the change_to_user function. I did it and here is the patch. It’s working just fine.
nALFS-1.2.5-change_to_user.patch
About this entry
You’re currently reading “patched nALFS to use /etc/passwd from $LFS,” an entry on Achelon
- Published:
- Sunday / 20051120154500
- Category:
- lfs
- Tags:
No comments yet
Jump to comment form | comment rss [?] | trackback uri [?]