The /opt/thinlinc/share/selinux/install script requires that a Makefile for SElinux-related stuff is installed. In F16, it was provided by the selinux-policy package which seems to be installed by default. In F17, the makefile and related files were moved to a selinux-policy-devel package which is not installed by default. The installer just says "Couldn't configure SELinux for ThinLinc." but it would be nice if we could either tell them to install the package by hand or offering to do so automatically now that we have a nice framework for installing packages.
RHEL 7 is affected by this, moving this bug from Future to --- for discussion.
Fixed in r29333:29336. This is slightly more complex than the other package installation pages as we intertwine the question if we should install our SELinux module with the question if we should install the SELinux development packages. Tester needs to verify combinations of: - Text/X11 mode - Development packages installed or not - Answering Yes/No to the SELinux module question - Answering Yes/No to the SELinux development installation question
Latest tl-setup crashes on SLED11: ... 2014-09-23 03:37:40,561: Removed zypper lock 2014-09-23 03:37:46,492: Setting /vsmserver/admin_email to 'root@localhost' 2014-09-23 03:37:52,878: Setting /tlwebadm/password 2014-09-23 03:37:54,548: Configuring CUPS... 2014-09-23 03:37:54,548: Adding 'nearest' printer queue... 2014-09-23 03:37:57,338: Adding 'thinlocal' printer queue... 2014-09-23 03:38:00,206: Done 2014-09-23 03:38:17,542: TypeError: <lambda>() takes no arguments (2 given) I'm guessing that this is because of this commit: ------------------------------------------------------------------------ r29336 | ossman | 2014-09-09 14:13:32 +0200 (tis, 09 sep 2014) | 3 lines Ändrade sökvägar: M /trunk/ctc/tlmisc/tl-setup/modules/thinlinc/tlsetup/selinux.py Install the SELinux development files if they are missing. Solves bug 5239. ------------------------------------------------------------------------ Note that the reference to bug 5239 is also incorrect.
Bug in the package installer helper. It calls the unwilling helper differently depending on various circumstances.
Fixed in r29407.
Verified using ThinLinc server build 4501. Text mode: Dev. package avail no no yes yes Install module no yes yes no Install package - yes - - Gui mode: Dev. package avail no no yes yes Install module no yes yes no Install package - yes - - Works as expected and i have also tested to break the flow using back button in the middle of process without success.