Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204438 - media-tv/gentoo-vdr-scripts-0.4.2 - vdr init script fails
Summary: media-tv/gentoo-vdr-scripts-0.4.2 - vdr init script fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-05 15:35 UTC by Marco Maccaferri
Modified: 2008-01-06 22:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Maccaferri 2008-01-05 15:35:22 UTC
After updating vdr and scripts, the init script fails always without any clue on what is wrong:

pvr ~ # /etc/init.d/vdr start
 * Preparing start of vdr:
 *   config files ...                                                          
                                                                       [ ok ]
 *   Waiting for prerequisits (devices nodes etc.) ...
 * waited 0 seconds                                                            
                                                                       [ ok ]
 * Starting vdr-1.4.7 ...
 *   CMDLINE: start-stop-daemon " '--start' '--chdir' '/var/vdr' '--exec'
'/usr/bin/vdr'" -- " '-u' 'vdr' '--watchdog=60' '--epgfile=/video/epg.data'
'--log=3' '--video=/video' '--lirc'
'--record=/usr/share/vdr/bin/vdrrecord-gate.sh' '--plugin=softdevice -vo
dfb:mgatv -ao alsa: ' '--plugin=skinsoppalusikka -l /usr/share/vdr/channel-logos
' '--plugin=epgsearch ' '--plugin=streamdev-server ' '--plugin=burn -t /tmp -d
/video/temp -D /dev/dvd -i /video/dvd-images  [ ok ]
 *   Waiting for working vdr ...
 * waited 0 seconds
 * aborted, please check logfile                                               
                                                                       [ !! ]
 * Addon /usr/share/vdr/rcscript/post-start-50-svdrp.sh failed.

And this is what is written to the log:

Jan  5 14:42:18 pvr rc-scripts: aborted, please check logfile
Jan  5 14:42:18 pvr rc-scripts: Addon
/usr/share/vdr/rcscript/post-start-50-svdrp.sh failed.

I understand that the system may not be fully updated, but I would like to have an hint about what's wrong, since I don't want to do a full update (there are critical packages that I don't want to update).
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-05 15:46:16 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity. Which ebuild installed your initscript?

Comment 2 Marco Maccaferri 2008-01-05 16:20:45 UTC
These are the versions installed:

[ebuild   R   ] media-tv/gentoo-vdr-scripts-0.4.2
[ebuild   R   ] media-video/vdr-1.4.7-r9  USE="sortrecords*"

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-05 16:27:50 UTC
Stop messing with the severity of this bug and post `equery b /etc/init.d/vdr` output.
Comment 4 Marco Maccaferri 2008-01-05 16:34:55 UTC
I'm not messing with anything, if you want to change the severty do it!

Here is the output:

pvr ~ # equery b /etc/init.d/vdr
[ Searching for file(s) /etc/init.d/vdr in *... ]
media-tv/gentoo-vdr-scripts-0.4.2 (/etc/init.d/vdr)

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-01-05 16:37:19 UTC
> I'm not messing with anything, if you want to change the severty do it!

There'd be no need to keep changing it if you stopped reverting it in the first place. http://bugs.gentoo.org/show_activity.cgi?id=204438
Comment 6 Marco Maccaferri 2008-01-05 16:48:50 UTC
I have reverted nothing. I never touched any flag after opening the bug.

Now, can we concentrate on the problem please ? I have a system that doesn't work and I would like to fix it!
Comment 7 Joerg Bornkessel (RETIRED) gentoo-dev 2008-01-05 20:50:49 UTC
Any lines more output of your startlog will be more helpfull
find it in your preferred syslog, eg, /var/log/syslog , messages

but it looks like a plugins can not be load,
im most cases user forgot to run vdrplugin-rebuild after upgrading media-video/vdr

Did you run vdrplugin-rebuild ?

If yes,
try to start VDR without plugins, and add your plugins step by step on next start to find out which plugin will failed.
Comment 8 Marco Maccaferri 2008-01-05 22:05:18 UTC
The log doesn't contain anything else, these are the only two lines logged when trying to start vdr:

Jan  5 14:42:18 pvr rc-scripts: aborted, please check logfile
Jan  5 14:42:18 pvr rc-scripts: Addon
/usr/share/vdr/rcscript/post-start-50-svdrp.sh failed.

Yes, I ran vdrplugin-rebuild. Starting from the command line using the parameters listed on the CMDLINE row works well. It is only the init script that doesn't work.
Comment 9 Joerg Bornkessel (RETIRED) gentoo-dev 2008-01-05 23:18:29 UTC
I dont know is it an copy & paste error,

I countig in your start CMD line only 3 " (Quoting marks)

Normaly remove the bash on start all quoting marks, or it must be an even number of quoting marks,

Please check all your last edited (VDR) config files if you miss there in one of your edited Parameter a "

To reduce the errors, load on this part VDR without plugins.

Comment 10 Marco Maccaferri 2008-01-06 19:57:12 UTC
I have removed and reinstalled the scripts and now vdr works. I guess that something wasn't updated correctly.
Comment 11 Joerg Bornkessel (RETIRED) gentoo-dev 2008-01-06 22:47:06 UTC
:)