Bug 8606 - missing utmp on SLE 16
Summary: missing utmp on SLE 16
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: ---
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-11 16:31 CEST by Madeleine
Modified: 2025-06-18 16:22 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Madeleine cendio 2025-06-11 16:31:29 CEST
When starting a new session with "End existing session" enabled on SLE 16, you get these messages in /var/log/vsmagent.log:

> 2025-06-11 12:44:12 WARNING tl-session: pututxline: No such file or directory
> 2025-06-11 12:44:13 WARNING tl-session: pututxline: No such file or directory
> 2025-06-11 12:44:13 INFO vsmagent.session: Verified connectivity to newly started Xvnc for cendio
> 2025-06-11 12:44:13 INFO vsmagent: Unable to open /etc/ssh/sshd_config for reading: [Errno 2] No such file or directory: '/etc/ssh/sshd_config'
Comment 1 Madeleine cendio 2025-06-11 16:43:53 CEST
It seems like the warning about pututxline is caused by a missing utmp file which is required for recording user login sessions via pututxline. The warning goes away after manually creating the file: 
> sudo touch /var/run/utmp
Comment 2 Madeleine cendio 2025-06-11 17:05:47 CEST
The sshd_config file is located at /usr/etc/ssh/sshd_config on SLE 16. The warning disappears if you copy it to /etc/ssh/:
> sudo cp /usr/etc/ssh/sshd_config /etc/ssh/
Comment 3 Madeleine cendio 2025-06-18 13:51:04 CEST
Since these log messages concern separate issues, I'm splitting them into separate bugs. The warning about sshd_config has been moved to bug 8612.

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