[Pkg-utopia-maintainers] [Fwd: hal regression in svn head]

Michael Biebl biebl at debian.org
Wed Dec 12 17:52:49 UTC 2007


Loïc Minier schrieb:
> On Wed, Dec 12, 2007, Michael Biebl wrote:
>>> Your call, of course, but I have seen non-Ubuntu-related bug reports
>>> in Debian complaining about static content in /var/run/. *shrug*
>> Fair enough. But we still have the mkdir/chown in the init script, so
>> we're on the safe side.
>> The patch I posted also makes the behaviour consistent to the dbus
>> package (which also uses *.dirs+chown in postinst+fallback in init script)
> 
>  I seem to me missing the point completely, but why have *.dirs+chown in
>  postinst if the init script handles it anyway?

- /var/run/$foo is automatically cleaned upon removal
- dpkg -L lists the directory, resp. I can search for the package which
owns /var/run/$bar
- no dependency on the sysv init script:
  + In case you use another init system
  + You have disabled the sysv init script -> run dir is not
automatically created. Now if you run the daemon manually, it will fail
or possibly have unexpected behaviour

ergo: dirs+chown in postinst is imho the best option.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20071212/16972e93/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list