Bug#89473: PROPOSAL] dpkg-statoverride and Conflicts: suidmanager (<< 0.50)
On Fri, Mar 16, 2001 at 09:43:01PM +1100, Herbert Xu wrote:
> Julian Gilbey <J.D.Gilbey@qmw.ac.uk> wrote:
>
> > Yes, when I started this thread, I hadn't thought of this case. But
> > I've now become convinced of the need to have a distinction between
> > maintainer statoverrides, for cases like this, and local
> > statoverrides, which take precedence.
>
> Not necessarily, this is what I did in telnetd:
>
> if [ -z "$(dpkg-statoverride --list /usr/lib/telnetlogin)" ]; then
> chown root.telnetd /usr/lib/telnetlogin
> chmod 4754 /usr/lib/telnetlogin
> fi
True. Nicer than my idea. But then we conclude that
dpkg-statoverride should *not* be used to add or remove overrides in
maintainer scripts; this technique should be used instead for dynamic
ids, as it is guaranteed not to overwrite local changes.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: