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

Bug#720396: debian-edu-config: debian-edu-config/tools/gosa-create buggy with set -e

Package: debian-edu-config
Version: 1.456
Severity: important

*** Please type your report below this line ***

begins with
set -e
which means, that it cancels execution after one command which returns
further down the script there are the commands
nscd -i passwd
nscd -i group
which, as i tried them, returned false (don't know why, but to be
robust, the script should expect that). so gosa-create doesn't get to
create the kerberos-principal of the user which in turn prohibits the
user to login via ssh.
also the
chown $user:$user $homedir
wont be executed.
i fixed that by augmenting both the
nscd -i ...
lines with "|| true":
nscd -i passwd || true
nscd -i group || true

then it worked.

thanks for reading.

-- System Information:
Debian Release: 6.0.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debian-edu-config depends on:
ii base-files 6.0squeeze7 Debian base system miscellaneous f ii bind9-host [hos 1:9.7.3.dfsg-1~squeeze11 Version of 'host' bundled with BIN ii cfengine2 2.2.10-2 Tool for configuring and maintaini ii debconf [debcon Debian configuration management sy
ii  debconf-utils                 debconf utilities
ii  debian-edu-artw 0.0.33-2                 Debian Edu themes and artwork
ii desktop-profile 1.4.15+nmu1 framework for setting up desktop p
ii  discover        2.1.2-5                  hardware identification system
ii  education-tasks 0.855                    Debian Edu tasks for tasksel
ii fping 2.4b2-to-ipv6-16.1 sends ICMP ECHO_REQUEST packets to
ii  host            1:9.7.3.dfsg-1~squeeze11 Transitional package
ii  ldap-utils      2.4.23-7.3               OpenLDAP utilities
ii libconfig-inifi 2.52-1+squeeze1 Read .ini-style configuration file ii libfilesys-df-p 0.92-3+b1 Module to obtain filesystem disk s
ii  libhtml-fromtex 2.05-5.1                 Mark up text as HTML
ii libio-socket-ss 1.33-1+squeeze1 Perl module implementing object or ii libnet-ldap-per 1:0.4001-2 client interface to LDAP servers ii libnet-netmask- 1.9015-4 parse, manipulate and lookup IP ne ii libterm-readkey 2.30-4 A perl module for simple terminal ii libtext-unaccen 1.08-1+b1 provides functions to remove accen ii lockfile-progs 0.1.15+squeeze1 Programs for locking and unlocking ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii  net-tools       1.60-23                  The NET-3 networking toolkit
ii ng-utils 0.7-1 Tool to access netgroups from the ii openssl 0.9.8o-4squeeze14 Secure Socket Layer (SSL) binary a ii patch 2.6-2 Apply a diff file to an original ii python 2.6.6-3+squeeze7 interactive high-level object-orie
ii  python-notify   0.1.1-2+b2               Python bindings for libnotify
ii smbldap-tools 0.9.5-1 Scripts to manage Unix and Samba a ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL ii tftp 0.17-18 Trivial file transfer protocol cli

Versions of packages debian-edu-config recommends:
ii ddccontrol 0.4.2-6 a program to control monitor param ii libjavascript-perl 1.16-3 module for executing embedded Java ii libnotify-bin 0.5.0-2 sends desktop notifications to a n
ii  lsof                       4.81.dfsg.1-1 List open files
ii memtest86+ 4.10-1.1 thorough real-mode memory tester
ii  resolvconf                 1.46          name server information handler
ii  syslinux                   2:4.02+dfsg-7 collection of boot loaders

Versions of packages debian-edu-config suggests:
ii  atftpd                      0.7.dfsg-9.1 advanced TFTP server

-- Configuration Files:
/etc/bind/db.0.168.192.in-addr.arpa. changed [not included]
/etc/bind/db.1.168.192.in-addr.arpa. changed [not included]
/etc/bind/db.10.in-addr.arpa. changed [not included]
/etc/bind/db.intern changed [not included]
/etc/bind/db.subnet00.intern. changed [not included]
/etc/bind/db.subnet01.intern. changed [not included]
/etc/gosa/gosa.conf changed [not included]
/etc/samba/netlogon/config/penguin.bat changed [not included]
/etc/samba/netlogon/debian-edu-login.bat changed [not included]
/etc/smbldap-tools/smbldap_bind.conf changed [not included]

-- debconf information excluded

Reply to: