[gobolinux-devel] Fwd: [gobolinux-users] error in installing of thttpd
Jonas Karlsson
jonka750 at student.liu.se
Wed Jan 30 22:22:58 NZDT 2008
2008/1/30, Lucas C. Villa Real <lucasvr at gobolinux.org>:
> On Jan 14, 2008 3:36 PM, Isaac Dupree <isaacdupree at charter.net> wrote:
> > Jonas Karlsson wrote:
> > > On Wed, 09 Jan 2008 01:19:34 +0100, Hisham <hisham.hm at gmail.com> wrote:
> > >
> > >> The error in the forwarded message below got me thinking about
> > >> Resources/Requirements. Lucas's patch currently adds users/groups as
> > >> the very last thing in the compile/install process. I don't know if
> > >> the specific error below qualifies (I think it doesn't), but isn't it
> > >> possible that other apps may need users/groups created _before_ the
> > >> compilation and/or post-install runs?
> > >>
> > > yes, I think this is valid. Compile should run it before compilation,
> > > maybe just after CheckDependencies (the users are after all
> > > "dependencies"). InstallPackage should run it before PostInstall, as
> > > users/groups might be needed by then.
> >
> > in the context of ChrootCompile, or pre-built packages installed by
> > InstallPackage, the user/groups might get a different number on the
> > system than they were compiled with. Is this a problem? I imagine it
> > affects the .tar files at least (or do/can they store users/groups by
> > name not number somehow?), if not other parts of the compiled program
> > (or would that be considered a bug, one that other distros might have
> > trouble with too?)
>
> We'll have to settle on a numbering for these required user/group ids
> (which are not that much). Given that Resources/Requirements provide
> include that id that would not be a problem.
>
We don't need the numbers. Just keep a list in Requirements over what
files were owned by which user and run 'chown' after installation.
--
/Jonas
More information about the gobolinux-devel
mailing list