[Bug 297] New: Install all software as an unprivileged user

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Wed Mar 6 11:27:06 PST 2002


http://bugs.linuxfromscratch.org/show_bug.cgi?id=297

           Summary: Install all software as an unprivileged user
           Product: Linux From Scratch
           Version: CVS
          Platform: PC
               URL:
        OS/Version: Linux
            Status: UNCONFIRMED
 Status Whiteboard:
          Keywords:
        Resolution:
          Severity: normal
          Priority: P3
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: dsavard at cids.ca


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.
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list