Re: [ALFS Trac] #1739: Reorder or remove deleting the lfs user
| 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 Douglas R. Reno):
Replying to [comment:3 Pierre Labastie]:
> I've come to this:
> - If a user with name ''lfs'' exists on the system:
> - rename that user to ''lfsxxx'', and move its home to
'''/home/lfs.XXX'''. This means that if a user with name ''lfsxxx'' is
already on the system, we must delete it, possibly after asking (but I do
not like that, because it means jhalfs cannot be run unattended).
> - create a new ''lfs'' user with book instructions
> - leave everything as is, but warn at the end of the jhalfs run that
there is a new user and the old one has changed name
>
> - if there is no user with name ''lfs'':
> - create it with book instructions
> - leave it as is, but warn at the end of the jhalfs run that there is
a new user
>
> Please comment...
This approach sounds really good to me. I think we probably shouldn't ask
since most users shouldn't have anything in /home/lfs other than the files
we create, and we want jhalfs to be completely automated. A lot of us
editors that use jhalfs for testing LFS have a 'lfs' user kept around, so
this would probably be the best way for us editors as well. I think a
notification at the end would be helpful as well
This also fixes the issue that I run into when building a new system where
I don't realize that the lfs user hasn't been created yet, and jhalfs
fails because of it
--
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1739#comment:4>
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