position of the hook directries

Stefan-W. Hahn pkg-vdr-dvb-devel@lists.alioth.debian.org
Thu, 21 Oct 2004 17:49:42 +0200


Hi,

after successfully upgrading from c't distribution to debian main (with having
an not so stable vdr as before, I don't know why now), I did not agree with the
position of some configfiles.

I think the position of the directories "command-hooks", "recording-hooks" and
"shutdown-hooks" are not right. 

Why?
Scripts (and not binaries see below) must be manually adapted for the
installation of vdr. 
So (see fhs) the right position seems /etc/vdr/ as it was
in c't distro. A second reason for that is the viewpoint of doing backups. For
getting als configs of the installed vdr it must be taken a backup of
/etc/default, /etc/vdr (or complete /etc) and /var/lib/vdr (or complete
/var/lib), but all under /usr/share should be restorable by installing an new
vdr from cdrom or via net.

A reason against this is the expansion to run binary files in these hook
directories; these binaries should not reside in /etc. But I think to run
binaries directly is not necessary.


So my proposal is to go back to /etc/vdr/ with the three mentioned hook
directories.

Stefan

-- 
Stefan-W. Hahn                          It is easy to make things.
/ mailto:stefan.hahn@s-hahn.de /        It is hard to make things simple.