Re: Creation policy in /var/lib/.
On 12/22/2010 01:20 AM, Mats Erik Andersson wrote:
> Dear all,
> a new piece of software, for which I am just beginning the
> work on an ITP, uses a subdirectory below "/var/lib/" where
> it keeps simple records and time stamps.
> However, the daemon itself originally uses the capacity to
> create that subdirectory in case it should be missing.
> I am not really comfortable with this behaviour, and I myself
> would like the daemon to fail if the subdirectory is missing.
> Is there something in the Debian Policy that supports my view?
> I am not able to find any relevant part.
> Best regards,
> Mats Erik Andersson, DM
I'm not sure about this, but I think it would be reasonable
to just create the /var/lib/$PACKAGE folder when the package
is installed, so that you avoid the issue.