Bug 130079 - stabilize slocate-2.7-r8
Bug#: 130079 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: vapier@gentoo.org Reported By: vapier@gentoo.org
Component: Core system
URL: 
Summary: stabilize slocate-2.7-r8
Keywords:  
Status Whiteboard: 
Opened: 2006-04-15 10:21 0000
Description:   Opened: 2006-04-15 10:21 0000
the locate group has been renamed in this version

------- Comment #1 From nixnut 2006-04-15 13:09:11 0000 -------
Stable on ppc.

------- Comment #2 From Jason Wever (RETIRED) 2006-04-15 14:44:08 0000 -------
SPARC'd

------- Comment #3 From Bryan Østergaard (RETIRED) 2006-04-16 03:09:50 0000 -------
Alpha stable.

------- Comment #4 From Mark Kowarsky 2006-04-16 06:15:52 0000 -------
Compiled, updatedb'd and located fine here.

rockley mark # emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3,
2.6.15-gentoo-r1 i586)
=================================================================
System uname: 2.6.15-gentoo-r1 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo
http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au/pub/gentoo
http://mirror.isp.net.au/ftp/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.145/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cli
crypt ctype cups curl dba dri eds emboss encode esd exif expat fam fastbuild
foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gpm gstreamer
gtk gtk2 idn imagemagick imlib ipv6 isdnlog java jpeg lcms libg++ libwww mad
memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg openal opengl
oss pam pcre pdflib perl png posix ppds pppd python quicktime readline samba
sdl session simplexml soap sockets spell spl ssl svga tcpd tiff tokenizer
truetype truetype-fonts type1-fonts udev usb vorbis wmf xml xml2 xmms xsl xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #5 From Chris Gianelloni (RETIRED) 2006-04-17 06:47:44 0000 -------
x86 done

------- Comment #6 From Chris White (RETIRED) 2006-04-17 12:29:40 0000 -------
amd64 stable.

------- Comment #7 From Markus Rothe 2006-04-17 13:56:46 0000 -------
stable on ppc64

------- Comment #8 From David Bergstein 2006-04-18 15:21:19 0000 -------
(In reply to comment #5)
> x86 done
> 

FYI on x86 users have to run "groupmod -n locate slocate" to rename the group
or emerge dies without installing the update.  Recommend the ebuild be modified
if practical to take care of the group name.

------- Comment #9 From SpanKY 2006-04-18 15:31:38 0000 -------
the ebuild already tells you exactly what needs to be done

you're basically telling us what the ebuild already told you

------- Comment #10 From Serge 2006-04-22 11:44:10 0000 -------
If you use LDAP "groupmod -n locate slocate" is not enough !
you have to delete the slocate entry and create the locate entry on LDAP:

example with the default ldap account :
1. create the locate group :
     ldapmodify -D "cn=Manager,dc=my-domain,dc=com" -W -a -f ldap1
     with ldap1 :
dn: cn=locate,ou=Group,dc=my-domain,dc=com
objectClass: posixGroup
objectClass: top
cn: locate
gidNumber: 245

2. Delete the slocate group :
ldapdelete  -D "cn=Manager,dc=my-domain,dc=com" -W
"cn=slocate,ou=Group,dc=my-domain,dc=com"


I'm not a ldap expert, so perhaps you could find a better way to do it.
But a warning about that could help somebody...

Serge

------- Comment #11 From Joshua Kinard 2006-04-23 11:26:32 0000 -------
Stable on mips.

------- Comment #12 From Christian Skarby 2006-04-24 04:47:02 0000 -------
Why would we like to change the unix user name? What if the system already has
another user with the new user name? This can cause trouble ..

------- Comment #13 From SpanKY 2006-04-24 22:58:23 0000 -------
all set now