Public bug reported:

The systemd service file /lib/systemd/system/conmux-daemon@service does
not work when conmux has a configuration file with a hyphen
(e.g. /etc/conmux/4460panda-es.cf)

This is due to escaping due caused by using %I.  For example:

root@vence:/etc/conmux# systemctl start [email protected]
root@vence:/etc/conmux# systemctl status [email protected][email protected] - CONMUX daemon for 
/etc/conmux/4460panda/es.cf
   Loaded: loaded (/lib/systemd/system/[email protected]; static; vendor 
preset: enabled)
   Active: inactive (dead) since Thu 2016-07-14 13:48:33 PDT; 38s ago
Condition: start condition failed at Thu 2016-07-14 13:49:05 PDT; 6s ago
           ConditionFileNotEmpty=/etc/conmux/4460panda/es.cf was not met
 Main PID: 2111 (code=killed, signal=TERM)

Here you see that the %I causes the '-' to be interpreted as an escaped '/' and 
so
it gets converted, and thus causes the startup to fail since
4460panda/es.cf doesn't in fact exist.

Since the conmux config files are not meant to be absolute paths, the %I  should
be converted to a %i, which will allow conmux configs with '-' in the filename 
to
be handled properly.


NOTE: Initially reported to Debian, but the systemd service scripts seem to 
only be in ubuntu package: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831358

** Affects: conmux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603500

Title:
  conmux-daemon@service prevents config files with hyphens

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/conmux/+bug/1603500/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to