Public bug reported:

in /etc/init.d/danted you can see how the script uses $NAME to find
config file. the thing is, the script never passes this config file to
actual daemon /usr/sbin/danted. You can make copy of this init.d file,
change the name to danted2, and /usr/sbin/danted will always fetch
embedded default config path /etc/danted.conf but danted2 service wont
start properly, because /etc/danted2.conf does not exist. you can make
config or even empty file at /etc/danted2.conf path and service will
start, but that config wont be used.

to make it work you need to pass `-f $CONFFILE` argument to daemon. like

from
--exec $DAEMON
to
--exec $DAEMON -- -f $CONFFILE

also the package is dante-server but it changed to dante idk if its okay

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: dante-server 1.4.3+dfsg-1
ProcVersionSignature: Ubuntu 6.8.0-136.136-generic 6.8.12
Uname: Linux 6.8.0-136-generic x86_64
ApportVersion: 2.28.2-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudID: configdrive
CloudName: configdrive
CloudPlatform: configdrive
CloudSubPlatform: config-disk (/dev/sr0)
Date: Thu Jul 30 15:23:31 2026
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: dante
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.danted.conf: [modified]
mtime.conffile..etc.danted.conf: 2026-07-30T14:40:23.010876

** Affects: dante (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

** Description changed:

- in /etc/init.d/dantedtor you can see how the script uses $NAME to find
+ in /etc/init.d/danted you can see how the script uses $NAME to find
  config file. the thing is, the script never passes this config file to
  actual daemon /usr/sbin/danted. You can make copy of this init.d file,
  change the name to danted2, and /usr/sbin/danted will always fetch
  embedded default config path /etc/danted.conf but danted2 service wont
  start properly, because /etc/danted2.conf does not exist. you can make
  config or even empty file at /etc/danted2.conf path and service will
  start, but that config wont be used.
  
  to make it work you need to pass `-f $CONFFILE` argument to daemon. like
  
  from
  --exec $DAEMON
  to
  --exec $DAEMON -- -f $CONFFILE
  
  also the package is dante-server but it changed to dante idk if its okay
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: dante-server 1.4.3+dfsg-1
  ProcVersionSignature: Ubuntu 6.8.0-136.136-generic 6.8.12
  Uname: Linux 6.8.0-136-generic x86_64
  ApportVersion: 2.28.2-0ubuntu0.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudID: configdrive
  CloudName: configdrive
  CloudPlatform: configdrive
  CloudSubPlatform: config-disk (/dev/sr0)
  Date: Thu Jul 30 15:23:31 2026
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: dante
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.danted.conf: [modified]
  mtime.conffile..etc.danted.conf: 2026-07-30T14:40:23.010876

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2162159

Title:
  /etc/init.d/danted does not provide config file to daemon

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dante/+bug/2162159/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to