[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#692539: marked as done (debian-edu-config: Diskless workstations with XFCE do not register logged in users in utmp)



Your message dated Sat, 4 Jun 2016 11:00:19 +0000
with message-id <20160604110019.GD9224@layer-acht.org>
and subject line closing this bugs as things have changed with systemd a lot
has caused the Debian Bug report #692539,
regarding debian-edu-config: Diskless workstations with XFCE do not register logged in users in utmp
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
692539: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692539
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Version: 1.453
Severity: important

A customer reported that shutdown-at-night on diskless workstations
running XFCE turn off machines even if there is a user logged in.  The
cause is that the logged in user is not registered in utmp, causing
'who' to not show any logged in users, making shutdown-at-night to
believe the machine is unused.

I am not quite sure why, but one idea might be that /var/lib/kdm is used
to store the current user status, and the fact that this directory isn't
writable causes kdm to not update utmp.  If that is the case, this patch
should solve it.

Index: debian/changelog
===================================================================
--- debian/changelog    (revisjon 78309)
+++ debian/changelog    (arbeidskopi)
@@ -11,6 +11,12 @@
     object. Closes: #687256.
   * Fix smbaddclient.sh, use ,,set +e'' instead of non-bash-syntax ,,unset -e''.
 
+  [ Petter Reinholdtsen ]
+  * Adjust ltsp_config.d/debian-edu-config-rwbind to make /var/lib/kdm
+    writable to allow kdm to record user status, making kdm log logged
+    in users to utmp and thus make sure shutdown-at-night do not try
+    to turn off occupied diskless workstations used after 16:00.
+
  -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de>  Mon, 20 Aug 2012 12:31:31 +0200
 
 debian-edu-config (1.454~svn77318) squeeze-test; urgency=low
Index: share/ltsp/ltsp_config.d/debian-edu-config-rwbind
===================================================================
--- share/ltsp/ltsp_config.d/debian-edu-config-rwbind   (revisjon 78309)
+++ share/ltsp/ltsp_config.d/debian-edu-config-rwbind   (arbeidskopi)
@@ -43,6 +43,11 @@
            rw_dirs="$rw_dirs /var/lib/gdm"
        fi
 
+        # Make sure KDM is able to update user status
+       if [ -d /var/lib/kdm ] ; then
+           rw_dirs="$rw_dirs /var/lib/kdm"
+       fi
+
         # Make sure rwhod can work
        rw_dirs="$rw_dirs /var/spool/rwho"
 

I have not been able to test if this solution work, but mention it here
in case any one have time to test it.

-- 
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
version: 1.818

Hi,

I'm closing this bug with the jessie version since things in this area have
changed a lot with systemd.

Please report a new bug if this issue still persists with jessie!


-- 
cheers,
	Holger

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: