[Python-apps-team] Bug#814463: irker: does not start when /dev/log and /var/run/syslog exist

rohieb at rohieb.name rohieb at rohieb.name
Thu Feb 11 20:50:27 UTC 2016


Package: irker
Version: 2.12+dfsg-1
Severity: normal

Dear Maintainer,

lines 989-993 of `/usr/bin/irkerd' look like this:

        logdev = [x for x in ('/dev/log', '/var/run/syslog', '/var/run/log')
                  if os.path.exists(x)]
        if len(logdev) != 1:
            sys.stderr.write("can't initialize log device, bailing out!\n")
            raise SystemExit(1)

However, on my host running jessie and systemd, both /dev/log and /var/run/log
exist:

  $ ls -ld '/dev/log' '/var/run/syslog' '/var/run/log'
  ls: cannot access /var/run/syslog: No such file or directory
  lrwxrwxrwx 1 root root 28 Jun 22  2015 /dev/log -> /run/systemd/journal/dev-log
  drwxr-xr-x 3 root root 60 Jun 22  2015 /var/run/log

As a result, irker exits with the respective failure message right after it has
been started.

A trivial patch, which forks for me, is attached.

Cheers, 
 - Roland


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages irker depends on:
ii  adduser              3.113+nmu3
ii  init-system-helpers  1.22
pn  python:any           <none>

irker recommends no packages.

irker suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: irker-fix-multiple-log-devices.patch
Type: text/x-diff
Size: 573 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20160211/6caa1a04/attachment.patch>


More information about the Python-apps-team mailing list