A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=1023 ====================================================================== Reported By: creditlink Assigned To: ====================================================================== Project: DBMail Issue ID: 1023 Category: installation scripts Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 06-Sep-13 19:44 CEST Last Modified: 07-Sep-13 19:47 CEST ====================================================================== Summary: systemd scripts build Description: The dbmail.conf file allows (rightfully) us to set the pid directory but the systemd makefile has the pid directory hard coded. ======================================================================
---------------------------------------------------------------------- (0003569) creditlink (reporter) - 06-Sep-13 20:24 http://www.dbmail.org/mantis/view.php?id=1023#c3569 ---------------------------------------------------------------------- And when running the uninstall-local target of the systemd Makefile, it makes an attempt to rm /usr/lib/systemd/system ---------------------------------------------------------------------- (0003570) sergej (reporter) - 07-Sep-13 14:11 http://www.dbmail.org/mantis/view.php?id=1023#c3570 ---------------------------------------------------------------------- You can change pidfile directory using make install PID_DIR=/var/run/dbmail ---------------------------------------------------------------------- (0003571) paul (administrator) - 07-Sep-13 14:29 http://www.dbmail.org/mantis/view.php?id=1023#c3571 ---------------------------------------------------------------------- since systemd files have their own configuration, they cannot be expected to check dbmail.conf, but: the systemd code should follow the autoconf style used in the rest of the code, so defaults generated by configure, and explicit directory parameters passed to configure must be respected: so PID files go into the directory specified by --localstatedir which means, after taking a quick look - not tested - that references to PID_DIR in systemd/Makefile.am should be replaced by localstatedir, just like already done for sbindir ---------------------------------------------------------------------- (0003572) sergej (reporter) - 07-Sep-13 15:01 http://www.dbmail.org/mantis/view.php?id=1023#c3572 ---------------------------------------------------------------------- localstatedir will work until distributions support symlink /var/run -> /run. ---------------------------------------------------------------------- (0003573) paul (administrator) - 07-Sep-13 19:47 http://www.dbmail.org/mantis/view.php?id=1023#c3573 ---------------------------------------------------------------------- I'm sorry, but I don't understand. What do you mean? Why would a symlink be required for localstatedir? Issue History Date Modified Username Field Change ====================================================================== 06-Sep-13 19:44 creditlink New Issue 06-Sep-13 20:24 creditlink Note Added: 0003569 07-Sep-13 14:11 sergej Note Added: 0003570 07-Sep-13 14:29 paul Note Added: 0003571 07-Sep-13 15:01 sergej Note Added: 0003572 07-Sep-13 19:47 paul Note Added: 0003573 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev