Can you also share the output of: $ tty
in a case where this is affected? I wonder if it would make sense to conditionalize the script based on that. This was also reported upstream [1]. So far, a workaround to disable the script has been documented in the script itself[2]. It says: # This file is "activated" through systemd-tmpfiles which links it into # /etc/profile.d/. To disable this, remove the # /etc/profile.d/80-systemd-osc-context.sh symlink and mask the # 20-systemd-osc-context.conf snippet (as root): # # test -h /etc/profile.d/80-systemd-osc-context.sh && \ # rm -v /etc/profile.d/80-systemd-osc-context.sh && \ # ln -s /dev/null /etc/tmpfiles.d/20-systemd-osc-context.conf [1] https://github.com/systemd/systemd/issues/42333 [2] https://github.com/systemd/systemd/commit/5991f0b861daf1e907240a340bc872c5d81390e7 ** Bug watch added: github.com/systemd/systemd/issues #42333 https://github.com/systemd/systemd/issues/42333 ** Changed in: systemd (Ubuntu) Status: Incomplete => Confirmed ** Changed in: systemd (Ubuntu) Assignee: (unassigned) => Nick Rosbrook (enr0n) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2150520 Title: systemd OSC context script emits escape sequences on hardware serial consoles (ttyS0), disturbing serial interface To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2150520/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
