[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: --excludepath still tries unpacking the file with cpio...



On Fri, Oct 04, 2002 at 09:20:26AM -0400, Jeff Johnson wrote:
> > > > I've manually upgraded (using rpm -F mostly) to RH 8.0 with RPM 4.1
> > > > from that distribution. One package that failed was SysVinit, because
> > > > I'm running devfs and when it tries to unpack the file /dev/initctl
> > > > from the package, this fails.
> > > > 
> > > > I've tried using "--excludepath /dev" to avoid it trying to install
> > > > that file, but it doesn't seem to change anything. The error message
> > > > I get no matter what I do (excludepath, relocate, etc.) is:
> > > > 
> > > > "error: unpacking of archive failed on file /dev/initctl: cpio: rename failed - Operation not permitted"
> > > > 
> > > > I want it to just skip that file...
> > > 
> > > Then take /dev/initctl out of the SysVinit package.
> > > 
> > > FWIW, it's really, really stupid to package /dev/initctl, ditto /dev/log.
> > 
> > Try to use %ghost directive for packaging these sockets.
> 
> Why bother packaging items that are automagically created correctly
> on daemon startup? Fix the daemons to check permissions if you want, but
> get the funky items out of rpm packages entirely, I say.

Why? To keep working features like this:
rpmquery -fV /dev/initctl


--
ldv

Attachment: pgp00002.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []