vdr-1.3.38 & softdevice: option -u root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

just checked new vdr version with softdevice, and get some problem even
when setting -u root.

softdevice cvs and vdr-1.3.36:
Jan  8 15:14:07 jarada vdr[5745]: [softdevice-audio] Opening alsa device default
Jan  8 15:14:07 jarada vdr[5745]: [softdevice-audio] Using alsa AC3 device hw:0,1
Jan  8 15:14:07 jarada vdr[5745]: [softdevice-audio] real UID = 0 effective UID = 0
Jan  8 15:14:07 jarada vdr[5745]: [softdevice-audio] Device opened! Ready to play

softdevice cvs and vdr-1.3.38:
Jan  8 15:17:22 jarada vdr[5777]: [softdevice-audio] Opening alsa device default
Jan  8 15:17:22 jarada vdr[5777]: [softdevice-audio] Using alsa AC3 device hw:0,1
Jan  8 15:17:22 jarada vdr[5777]: [softdevice-audio] real UID = 0 effective UID = 0
Jan  8 15:17:22 jarada vdr[5777]: [softdevice-audio] Playback open error: default, Keine Berechtigung FATAL exiting
Jan  8 15:17:22 jarada vdr[5779]: video directory scanner thread ended (pid=5779, tid=5779)
Jan  8 15:17:22 jarada vdr[5780]: video directory scanner thread ended (pid=5780, tid=5780)

vdr 1.3.38 is called with -u root.

softdevice code is (from audio.c):
{
  uid_t ruid = getuid();
  uid_t euid = geteuid();
  dsyslog("[softdevice-audio] real UID = %d effective UID = %d",ruid,euid);
}
    if ((err = snd_pcm_open(&handle, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) {
      esyslog("[softdevice-audio] Playback open error: %s, %s FATAL exiting",
              device, snd_strerror(err));
      exit(1);
    }


Are there other UIDs relevant ?

-- 
Stefan Lucke



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux