ulogd: Unable to create netlink socket

Bug #1458582 reported by MR
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Raspbian
Confirmed
Undecided
Unassigned

Bug Description

root@raspberrypi:~# uname -r
3.18.11+

root@raspberrypi:~# sudo apt-get install ulogd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  ulogd-mysql ulogd-pgsql ulogd-pcap ulogd-sqlite3
The following NEW packages will be installed:
  ulogd
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/55.1 kB of archives.
After this operation, 181 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package ulogd.
(Reading database ... 78034 files and directories currently installed.)
Unpacking ulogd (from .../ulogd_1.24-3.3_armhf.deb) ...
Processing triggers for man-db ...
Setting up ulogd (1.24-3.3) ...
Starting netfilter userspace log daemon: Mon May 25 14:04:40 2015 <8> ulogd.c:737 unable to create ipulogd handle
ERROR: Unable to create netlink socket: Bad file descriptor
invoke-rc.d: initscript ulogd, action "start" failed.
dpkg: error processing ulogd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ulogd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Diederik (didi-debian) wrote :
Download full text (5.3 KiB)

I can confirm this issue on my Pi 1 running Raspbian wheezy:

root@rasppi-1b:/home/diederik# aptitude install ulogd
The following NEW packages will be installed:
  ulogd
0 packages upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 55,1 kB of archives. After unpacking 181 kB will be used.
Get: 1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ulogd armhf 1.24-3.3 [55,1 kB]
Fetched 55,1 kB in 0s (131 kB/s)
Preconfiguring packages ...
Selecting previously unselected package ulogd.
(Reading database ... 13640 files and directories currently installed.)
Unpacking ulogd (from .../ulogd_1.24-3.3_armhf.deb) ...
Processing triggers for man-db ...
Setting up ulogd (1.24-3.3) ...
Starting netfilter userspace log daemon: Thu Jan 14 01:07:11 2016 <8> ulogd.c:737 unable to create ipulogd handle
ERROR: Unable to create netlink socket: Bad file descriptor
invoke-rc.d: initscript ulogd, action "start" failed.
dpkg: error processing ulogd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ulogd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up ulogd (1.24-3.3) ...
Starting netfilter userspace log daemon: Thu Jan 14 01:07:16 2016 <8> ulogd.c:737 unable to create ipulogd handle
ERROR: Unable to create netlink socket: Bad file descriptor
invoke-rc.d: initscript ulogd, action "start" failed.
dpkg: error processing ulogd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ulogd

On my Pi 2 running Raspbian Jessie it succeeds though:

root@rasppi-2b:/home/diederik# aptitude install ulogd
The following NEW packages will be installed:
  libmnl0{a} libnetfilter-acct1{a} libnetfilter-conntrack3{a} libnetfilter-log1{a} libnfnetlink0{a} ulogd ulogd2{a}
0 packages upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 186 kB of archives. After unpacking 529 kB will be used.
Do you want to continue? [Y/n/?]
Get: 1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libmnl0 armhf 1.0.3-5 [10,9 kB]
Get: 2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnfnetlink0 armhf 1.0.1-3 [12,1 kB]
Get: 3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnetfilter-conntrack3 armhf 1.0.4-1 [40,0 kB]
Get: 4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnetfilter-acct1 armhf 1.0.2-1.1 [6084 B]
Get: 5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnetfilter-log1 armhf 1.0.1-1.1 [8356 B]
Get: 6 http://mirrordirector.raspbian.org/raspbian/ jessie/main ulogd2 armhf 2.0.4-2+deb8u1 [104 kB]
Get: 7 http://mirrordirector.raspbian.org/raspbian/ jessie/main ulogd armhf 2.0.4-2+deb8u1 [5102 B]
Fetched 186 kB in 1s (127 kB/s)
Selecting previously unselected package libmnl0:armhf.
(Reading database ... 58880 files and directories currently installed.)
Preparing to unpack .../libmnl0_1.0.3-5_armhf.deb ...
Unpacking libmnl0:armhf (1.0.3-5) ...
Selecting previously unselected package libnfnetlink0:armhf.
Preparing to unpack .../lib...

Read more...

Changed in raspbian:
status: New → Confirmed
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.