vdr does not start due to lack of rights on dvb devices upon startup

Bug #1576809 reported by kex on 2016-04-29
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vdr (Ubuntu)
Medium
Unassigned

Bug Description

Today vdr does not start any more during the boot (it did yesterday). After a user logs in and starts with systemctl start vdr, it starts properly.

I use ureadahead, I wonder if it affects this - like missing a dependency in systemd scripts results in the devices not being ready when vdr tries to start.

journalctl:
-- Logs begin at pe 2016-04-29 20:48:24 EEST, end at pe 2016-04-29 20:50:48 EEST. --
huhti 29 20:48:27 xpc vdr[1171]: [1171] VDR version 2.2.0 started
huhti 29 20:48:27 xpc vdr[1171]: [1171] switched to user 'vdr'
huhti 29 20:48:27 xpc vdr[1171]: [1171] codeset is 'UTF-8' - known
huhti 29 20:48:27 xpc vdr[1171]: [1171] found 28 locales in /usr/share/locale
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading plugin: /usr/lib/vdr/plugins/libvdr-conflictcheckonly.so.2.2.0
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading plugin: /usr/lib/vdr/plugins/libvdr-epgsearch.so.2.2.0
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading plugin: /usr/lib/vdr/plugins/libvdr-epgsearchonly.so.2.2.0
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading plugin: /usr/lib/vdr/plugins/libvdr-quickepgsearch.so.2.2.0
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading plugin: /usr/lib/vdr/plugins/libvdr-streamdev-server.so.2.2.0
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading plugin: /usr/lib/vdr/plugins/libvdr-vnsiserver.so.2.2.0
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/setup.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/sources.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/diseqc.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/scr.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/channels.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/timers.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/commands.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/reccmds.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/svdrphosts.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/remote.conf
huhti 29 20:48:27 xpc vdr[1171]: [1171] loading /var/lib/vdr/keymacros.conf
huhti 29 20:48:27 xpc vdr[1171]: [1293] video directory scanner thread started (pid=1171, tid=1293, prio=high)
huhti 29 20:48:27 xpc vdr[1171]: [1294] video directory scanner thread started (pid=1171, tid=1294, prio=high)
huhti 29 20:48:27 xpc vdr[1171]: [1171] registered source parameters for 'A - ATSC'
huhti 29 20:48:27 xpc vdr[1171]: [1171] registered source parameters for 'C - DVB-C'
huhti 29 20:48:27 xpc vdr[1171]: [1171] registered source parameters for 'S - DVB-S'
huhti 29 20:48:27 xpc vdr[1171]: [1171] registered source parameters for 'T - DVB-T'
huhti 29 20:48:27 xpc vdr[1171]: [1171] ERROR (dvbdevice.c,1164): /dev/dvb/adapter0/frontend0: Lupa evätty
huhti 29 20:48:27 xpc vdr[1171]: [1171] ERROR (dvbdevice.c,1164): /dev/dvb/adapter1/frontend0: Lupa evätty
huhti 29 20:48:27 xpc vdr[1171]: [1171] ERROR (dvbdevice.c,1164): /dev/dvb/adapter2/frontend0: Lupa evätty
huhti 29 20:48:27 xpc vdr[1171]: [1171] no DVB device found
huhti 29 20:48:27 xpc vdr[1171]: [1171] initializing plugin: conflictcheckonly (0.0.1): Suoratoiminto EPGSearch-laajennoksen ajastimien tarkistukselle
huhti 29 20:48:27 xpc vdr[1171]: [1171] initializing plugin: epgsearch (1.0.1.beta5): Monipuolinen ohjelmaopas hakutoiminnolla
huhti 29 20:48:27 xpc vdr[1171]: [1171] initializing plugin: epgsearchonly (0.0.1): Suoratoiminto EPGSearch-laajennoksen haulle
huhti 29 20:48:27 xpc vdr[1171]: [1171] initializing plugin: quickepgsearch (0.0.1): Pikahaku ohjelmaoppaalle
huhti 29 20:48:27 xpc vdr[1171]: [1295] epg data reader thread started (pid=1171, tid=1295, prio=high)
huhti 29 20:48:27 xpc vdr[1171]: [1295] reading EPG data from /var/cache/vdr/epg.data
huhti 29 20:48:27 xpc vdr[1171]: [1171] initializing plugin: streamdev-server (0.6.1-git): VDR-suoratoistopalvelin
huhti 29 20:48:27 xpc vdr[1171]: [1171] initializing plugin: vnsiserver (1.3.1): VDR-Network-Streaming-Interface (VNSI) Server
huhti 29 20:48:27 xpc vdr[1171]: vdr: no primary device found - using first device!
huhti 29 20:48:27 xpc vdr[1171]: [1171] ERROR: invalid primary device number: 0
huhti 29 20:48:27 xpc vdr[1171]: [1171] ERROR: no primary device found - using first device!
huhti 29 20:48:27 xpc vdr[1171]: [1171] ERROR: invalid primary device number: 1
huhti 29 20:48:27 xpc vdr[1171]: [1171] deleting plugin: vnsiserver
huhti 29 20:48:27 xpc vdr[1171]: [1171] deleting plugin: streamdev-server
huhti 29 20:48:27 xpc vdr[1171]: [1171] deleting plugin: quickepgsearch
huhti 29 20:48:27 xpc vdr[1171]: [1171] deleting plugin: epgsearchonly
huhti 29 20:48:27 xpc vdr[1171]: [1171] deleting plugin: epgsearch
huhti 29 20:48:27 xpc vdr[1171]: [1171] deleting plugin: conflictcheckonly
huhti 29 20:48:27 xpc vdr[1171]: [1295] epg data reader thread ended (pid=1171, tid=1295)
huhti 29 20:48:27 xpc vdr[1171]: [1171] max. latency time 0 seconds
huhti 29 20:48:27 xpc vdr[1171]: [1171] exiting, exit code 2
huhti 29 20:48:27 xpc vdr[1171]: [1293] video directory scanner thread ended (pid=1171, tid=1293)
huhti 29 20:48:27 xpc vdr[1171]: [1294] video directory scanner thread ended (pid=1171, tid=1294)

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: vdr 2.2.0-5build1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 29 20:52:50 2016
InstallationDate: Installed on 2012-12-22 (1224 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: vdr
UpgradeStatus: Upgraded to xenial on 2016-04-24 (5 days ago)
modified.conffile..etc.vdr.shutdown-hooks.S90.custom: [modified]
modified.conffile..etc.vdr.svdrphosts.conf: [modified]
mtime.conffile..etc.default.vdr: 2015-10-14T21:14:27.811892
mtime.conffile..etc.vdr.conf.d.00-vdr.conf: 2016-04-24T21:02:44.244028
mtime.conffile..etc.vdr.shutdown-hooks.S90.custom: 2015-10-12T07:57:52.594555
mtime.conffile..etc.vdr.svdrphosts.conf: 2015-04-27T21:32:44.606363

kex (kex-iki) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vdr (Ubuntu):
status: New → Confirmed
Stefan Güls (s-guels) wrote :

Just a "me too"
Did a fresh Xenial install today. I'm having the same problem, and similar journalctl output

Changed in vdr (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers