Re: [ALFS Trac] #1739: Reorder or remove deleting the lfs user

"ALFS Trac" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
#1739: Reorder or remove deleting the lfs user
--------------------+------------------------------
 Reporter:  xry111  |       Owner:  Pierre Labastie
     Type:  defect  |      Status:  accepted
 Priority:  normal  |   Milestone:
Component:  jhalfs  |     Version:  GIT
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+------------------------------
Changes (by Pierre Labastie):

 * owner:  alfs-log@… => Pierre Labastie
 * status:  new => accepted

Comment:

 I agree removing the lfs user is not part of the book. But creating it is!
 So a real testing of book instructions involves creating the lfs user.
 This is of course impossible if the lfs user already exists.
 This leads me to think we should always remove the lfs user **before**
 doing anything in jhalfs. This would solve the ordering problem, and allow
 testing the book instructions.
 But this has a drawback if for any reason there is a permanent lfs user on
 the host, which should never be deleted.
 Since we already save the lfs user directory when the lfs user already
 exists, we could add lfs user removal after that. But then, when
 recreating it, it may appear with a different uid, so that it wouldn't own
 the saved directory. Well, in this case, just add a chown when replacing
 the directories in their correct location.
 Will try to come up with something.
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1739#comment:1>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.