Bug#806592: vdr: Fails to start without video directory
Paul Menzel
pm.debian at googlemail.com
Sun Nov 29 12:45:03 UTC 2015
Package: vdr
Version: 2.2.0-5
Severity: important
Dear Debian folks,
`/var/lib/video` does not exist on my system and therefore VDR fails to
start.
```
$ systemctl status vdr
● vdr.service - Video Disk Recorder
Loaded: loaded (/lib/systemd/system/vdr.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sa 2015-11-28 07:59:50 CET; 22min ago
Process: 1343 ExecStart=/usr/bin/vdr (code=exited, status=2)
Process: 1305 ExecStartPre=/bin/sh /usr/lib/vdr/merge-commands.sh reccmds (code=exited, status=0/SUCCESS)
Process: 975 ExecStartPre=/bin/sh /usr/lib/vdr/merge-commands.sh commands (code=exited, status=0/SUCCESS)
Main PID: 1343 (code=exited, status=2)
Nov 28 07:58:05 myhostname systemd[1]: Starting Video Disk Recorder...
Nov 28 07:59:46 myhostname vdr[1343]: [1343] ERROR (tools.c,441): /var/lib/video: Datei oder Verzeichnis nicht gefunden
Nov 28 07:59:50 myhostname systemd[1]: vdr.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Nov 28 07:59:50 myhostname systemd[1]: Failed to start Video Disk Recorder.
Nov 28 07:59:50 myhostname systemd[1]: vdr.service: Unit entered failed state.
Nov 28 07:59:50 myhostname systemd[1]: vdr.service: Failed with result 'exit-code'.
Nov 28 07:59:50 myhostname vdr[1343]: vdr: can't access video directory /var/lib/video
```
Should the start script at least create that directory, so that VDR
continues running. I understand that one could argue, that this is not
desired, as the partition, `/var/lib/video` exists on, could run full.
Thanks,
Paul
PS: I’ll contact the mailing list, why `/var/lib` is used to store
videos. That fundamentally violates the FHS [1] in my opinion.
[1] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.19.0-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages vdr depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.58
ii init-system-helpers 1.24
ii libc6 2.19-22
ii libcap2 1:2.24-12
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.6.1-0.1
ii libgcc1 1:5.2.1-25
ii libjpeg62-turbo 1:1.4.1-2
ii libstdc++6 5.2.1-25
ii libsystemd0 228-2
Versions of packages vdr recommends:
ii fonts-freefont-ttf 20120503-4
ii lirc 0.9.0~pre1-1.2
ii ttf-bitstream-vera 1.10-8
Versions of packages vdr suggests:
pn vdr-plugin-dvbsddevice <none>
-- debconf information:
* vdr/select_dvb_card: Terrestrial
vdr/create_video_dir: false
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20151129/083952cc/attachment.sig>
More information about the pkg-vdr-dvb-devel
mailing list