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

Bug#774395: marked as done (debian-edu-config: the script 09debian-edu-missing-home fails to work with kdm)



Your message dated Fri, 2 Jan 2015 00:53:34 +0100
with message-id <20150101235334.GA15529@local.schweer-online.de>
and subject line Re: Bug#774395: debian-edu-config: the script 09debian-edu-missing-home fails to work with kdm
has caused the Debian Bug report #774395,
regarding debian-edu-config: the script 09debian-edu-missing-home fails to work with kdm
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.)


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

With kdm in jessie the script doesn't work anymore cause kdm sets 
$HOME=/ before the script is executed.

So users are not informed about a possible reason for the failing login 
and don't get a hint how to solve the problem.

The patch has been tested and committed to git.


diff --git a/etc/X11/Xsession.d/09debian-edu-missing-home b/etc/X11/Xsession.d/09debian-edu-missing-home
index e348bf7..ae74cdd 100755
--- a/etc/X11/Xsession.d/09debian-edu-missing-home
+++ b/etc/X11/Xsession.d/09debian-edu-missing-home
@@ -5,14 +5,14 @@
 if [ -r /etc/debian-edu/config ] ; then
     . /etc/debian-edu/config
     if echo "$PROFILE" | egrep -q 'Workstation|Thin-Client-Server|Minimal' ; then
-	if [ ! -d $HOME ] ; then
+	if [ ! -d $HOME -o / = "$HOME" ] ; then
 	    cat <<EOF | \
 		xmessage -buttons Understood:0 -timeout 30 -center -file - 
-Missing user home directory $HOME.
+Missing user home directory.
 
-Check if the current computer DNS name in the NIS netgroup
+Check if the current computer DNS name is in the NIS netgroup
 workstation-hosts and authorized to mount the home directories from
-the NFS server.  This is done using Gosa, http://www/gosa/ .
+the NFS server.  This is done using Gosa, https://www/gosa/ .
 EOF
 	    exit 1
 	fi


Wolfgang

--- End Message ---
--- Begin Message ---
Closing duplicate report. Issue is tracked in #774392.

Wolfgang

--- End Message ---

Reply to: