When tl-limit-printers runs as part of starting up a new session or when reconnecting it times out on two RHEL 8 systems I've tested on. The first machine was RHEL 8.0, the second RHEL 8.2. Can reproduce with both nightly build and ThinLinc 4.12.0. > 2020-11-04 18:56:05 INFO vsmserver.session: User with uid 1000 (cendio) requested a new session > 2020-11-04 18:56:07 INFO vsmserver.session: Session 127.0.0.1:11 created for user cendio > 2020-11-04 18:56:47 WARNING vsmserver.extproc: Timeout running ['/opt/thinlinc/etc/sessionstartup.d/tl-limit-printers'] > 2020-11-04 18:56:47 INFO vsmserver.extproc: ['/opt/thinlinc/etc/sessionstartup.d/tl-limit-printers'] exited with exit code -15 Running it manually on these machines works without issue: > [cendio@lab-174 ~]$ sudo USER=cendio /opt/thinlinc/sbin/tl-limit-printers -v > Waiting for lock on /var/opt/thinlinc/utils/tl-printer/tl-limit-printers.lock > Acquired lock > Hardware addresses associated with user: ['00:50:56:B0:07:F0'] > Current list of printers: ['nearest', 'thinlocal'] > ['lpadmin', '-p', 'thinlocal', '-u', 'allow:cendio,root'] > lpadmin returned 0 > ['lpadmin', '-p', 'nearest', '-u', 'allow:root'] > lpadmin returned 0 > Unlocking /var/opt/thinlinc/utils/tl-printer/tl-limit-printers.lock I can not reproduce the issue on my Fedora 32 workstation.
Running "sudo setenforce 0" makes the problem go away. This bug seems related to bug 7445.
Fixed now by allowing the master to talk to avahi in our SELinux permissions. Also see bug 7582.
I can verify that this has been fixed: * Reproduced the problem with 4.12.0 running on RHEL8. * The problem is indeed gone with nightly-build 6652 running on RHEL8. * tl-limit-printer works as expected when limiting my terminal to only have access to thinlocal.