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

Re: dpkg-statoverride vs. suidmanager



Previously Joey Hess wrote:
> What if such a package is upgraded using an older version of dpkg
> though?

The preinst will bomb since dpkg-statoverride either doesn't exist
or will abort due to an illegal option. The 

> It used to contain a binary that is registered with
> suidregister. The new version of the package will contain the binary,
> but the binary will be suid. 

No, the preinst will bomb and dpkg won't even unpack the new version.

> So the only choice I can see is to require that all such packages that used 
> to use suidregister have a versioned dependancy on dpkg.

pre-dependency even.

Wichert.

-- 
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Reply to: