Package: aide
Version: 0.17.3-4+b2
Followup-For: Bug #993876

  I also observe the problem on a stable (bullseye) machine.
Aide cannot be used at all (is the 'important' severity enough?)

Here is the backtrace I got (after installing aide-dbgsym):
# gdb --args /usr/bin/aide -c /etc/aide/aide.conf --init
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/aide...
Reading symbols from 
/usr/lib/debug/.build-id/ea/8fe32c919bb19a555ef52a2da196698550752c.debug...
(gdb) r
Starting program: /usr/bin/aide -c /etc/aide/aide.conf --init
[Detaching after fork from child process 25736]
[Detaching after fork from child process 25769]
[Detaching after fork from child process 25796]
[Detaching after fork from child process 25798]
[Detaching after fork from child process 25800]
[Detaching after fork from child process 25803]
[Detaching after fork from child process 25804]
[Detaching after fork from child process 25805]
[Detaching after fork from child process 25806]
[Detaching after fork from child process 25807]
[Detaching after fork from child process 25808]
[Detaching after fork from child process 29842]
[Detaching after fork from child process 29843]
[Detaching after fork from child process 29844]
[Detaching after fork from child process 29845]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7a77350 in _nss_systemd_is_blocked () from 
/usr/lib/x86_64-linux-gnu/libnss_systemd.so.2
(gdb) bt
#0  0x00007ffff7a77350 in _nss_systemd_is_blocked () from 
/usr/lib/x86_64-linux-gnu/libnss_systemd.so.2
#1  0x00007ffff7a78507 in _nss_systemd_getpwuid_r () from 
/usr/lib/x86_64-linux-gnu/libnss_systemd.so.2
#2  0x00000000004f28a3 in getpwuid_r ()
#3  0x00000000004f2253 in getpwuid ()
#4  0x0000000000479aed in __acl_to_any_text ()
#5  0x0000000000415361 in acl2line (line=line@entry=0x1c52b20) at 
../src/do_md.c:465
#6  0x0000000000416ff6 in get_file_attrs (filename=filename@entry=0x1c52e20 
"/media/bernard", attr=273806774206, fs=fs@entry=0x7fffffffe320, 
dry_run=dry_run@entry=false)
    at ../src/gen_list.c:608
#7  0x00000000004113ed in db_readline_disk (dry_run=dry_run@entry=false) at 
../src/db_disk.c:239
#8  0x00000000004172b5 in populate_tree (tree=0x6018e0, 
dry_run=dry_run@entry=false) at ../src/gen_list.c:694
#9  0x000000000040282f in main (argc=4, argv=0x7fffffffe5f8) at 
../src/aide.c:663


  Regards
    Vincent



-- System Information:
Debian Release: 11.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'oldstable-updates'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-0.bpo.2-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

aide depends on no packages.

Versions of packages aide recommends:
ii  aide-common  0.17.3-4

Versions of packages aide suggests:
pn  figlet  <none>

-- no debconf information

Reply via email to