Package: man-db
Version: 2.8.0-1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Since the upgrade to 2.8.0-1, man(1) is not really cooperative:

%man man

output in pager:
man: /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE: Bad system 
call (core dumped)

% man --debug man

full output in the console:

ruid=1000, euid=6
rgid=1000, egid=12
drop_effective_privs()
++priv_drop_count = 1
>From the config file /etc/manpath.config:

Mandatory mandir `/usr/man'.
Mandatory mandir `/usr/share/man'.
Mandatory mandir `/usr/local/share/man'.
Path `/bin' mapped to mandir `/usr/share/man'.
Path `/usr/bin' mapped to mandir `/usr/share/man'.
Path `/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'.
Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'.
Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'.
Path `/usr/games' mapped to mandir `/usr/share/man'.
Path `/opt/bin' mapped to mandir `/opt/man'.
Path `/opt/sbin' mapped to mandir `/opt/man'.
Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'.
Global mandir `/usr/share/man', catdir `/var/cache/man'.
Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'.
Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'.
Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'.
Global mandir `/opt/man', catdir `/var/cache/man/opt'.
Added section `1'.
Added section `n'.
Added section `l'.
Added section `8'.
Added section `3'.
Added section `2'.
Added section `3posix'.
Added section `3pm'.
Added section `3perl'.
Added section `3am'.
Added section `5'.
Added section `4'.
Added section `9'.
Added section `6'.
Added section `7'.
`/usr/man'      `'      `1'
`/usr/share/man'        `'      `1'
`/usr/local/share/man'  `'      `1'
`/bin'  `/usr/share/man'        `0'
`/usr/bin'      `/usr/share/man'        `0'
`/sbin' `/usr/share/man'        `0'
`/usr/sbin'     `/usr/share/man'        `0'
`/usr/local/bin'        `/usr/local/man'        `0'
`/usr/local/bin'        `/usr/local/share/man'  `0'
`/usr/local/sbin'       `/usr/local/man'        `0'
`/usr/local/sbin'       `/usr/local/share/man'  `0'
`/usr/X11R6/bin'        `/usr/X11R6/man'        `0'
`/usr/bin/X11'  `/usr/X11R6/man'        `0'
`/usr/games'    `/usr/share/man'        `0'
`/opt/bin'      `/opt/man'      `0'
`/opt/sbin'     `/opt/man'      `0'
`/usr/man'      `/var/cache/man/fsstnd' `-1'
`/usr/share/man'        `/var/cache/man'        `-1'
`/usr/local/man'        `/var/cache/man/oldlocal'       `-1'
`/usr/local/share/man'  `/var/cache/man/local'  `-1'
`/usr/X11R6/man'        `/var/cache/man/X11R6'  `-1'
`/opt/man'      `/var/cache/man/opt'    `-1'
`1'     `'      `-5'
`n'     `'      `-5'
`l'     `'      `-5'
`8'     `'      `-5'
`3'     `'      `-5'
`2'     `'      `-5'
`3posix'        `'      `-5'
`3pm'   `'      `-5'
`3perl' `'      `-5'
`3am'   `'      `-5'
`5'     `'      `-5'
`4'     `'      `-5'
`9'     `'      `-5'
`6'     `'      `-5'
`7'     `'      `-5'
is a tty
real user = 1000; effective user = 6

using most as pager

path directory /home/gregoa/bin is not in the config file
and doesn't have ../man, man, ../share/man, or share/man subdirectories

path directory /usr/lib/ccache is not in the config file
and doesn't have ../man, man, ../share/man, or share/man subdirectories

path directory /usr/local/bin is in the config file
warning: /usr/local/man: No such file or directory
warning: /usr/local/share/man: No such file or directory

path directory /usr/bin is in the config file
adding /usr/share/man to manpath

path directory /bin is in the config file
/usr/share/man is already in the manpath

path directory /usr/local/games is not in the config file
and doesn't have ../man, man, ../share/man, or share/man subdirectories

path directory /usr/games is in the config file
/usr/share/man is already in the manpath

adding mandatory man directories

warning: /usr/man: No such file or directory
/usr/share/man is already in the manpath
warning: /usr/local/share/man: No such file or directory
add_nls_manpaths(): processing /usr/share/man
checking for locale C
manpath search path (with duplicates) = /usr/share/man:/usr/share/man
adding /usr/share/man to manpathlist
adding /usr/share/man to manpathlist
Removing duplicate manpath entry /usr/share/man (1) -> /usr/share/man (0)
final search path = /usr/share/man
- --priv_drop_count = 0
regain_effective_privs()
searching in /usr/share/man, section 1
trying section 1 with globbing
Layout is GNU (1)
update_directory_cache /usr/share/man: miss
globbing pattern in /usr/share/man: man1*
matched: /usr/share/man/man1
update_directory_cache /usr/share/man/man1: miss
globbing pattern in /usr/share/man/man1: man.1*
matched: /usr/share/man/man1/man.1.gz
matched: /usr/share/man/man1/man.1posix.gz
hashtable_free: 2 entries, 2 (100%) unique

ult_src: File /usr/share/man/man1/man.1.gz in mantree /usr/share/man
loading seccomp filter (permissive: 0)
candidate: 0 0 man /usr/share/man /usr/share/man/man1/man.1.gz A - 1 1

ult_src: File /usr/share/man/man1/man.1posix.gz in mantree /usr/share/man
loading seccomp filter (permissive: 0)
candidate: 0 0 man /usr/share/man /usr/share/man/man1/man.1posix.gz A - 1 1posix
search: 0 0 man /usr/share/man /usr/share/man/man1/man.1.gz A man 1 1 (dup: 0)
searching in /usr/share/man, section n
trying section n with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: mann*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: catn*
hashtable_free: 0 entries, 0 (0%) unique
Succeeded in opening /var/cache/man/index.db O_RDONLY
found 3 names/extensions
multi key lookup (man   7)
multi key lookup (man   1)
multi key lookup (man   1posix)
searching in /usr/share/man, section l
trying section l with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: manl*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: catl*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 8
trying section 8 with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man8*
matched: /usr/share/man/man8
update_directory_cache /usr/share/man/man8: miss
globbing pattern in /usr/share/man/man8: man.8*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat8*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 3
trying section 3 with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: miss
globbing pattern in /usr/share/man/man3: man.3*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat3*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 2
trying section 2 with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man2*
matched: /usr/share/man/man2
update_directory_cache /usr/share/man/man2: miss
globbing pattern in /usr/share/man/man2: man.2*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat2*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 3posix
trying section 3posix with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
globbing pattern in /usr/share/man/man3: man.3posix*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat3*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 3pm
trying section 3pm with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
globbing pattern in /usr/share/man/man3: man.3pm*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat3*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 3perl
trying section 3perl with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
globbing pattern in /usr/share/man/man3: man.3perl*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat3*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 3am
trying section 3am with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man3*
matched: /usr/share/man/man3
update_directory_cache /usr/share/man/man3: hit
globbing pattern in /usr/share/man/man3: man.3am*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat3*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 5
trying section 5 with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man5*
matched: /usr/share/man/man5
update_directory_cache /usr/share/man/man5: miss
globbing pattern in /usr/share/man/man5: man.5*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat5*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 4
trying section 4 with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man4*
matched: /usr/share/man/man4
update_directory_cache /usr/share/man/man4: miss
globbing pattern in /usr/share/man/man4: man.4*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat4*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 9
trying section 9 with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man9*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat9*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 6
trying section 6 with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man6*
matched: /usr/share/man/man6
update_directory_cache /usr/share/man/man6: miss
globbing pattern in /usr/share/man/man6: man.6*
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: cat6*
hashtable_free: 0 entries, 0 (0%) unique
searching in /usr/share/man, section 7
trying section 7 with globbing
update_directory_cache /usr/share/man: hit
globbing pattern in /usr/share/man: man7*
matched: /usr/share/man/man7
update_directory_cache /usr/share/man/man7: miss
globbing pattern in /usr/share/man/man7: man.7*
matched: /usr/share/man/man7/man.7.gz
hashtable_free: 1 entries, 1 (100%) unique

ult_src: File /usr/share/man/man7/man.7.gz in mantree /usr/share/man
loading seccomp filter (permissive: 0)
candidate: 0 0 man /usr/share/man /usr/share/man/man7/man.7.gz A - 7 7
search: 0 0 man /usr/share/man /usr/share/man/man1/man.1.gz A man 1 1 (dup: 0)
search: 0 0 man /usr/share/man /usr/share/man/man1/man.1posix.gz A man 1 1posix 
(dup: 0)
Checking physical location: /usr/share/man/man1/man.1.gz

ult_src: File /usr/share/man/man1/man.1.gz in mantree /usr/share/man
loading seccomp filter (permissive: 0)
found ultimate source file /usr/share/man/man1/man.1.gz
converted /usr/share/man/man1/man.1.gz to /usr/share/man/cat1/man.1.gz
is_changed: a=/usr/share/man/man1/man.1.gz, b=/usr/share/man/cat1/man.1.gz (-2)
converted /var/cache/man/cat1/man.1.gz to /var/cache/man/cat1/man.1.gz
will try cat file /var/cache/man/cat1/man.1.gz
chdir /usr/share/man
loading seccomp filter (permissive: 0)
pre-processors `t' from file
page_encoding = ISO-8859-1
source_encoding = ISO-8859-1
locale_charset = UTF-8
roff_device (locale) = utf8
roff_encoding = ISO-8859-1
output_encoding = UTF-8
less_charset = utf-8
Terminal width 150
Terminal width 150 not within cat page range [80, 80]
Using 146-character lines
formatted_encoding = UTF-8
format: 1, save_cat: 0, found: 1
add_output_iconv: source UTF-8, target UTF-8
Setting LESS to -ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e 
(END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline 
%lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$
Setting MAN_PN to man(1)
drop_effective_privs()
++priv_drop_count = 1
man: command exited with status 4: /usr/lib/man-db/zsoelim | 
/usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 
| tbl | nroff -mandoc -rLL=146n -rLT=146n -Tutf8
hashtable_free: 9 entries, 9 (100%) unique


(without --debug only the last line)


In parallel AppArmor says:

Feb  4 23:37:53 jadzia kernel: [1342803.492299] audit: type=1400 
audit(1517783873.721:714): apparmor="DENIED" operation="exec" info="no new 
privs" error=-1 profile="/usr/bin/man" name="/usr/bin/preconv" pid=14287 
comm="man" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 
target="/usr/bin/man//groff"
Feb  4 23:37:53 jadzia kernel: [1342803.493051] audit: type=1400 
audit(1517783873.721:715): apparmor="DENIED" operation="exec" info="no new 
privs" error=-1 profile="/usr/bin/man" name="/usr/bin/tbl" pid=14288 comm="man" 
requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 
target="/usr/bin/man//groff"
Feb  4 23:37:53 jadzia kernel: [1342803.499627] audit: type=1400 
audit(1517783873.729:716): apparmor="DENIED" operation="exec" info="no new 
privs" error=-1 profile="/usr/bin/man" name="/usr/bin/troff" pid=14306 
comm="groff" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 
target="/usr/bin/man//groff"


Downgrading to 2.7.6.1-4 helps.


Cheers,
gregor


- -- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 
'oldoldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), 
(500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages man-db depends on:
ii  bsdmainutils           11.1.2
ii  debconf [debconf-2.0]  1.5.65
ii  dpkg                   1.19.0.5
ii  groff-base             1.22.3-9
ii  libc6                  2.26-6
ii  libgdbm5               1.14.1-2
ii  libpipeline1           1.5.0-1
ii  libseccomp2            2.3.1-2.1
ii  zlib1g                 1:1.2.8.dfsg-5

man-db recommends no packages.

Versions of packages man-db suggests:
ii  apparmor                2.12-2
ii  chromium [www-browser]  64.0.3282.119-1
ii  elinks [www-browser]    0.12~pre6-13
ii  firefox [www-browser]   58.0.1-1
ii  groff                   1.22.3-9
ii  less                    487-0.1
ii  lynx [www-browser]      2.8.9dev16-2
ii  w3m [www-browser]       0.5.3-36

- -- debconf information:
* man-db/install-setuid: true
  man-db/auto-update: true

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlp3jHFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgblAw/+POtssuuyhIyoiUeEDEpByWS1Ib2j9Bk5THPAbDFFBdheNoahZlezpyS6
HIBDa15v7aJ3a5s6Xx8VCD5NWYDzbtzzo0ixwJ0Pk/zFrtWxLhVzh1wYVWXgobVN
AVRLQNPlUlFMeZwuCvr43UJGC7yMtSdROc/oeDAqRynjtajT2+2Pnt0Y/SciR+TG
W39JYCiiSh/ckbUTfLzdNshQxadEbs1iI7C5C+ReL3P9PWyTYGlwX3xJsjlVr2nI
+vJPMbbmwROKUhOD8Ct0PLJUSSO9nIU5AwsVQ5sihAYJrR+NeEUd9FF++BmHhmz6
M2KUEz6KQVxj0WoEVbL28PL3cNyu9gJRj6/J56ntRbVOuFv5TaVQkLDQ/jEK/a9M
ms05JW6H95MwIXDp9qYdi9/FYs3f1U6+uPyl8Ge65ANCrosd3+G04Biwl3xGZaRk
8SDtcwr7r8rzkyatZP6Qw9LIGKv5JMqPaIaEU0jj37mzky1mDSpdaKG/0lv5ypTK
ZhE5bNq/GgJdn8tkXA8Xjxyw6ZdinoPIazPHzCNvgcOBkw8ip5NMJcx2E7Es5cLh
LToYmaqtr7542ol/q+yNXKoNQCUxEyVtdq7hTETSLnMtaMNBt1Jf95llzy6jFfdn
Fb1TltStG5iwzZ/a9rXwbRWASHJduRvOMNfban2SMQqLsKlHZxs=
=YHtj
-----END PGP SIGNATURE-----

Reply via email to