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

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



Your message dated Mon, 05 Jan 2015 23:48:36 +0000
with message-id <E1Y8HO0-0006EF-6R@franck.debian.org>
and subject line Bug#774392: fixed in debian-edu-config 1.816
has caused the Debian Bug report #774392,
regarding debian-edu-config: the script 09debian-edu-missing-home fails to work with kdm (in jessie)
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.)


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

The script should inform users if the home directory isn't available and 
show a hint about a possible reason and how to solve the problem.

This doesn't work anymore cause now kdm sets $HOME=/ before the script 
is executed.

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 ---
Source: debian-edu-config
Source-Version: 1.816

We believe that the bug you reported is fixed in the latest version of
debian-edu-config, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 774392@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated debian-edu-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 06 Jan 2015 00:36:14 +0100
Source: debian-edu-config
Binary: debian-edu-config
Architecture: source all
Version: 1.816
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Description:
 debian-edu-config - Configuration files for Skolelinux systems
Closes: 774392 774610
Changes:
 debian-edu-config (1.816) unstable; urgency=medium
 .
   [ Wolfgang Schweer ]
   * Adjust etc/X11/Xsession.d/09debian-edu-missing-home to make the
     script work with kdm now setting $HOME=/ if the user's home
     directory isn't available at login time (and before the script is
     executed). (Closes: #774392).
   * etc/ldap/slapd-squeeze_debian-edu.conf: unset 'dbnosync' to avoid
     possible data loss. (Closes: #774610).
Checksums-Sha1:
 34dfa9a1ea0a55f62a7df0d4192cfb68f4c42032 1910 debian-edu-config_1.816.dsc
 ddf2be8f54aec7d07ccf5a8eea17bc1ed3b3dbd5 504060 debian-edu-config_1.816.tar.gz
 d49468216e9e3fa22625cda2416d346aaf263bae 382654 debian-edu-config_1.816_all.deb
Checksums-Sha256:
 c8e5b3cf0b72b7997eecb8b7d3cc03d8bdf59c89c0430e51dfb8545c458ea579 1910 debian-edu-config_1.816.dsc
 0337a7a78d6ff77c07e3edbc5a6a110600b6c4f0178f7a1968d0c80ff688b3c3 504060 debian-edu-config_1.816.tar.gz
 e25986fc96f7b64790c9c57e05ecd2ea3283276084cddbc8223e90145cc2a7c3 382654 debian-edu-config_1.816_all.deb
Files:
 0fca506ee38bfbcbe0472c42fd39a935 1910 misc extra debian-edu-config_1.816.dsc
 13bdb3f8c6814cc89100761f5414cb03 504060 misc extra debian-edu-config_1.816.tar.gz
 ae61a9312ecbd9032c478c2b45bdd2e4 382654 misc extra debian-edu-config_1.816_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBVKsg+wkauFYGmqocAQqmww/7BZkwKsOk73uns+kvEpRqKWRv8Fs8J7fJ
XP33oq+Oc0RL2eCxEBzJ0W4xWftsoNlooafDWbEYY07b/zUOoI7Wh+zBQG/CSwUr
w0lkCuGf0rFMPgFjZVCRV8KZJrLD4fuBuaaSiePgo0NIBhz9Kd0snYTx+bAf/m/Z
aLwz2hzK2IErfl/pbjMwgpp5JXGrebq40ZofS9Z7mNlBY+1S/vBrhX6177qBLoVo
BsfhtEqov8xnMkCODvhRLtf2LX2PFTimi2qGGkwdeMg8bnKeD/6pqsMxzOX5Hxya
gGIeYA1+MxZJs1S0yTWp3qmFfE1vOVIsbpr55O1I2JMaGvHnCfwPClEzzSc0YBR4
I8t6Pklijqz6zdUsgEIvj75msRSYNC9VUvOohkVuI3hl/FYZwGKXxfK0HlDg0M8g
6bnSpn4E53IY9N+F0HiZaX8jeJzk3FDSeeQJI/n4Au25FhzD8LsPKmND/4K2e3tw
+LL/EgA0NwWiDis0Eb2tcqXdNyHwE0E3Ft8LU2GQLwTzFfmtcOdJPe/txmDeL007
VL4q4toN0rgegYFHqOW07P5eoIGmnfi7TeHqJTmDtD4XotrSpVpcjC1jn2z7FmaZ
S5P+2sERgUo1D4xFC3ouXydvs5+pEnap0SbS0OPAoNYWS/Dq/jzI8tMYmxbZqGfi
siRpCnXGI3w=
=QCLF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: