Bug 4880 - tl-xstartup-desc tracebacks on broken symlink
Summary: tl-xstartup-desc tracebacks on broken symlink
Status: CLOSED DUPLICATE of bug 4620
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: 4.1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.1.1
Assignee: Karl Mikaelsson
Depends on:
Reported: 2013-10-31 10:39 CET by Peter Åstrand
Modified: 2013-10-31 11:10 CET (History)
0 users

See Also:
Acceptance Criteria:


Description Peter Åstrand cendio 2013-10-31 10:39:17 CET
As reported on Issue 14649. If you have a broken symlink in xstartup.d, tl-xstartup-desc will give a traceback:

Traceback (most recent call last):
  File "/opt/thinlinc/libexec/tl-xstartup-desc", line 14, in <module>
    IiII1IiiIiI1 = file ( sys . argv [ 1 ] )
IOError: [Errno 2] No such file or directory: '/opt/thinlinc/etc/xstartup.d/40-gurka'
Running /opt/thinlinc/etc/xstartup.d/40-gurka
/opt/thinlinc/libexec/tl-run-xstartup.d: rad 97: /opt/thinlinc/etc/xstartup.d/40-gurka: Filen eller katalogen finns inte

Since tl-run-xstartup.d reports the problem, tl-xstartup-desc should perhaps be silent.
Comment 1 Peter Åstrand cendio 2013-10-31 11:10:10 CET

*** This bug has been marked as a duplicate of bug 4620 ***

Note You need to log in before you can comment on or make changes to this bug.