package darkstat 3.0.714+dfsg-1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
darkstat (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
?
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: darkstat 3.0.714+dfsg-1
ProcVersionSign
Uname: Linux 3.2.0-52-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.4
AptOrdering:
darkstat: Install
bridge-utils: Configure
man-db: Configure
darkstat: Configure
Architecture: amd64
Date: Wed Aug 21 06:18:14 2013
DuplicateSignature: package:
ErrorMessage: Unterprozess installiertes post-installati
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: darkstat
Title: package darkstat 3.0.714+dfsg-1 failed to install/upgrade: Unterprozess installiertes post-installati
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
It is somewhat ahrd to tell from the report, but this does NOT seem to be a dupe of https:/ /bugs.launchpad .net/ubuntu/ precise/ +source/ darkstat/ +bug/902153 ubuntu 11.10 darkstat can`t start.
It dose seem to be a report of what I am experiencing.
After configuring /etc/darkstat/ init.cfg darkstat still fails to start, and gives no error or reason why. No logs are generated. However, running purely from the command line works.
It appears that several variables defined /etc/darkstat/ init.cfg are overridden after importing by /etc/init. d/darkstat causing it to fail. After commenting out those lines, everything works as expected. This is a quick and dirty fix, not a patch! :)
<partial list of /etc/init. d/darkstat>
PATH=/bin: /usr/bin: /sbin:/ usr/sbin "/usr/sbin/ darkstat" etc/darkstat/ init.cfg" "/var/lib/ darkstat" "/var/run/ $NAME.pid" var/lib/ darkstat"
DAEMON=
NAME="darkstat"
DESC="darkstat network daemon"
INIT="/
HOMEDIR=
PIDFILE=
#DIR="/
test -f $DAEMON || exit 0
test -f $INIT || exit 0
#INTERFACE="-i br0"
#PORT="-p 665"
#BINDIP="-b 192.168.5.35"
#LOCAL=""
#DNS=""
#DAYLOG=""
DB="--import darkstat.db --export darkstat.db"
#FILTER=""