Package: inn2
Version: 2.6.4-2
Severity: normal

Hello,

I was tracking down an odd problem with trying to get ovdb going:

news@news:/var/lib/news$ /usr/lib/news/bin/ovdb_init
ovdb_init: OVDB: can not open database unless ovdb_monitor is running
ovdb_init: database is active
ovdb_init: OVDB: can not open database unless ovdb_monitor is running
ovdb_init: starting ovdb monitor

ovdb_init: starting ovdb server

But this leaves off with no ovdb processes actually running.  Moreover, 
makehistory -O complained that it couldn't open overview due to "No such file 
or directory."

Upon investigating things further, I noticed that /etc/news/inn.conf listed 
pathrun as /run/news, which doesn't exist.

I did:

mkdir /run/news
chown news /run/news

and then the ovdb processes started up fine.

However, as run is often ephemeral, that isn't really a proper solution.

I suspect that one or more of these should happen:

1) pathrun should be something different in the default config

2) README.Debian should document this issue

3) /run/news somehow gets created.

I notice that the debian/inn2.init file does do this.  However, on systemd 
systems, the debian/inn2.service file doesn't appear to.  Also in situations of 
needing to run makehistory and such, often innd will have not been running.

I wonder if the code to handle this got dropped on the way to systemd?

-- John

-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages inn2 depends on:
ii  cron [cron-daemon]                         3.0pl1-137
ii  exim4-daemon-light [mail-transport-agent]  4.94.2-7
pn  inn2-inews                                 <none>
ii  libc6                                      2.31-13
ii  libcrypt1                                  1:4.4.18-4
ii  libdb5.3                                   5.3.28+dfsg1-0.8
ii  libmime-tools-perl                         5.509-1
ii  libpam0g                                   1.4.0-9
ii  libperl5.32                                5.32.1-4+deb11u1
ii  libpython3.9                               3.9.2-1
ii  libsasl2-2                                 2.1.27+dfsg-2.1
ii  libssl1.1                                  1.1.1k-1+deb11u1
ii  libsystemd0                                247.3-6
ii  lsb-base                                   11.1.0
ii  perl                                       5.32.1-4+deb11u1
ii  perl-base [perlapi-5.32.1]                 5.32.1-4+deb11u1
ii  procps                                     2:3.3.17-5
ii  time                                       1.9-0.1
ii  zlib1g                                     1:1.2.11.dfsg-2

inn2 recommends no packages.

Versions of packages inn2 suggests:
pn  gnupg1      <none>
pn  libgd-perl  <none>
ii  libkrb5-3   1.18.3-6
ii  wget        1.21-1+b1

Reply via email to