Comment 11 for bug 290661

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 290661] Re: uml-utilities don't install from apt

On Sat, 2008-11-22 at 04:06 +0000, Manny Vindiola wrote:
> Hi,
>
> I am not sure why debian/postinst contains these lines which are causing
> the error:
>
> if ! dpkg-statoverride --list /var/run/uml-utilities >/dev/null; then
> chown uml-net:uml-net /var/run/uml-utilities
> fi
>
> I removed these lines and rebuilt the package locally. When I attempted
> to replicate the error as before there was no error this time. The
> packge was set up correctly and the directory was recreated by the init
> script with the correct owner:group
>
> drwxr-xr-x 2 uml-net uml-net 80 2008-11-21 22:59 uml-utilities
>
> I think a better solution would be to remove these lines from postinit
> since they do not appear to be necessary

I would agree.

Does the init script do the chown? I assume it does not have the
dpkg-statoverride check?

Thanks,

James