[arch-general] [PATCH] devtools: give a writable home to nobody for use in makechrootpkg

Gaetan Bisson bisson at archlinux.org
Mon Aug 23 14:53:07 EDT 2010


[2010-08-23 19:15:13 +0100] Magnus Therning:
> Is this *really* bad, in fact so bad that upstream should be told about it,
> since it doesn't only affect packagers?  (AFAICS the build system
> provided by
> upstream only works for individual users installing a personal build.)

It's not that bad: at build time, after the main binary has been built,
it is run to generate a configuration file - and this binary happens to
always create ~/.program.d/ when it doesn't exist. Now, during the build
process, this directory is never actually used and remains empty until
the end of it (so you can build as nobody and then install system-wide).

I really can't blame them for assuming $HOME is writable (both normally,
and at build time, since it simplifies their build process); I see this
as a rather unfortunate interaction with makechrootpkg.

-- 
Gaetan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100823/6feda213/attachment.bin>


More information about the arch-general mailing list