Unable to start using service command

Bug #1250520 reported by Guillaume FRANCOIS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ulogd2 (Ubuntu)
Fix Released
Undecided
Chris Boot

Bug Description

When issuing a command "service ulogd2 restart", there is the following issue
------------------------------------
 * Restarting netfilter userspace log daemon ulogd
Tue Nov 12 16:19:03 2013 <5> ulogd.c:1078 removing stale pidfile for pid -1
ulogd: libnfnetlink.c:1566: nfnl_query: Assertion `h' failed.
Aborted
------------------------------------

but when using the command "service ulogd restart", it works like a charm (see below)
------------------------------------
Restarting netfilter userspace log daemon: ulogd.
------------------------------------

Version of ulogd reports:
------------------------------------
 ulogd --version
ulogd Version 2.0.2
(C) 2000-2006 Harald Welte <email address hidden>
(C) 2008-2012 Pablo Neira Ayuso <email address hidden>
(C) 2008-2012 Eric Leblond <email address hidden>
------------------------------------

Release was updated from 13.04 using "do-release-upgrade".

There are two scripts in /etc/init.d : one for ulogd and one for ulogd2. They don't have the same content but both are using binary "/usr/sbin/ulogd".

What we expect is:
* that command "service ulogd2 restart" to be working
* migrating/upgrading from ulogd v1 to ulogd v2 using the standart ubuntu process to be working
* to not duplicate 'init.d' script and having only a 'right' working one (one to be a symlink to other could be 'ok').
* It seems that starting from 13.10 ulogd is replaced by ulogd2 (good we were waiting for years) but, please be more explicit about it and remove package ulogd (or declare it as a "mirror" of ulogd2)

------------------------------------
apt-cache policy ulogd2
ulogd2:
  Installé : 2.0.2-3
  Candidat : 2.0.2-3
 Table de version :
 *** 2.0.2-3 0
        500 http://ftp.free.fr/mirrors/ftp.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
------------------------------------

------------------------------------
lsb_release -rd
Description: Ubuntu 13.10
Release: 13.10
------------------------------------

Best Regards.

Related branches

description: updated
Chris Boot (bootc)
Changed in ulogd2 (Ubuntu):
status: New → In Progress
assignee: nobody → Chris Boot (bootc)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ulogd2 - 2.0.2-4

---------------
ulogd2 (2.0.2-4) unstable; urgency=low

  * Change priority of transitional packages to extra.
  * Change Vcs-{Browser,Git} to Alioth.
  * Update paths to docs in ulogd(8). (LP: #1232104)
  * Disable and remove old ulogd init script. (Closes: #729657, LP: #1250520)
    - Forcibly disable the init script in postinst.
    - Remove the script safely using rm_conffile.
    - Make the ulogd2 init script provide ulogd.
  * Fix assertion failure in libnfnetlink caused by running multiple instances
    of ulogd. (Closes: #729055)
    - Add nflog-close-handle-after-unbind.patch.
  * Add systemd unit and upstart job files.
  * Update Standards-Version to 3.9.5 (no changes required).

 -- Chris Boot <email address hidden> Fri, 15 Nov 2013 16:36:17 +0000

Changed in ulogd2 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.