[Touch-packages] [Bug 1828883] Re: systemd sysv-compatibility eats exit codes

2019-05-15 Thread Benjamin Reed
I have filed an issue with upstream Systemd: https://github.com/systemd/systemd/issues/12580 ** Bug watch added: github.com/systemd/systemd/issues #12580 https://github.com/systemd/systemd/issues/12580 -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1828883] Re: systemd sysv-compatibility eats exit codes

2019-05-15 Thread Benjamin Reed
I am the maintainer of the OpenNMS scripts (and debian/ubuntu packages). We return 6 ("not configured") if there are `dpkg-dist` files that have not been merged before startup, or if the database has not been properly initialized. This can happen *after* upgrade of a normal working system, so

[Touch-packages] [Bug 1828883] [NEW] systemd sysv-compatibility eats exit codes

2019-05-13 Thread Benjamin Reed
Public bug reported: Systemd properly honors an exit code of 6 when creating a native service, like so: ---8<--- ranger@carolina:/lib/systemd/system$ cat exitcode.service [Unit] Description=Test Exit Code (Systemd) [Service] Type=oneshot ExecStart=/bin/bash -c 'exit 6' [Install]