[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-19 Thread Launchpad Bug Tracker
This bug was fixed in the package quassel - 0.12~rc1-0ubuntu1 --- quassel (0.12~rc1-0ubuntu1) vivid; urgency=medium * New upstream release. (LP: #1431008) [ Michael Marley ] * Add Wants and After on postgresql for systemd (LP: #1432161) * Add Restart=on-failure for systemd

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-18 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/quassel -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1432161 Title: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-18 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-dev/quassel/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1432161 Title: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fai

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-17 Thread Michael Marley
Oops, I hadn't read that either. Sorry for the trouble. -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to quassel in Ubuntu. https://bugs.launchpad.net/bugs/1432161 Title: quasselcore.service systemd unit does not depend on PostgreSQL, ca

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-17 Thread Felix Geyer
I'm not sure where you read this. Multiple ExecStart are allowed (but of course not what you actually want). https://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F says you can add an empty ExecStart= line and then the ExecStart=... you want. The man p

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-17 Thread Michael Marley
After further reading and experimentation, it seems that the ExecStart= directive cannot be overridden because the contents of the override file are appended to the contents of the main unit file. This results in two ExecStart= directives being present, which is illegal and prevents systemd from u

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-17 Thread Michael Marley
Ah, OK, I hadn't read that. Makes sense, here is another debdiff that only has the PostgreSQL and Restart=on-failure changes. Quassel doesn't support MySQL, so I don't think adding mysql.service is necessary. ** Patch added: "init.debdiff" https://bugs.launchpad.net/ubuntu/+source/quassel/+b

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-17 Thread Felix Geyer
We should probably also add mysql.service next to postgres. > Second, neither the systemd unit file nor the upstart script had support for > the > DAEMON_OPTS variable from /etc/default/quasselcore. This made it difficult for > administrators to add extra arguments, which is especially true on sy

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-16 Thread Ubuntu Foundations Team Bug Bot
The attachment "init.debdiff" seems to be a debdiff. The ubuntu- sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you a

[Bug 1432161] Re: quasselcore.service systemd unit does not depend on PostgreSQL, causing the core to fail to start if it is configured to use PostgreSQL

2015-03-16 Thread Michael Marley
Here is a new patch that fixes a couple more issues I found. First, the systemd unit file did not have Restart=on-failure, which differed from the behavior of the upstart script. Second, neither the systemd unit file nor the upstart script had support for the DAEMON_OPTS variable from /etc/defaul