Bug#659646: vdr: handling of symlinks in video directory broken

Christoph Martin martin at uni-mainz.de
Sun Feb 12 19:30:25 UTC 2012


Package: vdr
Version: 1.7.23-1~ctvdr1
Severity: normal

introduced with version 1.7.23 symlink handling in the video directory seams
to be broken.

In my /var/lib/video.00/ directory I have a symlink named 'doku' linked to a
directory on a NFS share. Also I have some symlinks which point to
subdirectories of the doku/ link to get videos directly recorded into
these subdirectories. This was working including version 1.7.22-1~ctvdr2.

>From Version 1.7.23-1~ctvdr1 the directory all the symlinks are not
shown anymore in the recordings menu. But the recordings menu shows a new
directory 'chiv' which includes a directory doku which then contains
the other directories on the NFS share.

The directory '/var/lib/video.00/chiv' does not exist in the filesystem. 
If I try to move videos into this hierarchy vdr tries to create the directory:

> Feb 11 22:56:40 vdr vdr: [1724] creating directory /var/lib/video.00/chiv/doku

The behavior is the same in normal recordings menu and in extrecmenu.

Christoph

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (800, 'stable'), (79, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vdr depends on:
ii  adduser               3.112+nmu2         add and remove users and groups
ii  libc6                 2.11.3-2           Embedded GNU C Library: Shared lib
ii  libcap2               1:2.19-3           support for getting/setting POSIX.
ii  libfontconfig1        2.8.0-2.1          generic font configuration library
ii  libfreetype6          2.4.2-2.1+squeeze3 FreeType 2 font engine, shared lib
ii  libfribidi0           0.19.2-1           Free Implementation of the Unicode
ii  libgcc1               1:4.4.5-8          GCC support library
ii  libjpeg62             6b1-1              The Independent JPEG Group's JPEG 
ii  libstdc++6            4.4.5-8            The GNU Standard C++ Library v3
ii  psmisc                22.11-1            utilities that use the proc file s

Versions of packages vdr recommends:
ii  lirc                      0.8.6-1~etobi1 infra-red remote control support
ii  ttf-bitstream-vera        1.10-8         The Bitstream Vera family of free 

Versions of packages vdr suggests:
ii  vdr-plugin-dvbsddevice   1.7.23-1~ctvdr1 Plugin that adds support for full 

-- Configuration Files:
/etc/default/vdr changed:
ENABLED=1
ENABLE_SHUTDOWN=1
OPTIONS="-w 60"
PLUGIN_CHECK_PATCHLEVEL="yes"
USER=root
VFAT=0
VDR_LANG=de_DE.utf8

/etc/vdr/command-hooks/commands.custom.conf changed:
CD/DVD auswerfen : /usr/bin/eject /dev/dvd
DVD Media Info : /usr/bin/dvd+rw-mediainfo /dev/dvd
System Shutdown? : /sbin/shutdown -h now
System Reboot? : /sbin/shutdown -r now
TVInfo Merkzettel laden? : /usr/bin/tvinfomerk2vdr_
Archiv Dir aus DVD : /usr/local/bin/mkarchivfromdvd.sh
Archiv komprimieren: /usr/local/bin/cleanup_archive.sh
UTF8 Umwandlung: /usr/local/bin/filestoutf8 /var/lib/video/

/etc/vdr/command-hooks/reccmds.custom.conf changed:
Recode Info to UTF-8 : /usr/local/bin/recode_info

/etc/vdr/keymacros.conf changed:
Red       Recordings
Green     Schedule
Yellow    Info
Blue      Timers
User1     @osdteletext
Play	  @dvd
Stop	  Commands 4

/etc/vdr/plugins/order.conf changed:
dvd
trayopen
burn

/etc/vdr/recording-hooks/R90.custom changed:
case $1 in
    before)
        # do here whatever you would like to do right BEFORE
        # the recording $2 STARTS
        ;;
    after)
        # do here whatever you would like to do right AFTER
        # the recording $2 ENDED
	(echo Neue Aufnahme: $2; df) | mail -s "Neue Aufname: $2" root
        ;;
    edited)
        # do here whatever you would like to do right AFTER
        # the recording $2 has been EDITED
        ;;
      move)
        correct_videodirs.sh /var/lib/video.00 "$3"
        ;;
    rename)
        correct_videodirs.sh /var/lib/video.00 "$3"
        ;;
esac

/etc/vdr/shutdown-hooks/S90.custom changed:
LOG="logger -t shutdown90.custom"
USERCOUNT=`who | wc -l`;
$LOG "$USERCOUNT"
if [ $USERCOUNT -gt 0 ] ; then
  echo "ABORT_MESSAGE=\"$USERCOUNT users are logged in.\""
  $LOG $USERCOUNT users are logged in.
  exit 1
fi

/etc/vdr/svdrphosts.conf changed:
127.0.0.1             # always accept localhost
10.10.1.0/24


-- no debconf information





More information about the pkg-vdr-dvb-devel mailing list