Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#297 closed defect (fixed)

Install all software as an unprivileged user

Reported by: dsavard@… Owned by: gerard@…
Priority: normal Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

As per instructions in the CVS book. Everything in section 5 should be done by a unprivileged user, naming lfs.

I think it was a good idea, however, I encountered the following error while trying to build and install make-3.79.1. The compile completes as well as the install with the following error at install time:

(...) /bin/sh ./mkinstalldirs /lfs/usr/bin

/usr/bin/install -c make /lfs/usr/bin/make

chgrp: you are not a member of group `kmem': Operation not permitted /lfs/usr/bin/make needs to be owned by group kmem and setgid; otherwise the `-l' option will probably not work. You may need special privileges to complete the installation of /lfs/usr/bin/make. /bin/sh ./mkinstalldirs /lfs/usr/info (...)

This could be a limitation for those with sophisticated scripts dispatching the make on many hosts and checking for ressources usage before running the job. Well, clearly this is not my case, however, it would be better to handle this.

Change History (4)

comment:1 by gerard@…, 22 years ago

Owner: changed from lfs-book@… to gerard@…
Status: newassigned

setgid kmem for 'make' isn't needed on Linux. I'll write a message about this in the lfs-book that this error can be ignored.

comment:2 by gerard@…, 22 years ago

Resolution: fixed
Status: assignedclosed

comment:3 by markh@…, 22 years ago

Keywords: VERIFIED added

confirmed that error text has been added to chapter05/make-inst.xml

comment:4 by markh@…, 22 years ago

Keywords: VERIFIED removed
Note: See TracTickets for help on using tickets.