On Tue, Mar 08, 2005 at 05:10:16PM +0000, Paul Howarth wrote: > Axel Thimm wrote: > >On Sun, Mar 06, 2005 at 03:06:26PM +0100, Alexander Dalloz wrote: > > > >>Am So, den 06.03.2005 schrieb Dark Silver um 12:53: > >> > >> > >>>when I install some rpm pachage, the terminal shows > >>>warning: user machbuild does not exist - using root > >>>warning: group machbuild does not exist - using root > >>>warning: user machbuild does not exist - using root > >>>warning: group machbuild does not exist - using root > >>>anyone can tell me how to get the user machbuild work? > >> > >>You are not installing RPMs but SRC.RPMs - means sources not binaries. > >>The one who packaged the SRC.RPM/SRPM did that as user machbuild. As > >>this user does not exists on your system you get this warning messages. > >>The SRC.RPM is deflated though. You could use the source RPM with any > >>other user without a problem. > >>I just suspect that you don't want to build your own RPM but to install > >>a binary RPM. So get the right package. > > > > > >Don't you also get this error if the packager forgot to use %(def)attr > >in the %files section? In this case, please report the bug to the > >packager, be it within RH or an external repo. > > > >(FWIW src.rpm should not have any other owner than root either) > > How do you get the source filenames owned by root in the SRPM if you > don't build as root? You either do build the src.rpm as root (there is no security risk involved), or you use fakeroot. Wrt machbuilder: since mach is running selected parts anyway as suid root, it could add this to its root tasks, too. -- Axel.Thimm at ATrpms.net
Attachment:
pgpETcsFsIOf4.pgp
Description: PGP signature