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:          |
--------------------+------------------------------
Comment (by Pierre Labastie):

 Trying to come back to at least maintain jhalfs... Hope I'll get enough
 time.
 I'll first just reorder lfs removal to after the "mk_SUDO" step. And
 revert the commits that removed the ''--from-lfs'' switches. Since
 everything after the "mk_SUDO" step is in chroot, and user lfs cannot be
 used in chroot, this should at least fix the problem of the unnamed uid in
 a better way.
 Now, for the bigger picture, I am not sure what to do:
 - if the lfs user does not exist, this is simple: create it and leave it,
 as the book does, but I do not like the idea of having an automated tool
 create a user and leave it around without the user knowing it...
 - if the user lfs already exists: save its home and remove it, before
 recreating it when running the book. But then, which user should be left
 at the end? the initial or the created one?
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1739#comment:2>
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.