On ചൊവ്വ 02 മെയ് 2017 11:56 രാവിലെ, Niels Thykier wrote: > > I have not read the full bug log of #856720 (TL;DR + ENOTIME), so I may > have made assumptions that are not fully applicable to this case. > > In general the situation you describe sounds indeed like an RC bug.
Thanks for the quick response. > > Rationale > ========= > > As systemd is not essential, its functionality must not be assumed in > any way. In general packages must be installable and functional under > e.g. sysvinit, which is a supported alternative init system. > (Exceptions apply for init specific tooling, where it would not make > sense to support alternative init systems). Related: > https://lists.debian.org/debian-devel-announce/2014/02/msg00005.html > https://lists.debian.org/debian-devel-announce/2014/08/msg00001.html > > Indeed, most packages should also be installable and functional in a > chroot or a container. Partly so the service can be used during a build > (e.g. using a postgres/mariadb for a test during a build[1]) and partly > so administrators can use it as a containment strategy (e.g. an > additional layer of defence). > > Furthermore, /run is a tmpdir wiped at boot and the package must ensure > that any files in /run are created as they are needed (and per above, > you cannot assume systemd will do this for you). > This is required by FHS 2.3's definition of /var/run (plus Debian > Policy requirement for FHS 2.3 + its remap of /var/run to /run). > - NB: Simply creating the /run/<pkg> directory in postinst is *not* > sufficient as the directory will be wiped during boot. diaspora-common installs debian/tmpfiles.d/diaspora.conf in /usr/lib/tmpfiles.d d /run/diaspora 2750 diaspora www-data - d /run/diaspora/pids 2750 diaspora nogroup - L /run/diaspora/cache - - - - /var/cache/diaspora so its not assuming systemd will create this, but instructing systemd to create it. I get this needs to be done in init script as well in addition to postinst and tmpfiles.d. > > If you believe that the rationale does not apply to this situation, > please reopen the bug.
signature.asc
Description: OpenPGP digital signature

