﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
261	unable to create global tmp directory when nss is loaded in OES2	Sven Probst	Bruno Cornec	"Running mondoarchive under OES2 with nss-Volumes/Pools mounted results in:

{{{
        [TH=26569] libmondo-tools.c->setup_tmpdir#830: Failed to create global tmp directory /opt/novell/nss/mnt/.pools/MF/mondo.tmp.ku05CA for Mondo.

}}}

The appropiate patch is (just ignoring nsspool und nssvol-Type):

{{{
*** mondo-2.2.6.old/src/common/libmondo-devices.c       Sat May 31 19:50:37 2008
--- mondo-2.2.6/src/common/libmondo-devices.c   Tue Jun 17 09:28:33 2008
***************
*** 2381,2391 ****
  #ifdef __FreeBSD__
        strcpy(tmp,
                   call_program_and_get_last_line_of_output
!                  (""LANGUAGE=C df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs,afs,gfs,ocfs,ocfs2,mvfs | tr -s '\t' ' ' | grep -vE \""none|Filesystem\"" | awk '{printf \""%s %s\\n\"", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'""));
  #else
        strcpy(tmp,
                   call_program_and_get_last_line_of_output
!                  (""LANGUAGE=C df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs -x afs -x gfs -x ocfs -x ocfs2 -x mvfs | sed 's/                  /devdev/' | tr -s '\t' ' ' | grep -vE \""none|Filesystem|/dev/shm\"" | awk '{printf \""%s %s\\n\"", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'""));
  #endif

        if (tmp[0] != '/') {
--- 2381,2391 ----
  #ifdef __FreeBSD__
        strcpy(tmp,
                   call_program_and_get_last_line_of_output
!                  (""LANGUAGE=C df -m -P -t nonfs,msdosfs,ntfs,smbfs,smb,cifs,afs,gfs,ocfs,ocfs2,mvfs,nsspool,nssvol | tr -s '\t' ' ' | grep -vE \""none|Filesystem\"" | awk '{printf \""%s %s\\n\"", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'""));
  #else
        strcpy(tmp,
                   call_program_and_get_last_line_of_output
!                  (""LANGUAGE=C df -m -P -x nfs -x vfat -x ntfs -x smbfs -x smb -x cifs -x afs -x gfs -x ocfs -x ocfs2 -x mvfs -x nsspool -x nssvol | sed 's/                  /devdev/' | tr -s '\t' ' ' | grep -vE \""none|Filesystem|/dev/shm\"" | awk '{printf \""%s %s\\n\"", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'""));
  #endif

        if (tmp[0] != '/') {

}}}

"	defect	closed	normal	2.2.7	mondo	2.2.6	normal	fixed	nss (Volumes/Pools)	
