Your message dated Thu, 17 Mar 2016 22:45:20 +0000
with message-id <[email protected]>
and subject line Re: Bug#814463: irker: does not start when /dev/log and 
/var/run/syslog exist
has caused the Debian Bug report #814463,
regarding irker: does not start when /dev/log and /var/run/syslog exist
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
814463: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814463
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- /home/rohieb/irkerd.orig	2016-02-11 21:35:18.908000000 +0100
+++ /usr/bin/irkerd	2016-02-11 21:35:52.896000000 +0100
@@ -988,7 +988,7 @@
         # The Linux, Mac, and FreeBSD values of the logging device.
         logdev = [x for x in ('/dev/log', '/var/run/syslog', '/var/run/log')
                   if os.path.exists(x)]
-        if len(logdev) != 1:
+        if len(logdev) < 1:
             sys.stderr.write("can't initialize log device, bailing out!\n")
             raise SystemExit(1)
         # There's a case for falling back to address = ('localhost', 514)

--- End Message ---
--- Begin Message ---
Version: 2.13+dfsg-1

Closing the bug, given the following (previous message):

On Thu, Feb 11, 2016 at 11:25:34PM +0200, Neil Muller wrote:
> fixed irker/2.13+dfsg-1
> thank you
> 
> 
> This bug was fixed upstream before the 2.13 release - See
> https://gitlab.com/esr/irker/commit/5fe9b5a2c54bfd13cade0fd2d412768a0fe5e3bf
> 
> This bug can also be worked around by specifying a logfile for irkerd,
> for what it's worth.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to