tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Permit existing users/groups



On Thu, Jun 13, 2013 at 09:57:02PM +0100, Jonathan Perkin wrote:
 > I should point out that half of this failure mode is my fault, our
 > patched pbulk didn't exit properly on pkg_add failure.
 > 
 > However, it's still a bug that pkg_add doesn't correctly handle
 > +INSTALL scripts failing.

Yes.

 > >  > I'd like to fix this, and to also provide a user-defined option which
 > >  > configures how pkg_install should proceed when provided a static
 > >  > uid/gid which conflicts with the existing system.
 > > 
 > > Well... since in general packages shouldn't provide static uids and
 > > gids, and when they do it's because a defective configure or build
 > > process has compiled in the numbers, it seems to me there's no reason
 > > for configurable behavior here; it should just fail.
 > > 
 > > If there are packages that do this that specifically cause problems,
 > > we can always try to fix them.
 > 
 > No, it has nothing to do with that.  pkgsrc supports [...]

Oh, ok. Never mind then... carry on :-)

 > PKG_{UID,GID}.PKGNAME

Does that work for packages that need more than one of each? (Are
there any such packages? I guess I can't think of any.)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index