Univention Bugzilla – Bug 44565
Add UCR option to disable starting of xserver + firefox during boot
Last modified: 2023-12-12 11:45:30 CET
By default, if UCR system/setup/boot/start is true, an xserver + firefox is started to display system setup on a local display. We could add an UCR option to block starting these services in u-s-s-boot.init
*** Bug 44356 has been marked as a duplicate of this bug. ***
+1 for removing X11+Firefox from EC2 (and other) cloud environments. Please adjust test/ucs-ec2-tools/examples/jenkins/utils/utils.sh accordingly, as we wait there until Firefox is started. In the past the USS start script always removed the /var/cache/univention-system-setup/profile file provided by ucs-ec2-tools while starting, so we added the delay there to work-around that behavior. Personally I would prefer to use cloud-init by default, but currently that seems to be blocked by Bug #36538 for UCS.
*** Bug 45810 has been marked as a duplicate of this bug. ***
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
I again stumbled over this in my last 3 technical trainings: TT 2020-05-20/21 TT 2020-06-25/26 TT 2020-07-01/02 as we used AWS-EC2 there and all unprovisioned systems are running X11 + Firefox needlessly. This is a wast of resources and also a minor security issue. From my reading of base/univention-system-setup/debian/univention-system-setup-boot.init setting "system/setup/boot/start=false" should be enough already, but that might have unwanted consequences. At least this should be disabled for our AWS images as the console cannot be used there anyway. Again: make sure to fix `tests/utils/utils.sh:59 basic_setup()` before such a change as ucs-test waits until it finds a running "startwithfirefox".
This does not solve the underlying issue but mitigates it for OpenStack: [5.0-6] 9b10b3f8ff fix(test/utils): rename USS profile base/univention-system-setup/tests/30net_10interfaces | 16 +++++++++------- .../usr/lib/univention-system-setup/scripts/10_basis/18root_password | 2 +- .../usr/lib/univention-system-setup/scripts/setup_utils.sh | 10 +++++----- 3 files changed, 15 insertions(+), 13 deletions(-) [5.0-6] efb5d7824f fix(USS): Stop renaming USS profile base/univention-system-setup/usr/share/univention-system-setup/startxwithfirefox | 6 ------ 1 file changed, 6 deletions(-) Package: univention-system-setup Version: 13.0.10-1 Branch: ucs_5.0-0 Scope: ucs5.0-6