Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130337 - slocate-2.7-r8: rename of slocate to locate does not work
Summary: slocate-2.7-r8: rename of slocate to locate does not work
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 130853 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-18 02:12 UTC by Toralf Förster
Modified: 2006-04-22 10:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2006-04-18 02:12:00 UTC
...
>>> md5 files   ;-) files/digest-slocate-2.7-r8
>>> md5 src_uri ;-) slocate-2.7.tar.gz
>>> md5 src_uri ;-) slocate-2.7-debian.patch.bz2
 * The 'slocate' group has been renamed to 'locate'.

I did :
n22 / # grep locate /etc/group
slocate:x:245:

But a after that a manual command works:
n22 / # groupmod -n locate slocate
n22 / # grep locate /etc/group
locate:x:245:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-18 06:52:43 UTC
> But a after that a manual command works

Uhm? That's what you are supposed to do...

slocate-2.7-r8.ebuild
<snip>
       if [[ -n $(egetent group slocate) ]] ; then
                eerror "The 'slocate' group has been renamed to 'locate'."
                eerror "You seem to already have a 'slocate' group."
                eerror "Please rename it:"
                eerror "groupmod -n locate slocate"
                die "Change 'slocate' to 'locate'"
        fi
</snip>

Also, how is this related to baselayout?
Comment 2 Toralf Förster gentoo-dev 2006-04-18 07:26:45 UTC
>Uhm? That's what you are supposed to do...
Yes, I know, but the log says:
"* The 'slocate' group has been renamed to 'locate'."

But that was not true, look at the grep output. I had to rename the group manually.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-18 07:28:58 UTC
(In reply to comment #2)
> >Uhm? That's what you are supposed to do...
> Yes, I know, but the log says:
> "* The 'slocate' group has been renamed to 'locate'."

Would you kindly read the *whole* message (as pasted above)?!
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-18 07:29:29 UTC
CLOSED.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-04-22 09:51:54 UTC
*** Bug 130853 has been marked as a duplicate of this bug. ***
Comment 6 Mark Knecht 2006-04-22 10:11:12 UTC
Does this 'solution' imply that going forard every Gentoo user will be required to run the groupmod command for every update of slocate that comes in the future? Interesting 'solution'...

Thanks - the groupmod command does work. 
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-04-22 10:58:45 UTC
(In reply to comment #6)
> Does this 'solution' imply that going forard every Gentoo user will be required
> to run the groupmod command for every update of slocate that comes in the
> future? Interesting 'solution'...

No, it obviously doesn't. It won't be an issue with any following release of slocate, until the group changes again.