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: alfs-log@…
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.

Change History (3)

comment:1 by Pierre Labastie, 4 years ago

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...

comment:2 by Pierre Labastie, 4 years ago

This is not too hard to do that in LFS/master.sh

comment:3 by Pierre Labastie, 4 years ago

Resolution: fixed
Status: newclosed

Fixed at r4205

Note: See TracTickets for help on using tickets.