also sprach Frédéric Brière <[email protected]> [2009.08.18.0129 +0200]:
> > I think it would be sensible to do one (or both?) of:
> > * chown+chmod unconditionally in postinst
> > * make the ownership of /var/lock/logcheck logcheck:logcheck in the .deb
> 
> The latter is not an option, since the logcheck user does not have an
> assigned UID.  I've therefore applied the former solution.

I don't think this is the right solution. With
f573efec2645cd78dcc7ed5726106588f378acaa I removed the lock
directory from the package, but forgot the postinst stuff. This is
due to policy requiring /var/lock directories to be empty. Thus,
logcheck needs to create the lock directory at runtime (which it
does), and this is the place to fix the ownership and permissions.

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

_______________________________________________
Logcheck-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

Reply via email to