Re: dpkg-statoverride question
On Tue, Oct 01, 2002 at 11:10:05AM +1000, Brian May wrote:
> On Mon, Sep 30, 2002 at 05:43:09PM +0100, Julian Gilbey wrote:
> > This is weird.
> Here is the output:
> scrooge:/tmp/bam/012_sharedlibs/heimdal-0.5# dpkg-statoverride --list /var/run/amavis
> amavis root 755 /var/run/amavis
> scrooge:/tmp/bam/012_sharedlibs/heimdal-0.5# se_dpkg -i
> Authenticating bam.
> (Reading database ... 105741 files and directories currently installed.)
> Preparing to replace amavis-postfix 20020517-21 (using
> .../amavis-postfix_20020517-21_i386.deb) ...
> Stopping amavisd: amavisd.
> Unpacking replacement amavis-postfix ...
> Setting up amavis-postfix (20020517-21) ...
> adduser: Warning: The home dir you specified already exists.
> User amavis does already exist. Exiting...
> Output of initial dpkg-statoverride --list /var/lib/amavis:
> Output of final dpkg-statoverride --list /var/lib/amavis:
> amavis root 755 /var/lib/amavis
OK, plain weird.
Things you can try:
(1) After the dpkg-statoverride --list command in the postinst, try
doing a "cat /var/lib/dpkg/statoverride". And on second thoughts,
you could add this command to the preinst as well to see what is
(2) Without doing a dpkg, set up the SE Linux permissions exactly as
se_dpkg does, then do a dpkg-statoverride --list to see what
Something clearly is amiss somewhere.
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
Visit http://www.thehungersite.com/ to help feed the hungry