[Bug 499431] [NEW] /usr/sbin/argus requested by /etc/init.d/argus-server is missing
Hilario J. Montoliu (hjmf)
hmontoliu at gmail.com
Tue Dec 22 12:44:31 UTC 2009
Public bug reported:
Probably it's a dup of bug #192868 however the files and the release are
not the same.
The issue is that the init script in karmic of argus-server sets as the
daemon file the file "/usr/sbin/argus" which doesn't exists after argus-
server installation.
root at SNORTIDS:/usr/share/doc/argus-server# grep -C3 ^DAEMON= /etc/init.d/argus-server
DEFAULTS=/etc/default/argus-server
LOGFILE=/var/log/argus/argus.log
CONFFILE=/etc/argus.conf
DAEMON=/usr/sbin/argus
NAME=argus
PIDFILE=/var/run/argus.pid
The init.d script arises an exit 1 error. The exit 1 appears after
testing the existence of /usr/sbin/argus file
root at SNORTIDS:/usr/share/doc/argus-server# bash -x /etc/init.d/argus-server start
+ set -e
+ DEFAULTS=/etc/default/argus-server
+ LOGFILE=/var/log/argus/argus.log
+ CONFFILE=/etc/argus.conf
+ DAEMON=/usr/sbin/argus
+ NAME=argus
+ PIDFILE=/var/run/argus.pid
+ test -f /etc/default/argus-server
+ . /etc/default/argus-server
++ STARTUP=boot
+ '[' boot = dialup ']'
+ '[' boot = none ']'
+ '[' '!' -f /etc/argus.conf ']'
+ test -x /usr/sbin/argus
+ exit 1
The right file seems to be /usr/sbin/argus-linux which exists.
Just creating a symlink of that script to the "missing" /usr/bin/argus
file (or editing the init.d script to point to the right file) solves
the problem:
root at SNORTIDS:/usr/share/doc/argus-server# ln -s /usr/sbin/argus_linux /usr/sbin/argus
root at SNORTIDS:/usr/share/doc/argus-server# bash -x /etc/init.d/argus-server start
+ set -e
+ DEFAULTS=/etc/default/argus-server
+ LOGFILE=/var/log/argus/argus.log
+ CONFFILE=/etc/argus.conf
+ DAEMON=/usr/sbin/argus
+ NAME=argus
+ PIDFILE=/var/run/argus.pid
+ test -f /etc/default/argus-server
+ . /etc/default/argus-server
++ STARTUP=boot
+ '[' boot = dialup ']'
+ '[' boot = none ']'
+ '[' '!' -f /etc/argus.conf ']'
+ test -x /usr/sbin/argus
+ case "$1" in
+ echo -n 'Starting network auditing daemon: '
Starting network auditing daemon: + testrunning
+ '[' -f /var/run/argus.pid ']'
+ /usr/sbin/argus -w /var/log/argus/argus.log -n /var/run/argus.pid
argus[28766]: started+ echo 'argus. '
argus.
I'm running ubuntu karmic
root at SNORTIDS:/usr/share/doc/argus-server# lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
root at SNORTIDS:/usr/share/doc/argus-server# LC_ALL=C apt-cache policy argus-server
argus-server:
Installed: 1:2.0.6.fixes.1-16
Candidate: 1:2.0.6.fixes.1-16
Version table:
*** 1:2.0.6.fixes.1-16 0
500 http://es.archive.ubuntu.com karmic/universe Packages
100 /var/lib/dpkg/status
** Affects: argus (Ubuntu)
Importance: Undecided
Status: New
--
/usr/sbin/argus requested by /etc/init.d/argus-server is missing
https://bugs.launchpad.net/bugs/499431
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list