Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36140

"Error getting tty num" following latest systemd update

$
0
0
hi. i use the following script to start xbmc on my fc17 server :

Code:

[Unit]
Description = Starts instance of XBMC
After = syslog.target

[Service]
User = xbmc
Group = xbmc
Type = simple
ExecStart = /bin/bash -c "/data/xbmc/xbmc.sh"

[Install]
WantedBy = multi-user.target

the shell script contains :

Code:

# Fix 2 second audio delay over HDMI (http://www.tolaris.com/2011/07/03/solving-the-2-second-sound-delay-with-xbmc-and-hdmi/)
aplay -c2 -r48000 -fS32_LE < /dev/zero &
APLAY_PID=$!
startx -- -layout XBMC -config xorg.conf.multiseat.xbmc
kill $APLAY_PID

this has worked perfectly for months until the following updates were applied :

Code:

procps-3.2.8-27.20110302git.fc17              Sat 20 Oct 2012 11:17:01 AM BST
m17n-contrib-1.1.14-1.fc17                    Sat 20 Oct 2012 11:17:01 AM BST
m17n-lib-1.6.4-1.fc17                        Sat 20 Oct 2012 11:17:00 AM BST
selinux-policy-devel-3.10.0-156.fc17          Sat 20 Oct 2012 11:16:58 AM BST
selinux-policy-targeted-3.10.0-156.fc17      Sat 20 Oct 2012 11:16:57 AM BST
bind-utils-9.9.2-2.fc17                      Sat 20 Oct 2012 11:16:55 AM BST
dhclient-4.2.4-16.P2.fc17                    Sat 20 Oct 2012 11:16:54 AM BST
udisks2-1.94.0-10.fc17                        Sat 20 Oct 2012 11:16:53 AM BST
systemd-sysv-44-20.fc17                      Sat 20 Oct 2012 11:16:53 AM BST
hunspell-en-GB-0.20110318-9.fc17              Sat 20 Oct 2012 11:16:52 AM BST
hunspell-en-0.20110318-9.fc17                Sat 20 Oct 2012 11:16:52 AM BST
systemd-44-20.fc17                            Sat 20 Oct 2012 11:16:49 AM BST
hunspell-en-US-0.20110318-9.fc17              Sat 20 Oct 2012 11:16:48 AM BST
libudisks2-1.94.0-10.fc17                    Sat 20 Oct 2012 11:16:47 AM BST
bind-libs-lite-9.9.2-2.fc17                  Sat 20 Oct 2012 11:16:46 AM BST
bind-libs-9.9.2-2.fc17                        Sat 20 Oct 2012 11:16:46 AM BST
dhcp-common-4.2.4-16.P2.fc17                  Sat 20 Oct 2012 11:16:45 AM BST
selinux-policy-3.10.0-156.fc17                Sat 20 Oct 2012 11:16:44 AM BST
dhcp-libs-4.2.4-16.P2.fc17                    Sat 20 Oct 2012 11:16:44 AM BST
bind-license-9.9.2-2.fc17                    Sat 20 Oct 2012 11:16:43 AM BST
m17n-db-1.6.4-1.fc17                          Sat 20 Oct 2012 11:16:42 AM BST
ibus-gtk3-1.4.99.20121006-2.fc17              Sat 20 Oct 2012 11:16:41 AM BST
ibus-gtk2-1.4.99.20121006-2.fc17              Sat 20 Oct 2012 11:16:38 AM BST
ibus-1.4.99.20121006-2.fc17                  Sat 20 Oct 2012 11:16:38 AM BST
ibus-libs-1.4.99.20121006-2.fc17              Sat 20 Oct 2012 11:16:36 AM BST

starting the service now throws error :

bash[30226]: Error getting tty num

however running :

su - xbmc -c "/data/xbmc/xbmc.sh"

works fine. i'm assuming the issue is following the latest systemd update.

searching the net for this error returns very few results. can anyone tell me what this error means, or even better, why it's now being thrown ? thanks.

Viewing all articles
Browse latest Browse all 36140

Trending Articles