Ohhh, etwas zu früh entwarnt.
Wenn ich als root auf der Konsole den vdradmind --ssl aufrufe, dann tuts.
Wenn ich aber das init Script aufrufe tuts wieder nicht.
Ich hab mir mal den Daemonkram rauskopiert und in der Konsole gestartet und er kann wieder nicht das Zertifikat finden. Ich hab das certs Verzeichnis im vdr home erstellt und mittlerweile von root, vdradmin-am home und /etc/vdradmin-am verlinkt
Aber nix. Das Script will net.
Code
root@vdr:~ >strace start-stop-daemon --start -c vdradmin-am:vdradmin-am -m --nicelevel 10 --pidfile /var/run/vdradmin.pid --exec /usr/bin/vdradmind -- --nofork --ssl --ipv6
.
.
.
open("certs/server-key.pem", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/var/cache/vdradmin-am//usr/share/vdradmin-am/template/default/error.htmlcache", {st_mode=S_IFREG|0600, st_size=1964, ...}) = 0
stat64("/usr/share/vdradmin-am/template/default/error.html", {st_mode=S_IFREG|0644, st_size=647, ...}) = 0
stat64("/var/cache/vdradmin-am//usr/share/vdradmin-am/template/default/error.htmlcache", {st_mode=S_IFREG|0600, st_size=1964, ...}) = 0
open("/var/cache/vdradmin-am//usr/share/vdradmin-am/template/default/error.htmlcache", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf801ee8) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR) = 0
brk(0x9e75000) = 0x9e75000
read(3, "#-------------------------------"..., 4096) = 1964
read(3, "", 4096) = 0
close(3) = 0
stat64("/usr/share/vdradmin-am/template/default/error.html", {st_mode=S_IFREG|0644, st_size=647, ...}) = 0
time(NULL) = 1263128339
time(NULL) = 1263128339
write(2, "Can't start server at 192.168.17"..., 44Can't start server at 192.168.178.23:8001:
) = 44
exit_group(255)
Alles anzeigen
Wo könnt das certs Verzeichnis denn noch hingehören?