Chris,
In order to help, my target is one cubieboard-3 (armhf) with following
configuration...
ansible@srv-cubietruck-4:/tmp$ uname -a
Linux srv-cubietruck-4 4.16.7 #1 SMP Thu May 3 12:48:47 CEST 2018 armv7l
GNU/Linux
ansible@srv-cubietruck-4:/tmp$ cat /etc/debian_version
9.4
ansible@srv-cubietruck-4:/tmp$ dpkg -l |grep -v ii
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Architecture Description
+++-===============================-==============================-============-===============================================================================
ansible@srv-cubietruck-4:/tmp$ cat /etc/apt/sources.list.d/* |grep -v "#"
deb http://apt.armbian.com stretch main utils stretch-desktop
deb http://apt.armwizard.org/armwizard stretch main contrib non-free
tools bsp
deb http://ftp.debian.org/debian/ jessie main contrib non-free
deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://ftp.fr.debian.org/debian/ stretch-backports main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://ftp.fr.debian.org/debian/ stretch-updates main contrib non-free
ansible@srv-cubietruck-4:/tmp$ ls -altr /etc/apt/preferences.d/
total 24
drwxr-xr-x 6 root root 4096 May 11 20:35 ..
-rw-r--r-- 1 root root 1765 May 11 20:35 preferences_debian_stretch.pref
-rw-r--r-- 1 root root 1327 May 11 20:35 preferences_armbian_stretch.pref
-rw-r--r-- 1 root root 1332 May 11 20:35 preferences_armwizard_stretch.pref
-rw-r--r-- 1 root root 1009 May 11 20:41 debian_preferences_no_systemd.pref
drwxr-xr-x 2 root root 4096 May 11 20:41 .
ansible@srv-cubietruck-4:/tmp$ cat /etc/apt/preferences.d/* |grep -v "#"
Package: *systemd*
Pin: release *
Pin-Priority: -1
Package: *
Pin: origin "apt.armbian.com"
Pin-Priority: 500
Package: *
Pin: origin "apt.armwizard.org"
Pin-Priority: 920
Package: *
Pin: release a=stretch-update
Pin-Priority: 900
Package: *
Pin: release a=stretch
Pin-Priority: 800
Package: *
Pin: release a=stretch-backports
Pin-Priority: 700
ansible@srv-cubietruck-4:/tmp$ dpkg -l |grep ulogd
ansible@srv-cubietruck-4:/tmp$ ls -altr /etc/ulog*
ls: cannot access '/etc/ulog*': No such file or directory
ansible@srv-cubietruck-4:/tmp$ sudo apt install ulogd2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libnetfilter-acct1 libnetfilter-log1
Suggested packages:
ulogd2-dbi ulogd2-json ulogd2-mysql ulogd2-pcap ulogd2-pgsql
ulogd2-sqlite3
The following NEW packages will be installed:
libnetfilter-acct1 libnetfilter-log1 ulogd2
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 118 kB of archives.
After this operation, 468 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.debian.org/debian jessie/main armhf libnetfilter-log1
armhf 1.0.1-1.1 [8240 B]
Get:2 http://ftp.debian.org/debian jessie/main armhf libnetfilter-acct1
armhf 1.0.2-1.1 [6106 B]
Get:3 http://ftp.debian.org/debian stretch/main armhf ulogd2 armhf
2.0.5-5 [104 kB]
Fetched 118 kB in 0s (272 kB/s)
Selecting previously unselected package libnetfilter-log1:armhf.
(Reading database ... 23936 files and directories currently installed.)
Preparing to unpack .../libnetfilter-log1_1.0.1-1.1_armhf.deb ...
Unpacking libnetfilter-log1:armhf (1.0.1-1.1) ...
Selecting previously unselected package libnetfilter-acct1:armhf.
Preparing to unpack .../libnetfilter-acct1_1.0.2-1.1_armhf.deb ...
Unpacking libnetfilter-acct1:armhf (1.0.2-1.1) ...
Selecting previously unselected package ulogd2.
Preparing to unpack .../ulogd2_2.0.5-5_armhf.deb ...
Unpacking ulogd2 (2.0.5-5) ...
Setting up libnetfilter-log1:armhf (1.0.1-1.1) ...
Setting up libnetfilter-acct1:armhf (1.0.2-1.1) ...
Setting up ulogd2 (2.0.5-5) ...
adduser: Warning: The home directory `/var/log/ulog' does not belong to
the user you are currently creating.
[ ok ] Starting netfilter userspace log daemon: ulogd.
And all is ok,
It seems like it was probably due to a previous test on an old system
based on a non-debian target.
My apologies for the inconvenience
Thanks in advance to close this bug
Le 14/05/2018 à 13:50, Chris Boot a écrit :
Control: severity -1 normal
Control: tags -1 unreproducible moreinfo
On 05/05/18 15:25, Jean-Marc LACROIX wrote:
Dear maintainers,
There is a stupid bug in ulogd2 configuration file based on X86
architecture plateform, so that ulogd2 package is unuseable.
When running ulogd2 daemon on armhf, of course all packages
and dependancies are correct , because all files are correctly
installed in /usr/lib/arm-linux-gnueabihf/, but it is not possible to
start daemon
dpkg -L ulogd2 |grep arm
....
/usr/lib/arm-linux-gnueabihf/ulogd/ulogd_inpflow_NFCT.so
...
But in the configuration file /etc/ulogd.conf, hardware architecture
is still based on X86 platform , for example ....
plugin="/usr/lib/x86_64-linux-gnu/ulogd/ulogd_filter_PRINTPKT.so"
Hi Jean-Marc,
I'm sorry but I can't reproduce this. Are you sure you don't have a
ulogd.conf file from another source? Are you using the Debian packages
or is it possibly from Raspbian?
$ dpkg-deb -x .../debian/pool/main/u/ulogd2/ulogd2_2.0.5-5_armhf.deb .
$ grep ^plugin= etc/ulogd.conf | head -n3
plugin="/usr/lib/arm-linux-gnueabihf/ulogd/ulogd_inppkt_NFLOG.so"
plugin="/usr/lib/arm-linux-gnueabihf/ulogd/ulogd_inpflow_NFCT.so"
plugin="/usr/lib/arm-linux-gnueabihf/ulogd/ulogd_filter_IFINDEX.so"
Thanks,
Chris