Opened 4 years ago
Closed 4 years ago
#1729 closed defect (fixed)
blfs_root needs to be owned by lfs, yet lfs may not exist
Reported by: | Pierre Labastie | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 3.0 |
Component: | jhalfs | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
I'm not sure now why I've decided that blfs_root needs to be owned by user lfs. But when changing owner in func_install_blfs, it is possible that user lfs does not exist, which of course leads to an error.
Note:
See TracTickets
for help on using tickets.
Actually, the problem is $BUILD_DIR/var/lib, which is created as root (if needed for the tracking file), then needs to be owned by $LUSER so that glibc can install /var/lib/nss_db. The chown should therefore be moved from func_install_blfs to some place after lfs user is created...