On Mon, Oct 29, 2007, Justin Pryzby wrote: > dpkg-statoverride /var/run/avahi-daemon >/dev/null || { > chmod 00755 "$RUNDIR" > chown avahi:avahi "$RUNDIR" > } > > Actually you might even include the directory in the package rather > than creating it at install-time. I'm not sure. dpkg has recent > changes that might determine when warnings are displayed for this in > the context of nonempty directories.
I don't think it's a good idea to ship the dir or create it when creating the user or any similar thing: the dir must be created on startup of the daemon if it doesn't exist, as /var/run might be wiped across reboots. It would be nice if you could provide a patch to either cleanup properly the users/groups/dirs or to keep them properly. Thanks! -- Loïc Minier