Changeset 540


Ignore:
Timestamp:
10/09/09 20:13:17 (2 years ago)
Author:
tschmitt
Message:
  • Mountoptionen in pam_mount.conf.xml-Vorlage für Hardy und Intrepid angepasst: iocharset=utf8 ergänzt, rsize und wsize entfernt.
  • Weitere auszuschließende Dateien in /etc/linuxmuster-client/profile.exclude ergänzt.
  • Kleine Aufräumaktion in helperfunctions.sh.
  • "exit 0" am Ende von /etc/gdm/PostLogin/Default ergänzt (ohne das bricht Hardy's gdm den Login-Vorgang ab).
  • Obsolete Konfigurationsdatei hardy/templates/etc/security/pam_mount.conf entfernt.
Location:
client/linuxmuster-client/trunk
Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • client/linuxmuster-client/trunk/debian/changelog

    r538 r540  
     1linuxmuster-client (0.9.14-1) testing; urgency=low 
     2 
     3  * added iocharset=utf8 to and removed wsize,rsize mount options from pam_mount.conf.xml template for hardy and intrepid also. 
     4  * added more excludes to profile.exclude. 
     5  * minor code cleanup in helperfunctions.sh. 
     6  * added "exit 0" at the end of /etc/gdm/PostLogin/Default (an error causes Hardy's gdm to cancle the user session. 
     7  * removed obsolete config file hardy/templates/etc/security/pam_mount.conf. 
     8 
     9 -- Thomas Schmitt <schmitt@lmz-bw.de>  Fri, 9 Oct 2009 19:48:13 +0200 
     10 
    111linuxmuster-client (0.9.13-1) testing; urgency=low 
    212 
  • client/linuxmuster-client/trunk/etc/Default

    r538 r540  
    6565fi 
    6666 
     67exit 0 
     68 
  • client/linuxmuster-client/trunk/etc/profile.exclude

    r538 r540  
    33keyrings/ 
    44metacity/sessions/ 
     5share/tracker/ 
     6share/Trash/ 
     7tracker/ 
    58 
  • client/linuxmuster-client/trunk/hardy/templates/etc/security/pam_mount.conf.xml

    r400 r540  
    1414<umount>/usr/share/linuxmuster-client/umount.sh %(USER) %(MNTPT)</umount> 
    1515 
    16  
    17  
    1816<mntcheck>/bin/mount</mntcheck> 
    1917 
    2018<pmvarrun>/usr/sbin/pmvarrun -u %(USER) -d -o %(OPERATION)</pmvarrun> 
    2119 
    22 <volume options="rw,nosuid,nodev,wsize=8192,rsize=8192,nobrl" user="*" mountpoint="~" path="%(USER)" server="@@serverip@@" fstype="cifs" /> 
     20<volume options="rw,nosuid,nodev,iocharset=utf8,nobrl" user="*" mountpoint="~" path="%(USER)" server="@@serverip@@" fstype="cifs" /> 
    2321 
    24 <volume options="rw,nosuid,nodev,wsize=8192,rsize=8192" user="*" mountpoint="@@studentshome@@" path="students" server="@@serverip@@" fstype="cifs" /> 
     22<volume options="rw,nosuid,nodev,iocharset=utf8" user="*" mountpoint="@@studentshome@@" path="students" server="@@serverip@@" fstype="cifs" /> 
    2523 
    26 <volume options="rw,nosuid,nodev,wsize=8192,rsize=8192" user="*" mountpoint="@@sharehome@@" path="shares" server="@@serverip@@" fstype="cifs" /> 
     24<volume options="rw,nosuid,nodev,iocharset=utf8" user="*" mountpoint="@@sharehome@@" path="shares" server="@@serverip@@" fstype="cifs" /> 
    2725 
    28 <volume options="rw,nosuid,nodev,wsize=8192,rsize=8192" user="*" mountpoint="@@progsdir@@" path="pgm" server="@@serverip@@" fstype="cifs" /> 
     26<volume options="rw,nosuid,nodev,iocharset=utf8" user="*" mountpoint="@@progsdir@@" path="pgm" server="@@serverip@@" fstype="cifs" /> 
    2927 
    30 <volume options="rw,nosuid,nodev,wsize=8192,rsize=8192" user="*" mountpoint="@@cdsdir@@" path="cdrom" server="@@serverip@@" fstype="cifs" /> 
     28<volume options="rw,nosuid,nodev,iocharset=utf8" user="*" mountpoint="@@cdsdir@@" path="cdrom" server="@@serverip@@" fstype="cifs" /> 
    3129 
    32 <volume options="rw,nosuid,nodev,wsize=8192,rsize=8192" user="*" mountpoint="@@taskscache@@" path="tasks" server="@@serverip@@" fstype="cifs" /> 
     30<volume options="rw,nosuid,nodev,iocharset=utf8" user="*" mountpoint="@@taskscache@@" path="tasks" server="@@serverip@@" fstype="cifs" /> 
    3331 
    34 <volume options="rw,nosuid,nodev,wsize=8192,rsize=8192" user="*" mountpoint="@@backupmntpoint@@" path="backup" server="@@serverip@@" fstype="cifs" /> 
     32<volume options="rw,nosuid,nodev,iocharset=utf8" user="*" mountpoint="@@backupmntpoint@@" path="backup" server="@@serverip@@" fstype="cifs" /> 
    3533 
    3634</pam_mount> 
  • client/linuxmuster-client/trunk/share/helperfunctions.sh

    r538 r540  
    1414# get user homedir 
    1515get_userhome() { 
    16         userhomecache=/tmp/.home-$USER 
     16        local userhomecache=/tmp/.home-$USER 
    1717        if [ ! -s "$userhomecache" ]; then 
    1818                getent passwd $USER | cut -f6 -d: > $userhomecache 
     
    2525# checking if directory is empty, in that case it returns 0 
    2626check_empty_dir() { 
    27   unset RET 
     27  local RET 
    2828  RET=$(ls -A1 $1 2>/dev/null | wc -l) 
    29   [ "$RET" = "0" ] && return 0 
    30   return 1 
     29  return $RET 
    3130} 
    3231 
  • client/linuxmuster-client/trunk/share/mount.sh

    r538 r540  
    6363done 
    6464 
    65 # handle .cache and .gvfs 
    66 for i in .cache .gvfs; do 
    67  [ -e "/tmp/${i}-${USER}" ] && rm -rf /tmp/${i}-${USER} 
    68  [ -e "$HOME/$i" ] && rm -rf $HOME/$i 
    69  mkdir -p /tmp/${i}-${USER} 
    70  chown $USER /tmp/${i}-${USER} 
    71  chmod 700 /tmp/${i}-${USER} 
    72  ln -s /tmp/${i}-${USER} $HOME/${i} 
    73 done 
    74  
    75 # remove .pulse dir 
    76 rm -rf $HOME/.pulse 
    77  
  • client/linuxmuster-client/trunk/share/umount.sh

    r538 r540  
    5858 done 
    5959 
    60  # handle .cache and .gvfs 
    61  for i in .cache .gvfs; do 
    62   [ -e "/tmp/${i}-${USER}" ] && rm -rf /tmp/${i}-${USER} 
    63   [ -e "$HOME/$i" ] && rm -rf $HOME/$i 
    64  done 
    65  
    6660fi 
    6761 
Note: See TracChangeset for help on using the changeset viewer.