* [gentoo-user] glibc builds but won't install
@ 2005-08-15 23:45 darren kirby
2005-08-15 23:52 ` Joe Menola
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: darren kirby @ 2005-08-15 23:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1986 bytes --]
Hello all,
I have been having some problems getting glibc installed. It builds just fine,
but when it comes time to move the files into the live filesystem it craps
out with this error:
<snip>
>>> /usr/share/i18n/locales/oc_FR
>>> /usr/share/i18n/locales/nn_NO
!!! copy /var/tmp/portage/glibc-2.3.5/image/usr/share/i18n/locales/fr_BE@euro
-> /usr/share/i18n/locales/fr_BE@euro failed.
!!! [Errno 13] Permission denied
When I list the directory I get:
ls: fr_BE@euro: Permission denied
ls: tig_ER: Permission denied
ls: translit_combining: Permission denied
ls: wa_BE@euro: Permission denied
ls: wal_ET: Permission denied
ls: gez_ER@abegede: Permission denied
ls: fr_LU@euro: Permission denied
ls: translit_font: Permission denied
ls: translit_wide: Permission denied
ls: de_LU@euro: Permission denied
ls: fr_FR@euro: Permission denied
ls: br_FR@euro: Permission denied
ls: gez_ET@abegede: Permission denied
ls: translit_small: Permission denied
but the rest of the files are shown normally. I cannot delete these files
manually either...
So the question is, what are these files, why are the permissions screwed up,
and how do I fix this. The strange thing is I use locales.build which
contains only:
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
Isn't locales.build supposed to get glibc to _not_ build any other locales?
uname -a:
Linux vyvyan 2.6.10-hardened-r3 #1 Fri Jan 28 11:17:17 PST 2005 i686 AMD
Duron(tm) processor AuthenticAMD GNU/Linux
glibc version I am trying to build is 2.3.5
I do use grsecurity kernel, but no file ACL's or anything, so I don't
understand the Permission denied messages.
Any help is greatly appreciated. If I forgot to mention some important info
please just ask,
Thanks,
darren
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] glibc builds but won't install
2005-08-15 23:45 [gentoo-user] glibc builds but won't install darren kirby
@ 2005-08-15 23:52 ` Joe Menola
2005-08-16 0:20 ` darren kirby
2005-08-16 0:17 ` Neil Bothwick
2005-08-16 19:24 ` Benno Schulenberg
2 siblings, 1 reply; 9+ messages in thread
From: Joe Menola @ 2005-08-15 23:52 UTC (permalink / raw
To: gentoo-user
On Monday August 15 2005 6:45 pm, darren kirby wrote:
> Hello all,
>
> I have been having some problems getting glibc installed. It builds just
> fine, but when it comes time to move the files into the live filesystem it
> craps out with this error:
>
> <snip>
>
> >>> /usr/share/i18n/locales/oc_FR
> >>> /usr/share/i18n/locales/nn_NO
>
> !!! copy
> /var/tmp/portage/glibc-2.3.5/image/usr/share/i18n/locales/fr_BE@euro ->
> /usr/share/i18n/locales/fr_BE@euro failed.
> !!! [Errno 13] Permission denied
Have you tried "chown -R root /usr/sharei18n/locales "?
-jm
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] glibc builds but won't install
2005-08-15 23:45 [gentoo-user] glibc builds but won't install darren kirby
2005-08-15 23:52 ` Joe Menola
@ 2005-08-16 0:17 ` Neil Bothwick
2005-08-16 6:30 ` darren kirby
2005-08-16 19:24 ` Benno Schulenberg
2 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2005-08-16 0:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
On Mon, 15 Aug 2005 16:45:31 -0700, darren kirby wrote:
> Isn't locales.build supposed to get glibc to _not_ build any other
> locales?
Only if you emerge glibc with the userlocales USE flag.
--
Neil Bothwick
Psychiatrists say that 1 of 4 people are mentally ill.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] glibc builds but won't install
2005-08-15 23:52 ` Joe Menola
@ 2005-08-16 0:20 ` darren kirby
2005-08-16 0:46 ` Joe Menola
0 siblings, 1 reply; 9+ messages in thread
From: darren kirby @ 2005-08-16 0:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2131 bytes --]
quoth the Joe Menola:
> On Monday August 15 2005 6:45 pm, darren kirby wrote:
> > Hello all,
> >
> > I have been having some problems getting glibc installed. It builds just
> > fine, but when it comes time to move the files into the live filesystem
> > it craps out with this error:
> >
> > <snip>
> >
> > >>> /usr/share/i18n/locales/oc_FR
> > >>> /usr/share/i18n/locales/nn_NO
> >
> > !!! copy
> > /var/tmp/portage/glibc-2.3.5/image/usr/share/i18n/locales/fr_BE@euro ->
> > /usr/share/i18n/locales/fr_BE@euro failed.
> > !!! [Errno 13] Permission denied
>
> Have you tried "chown -R root /usr/sharei18n/locales "?
>
> -jm
Hello,
# chown -R root /usr/share/i18n/locales
chown: cannot access `/usr/share/i18n/locales/fr_BE@euro': Permission denied
chown: cannot access `/usr/share/i18n/locales/tig_ER': Permission denied
chown: cannot access `/usr/share/i18n/locales/translit_combining': Permission
denied
chown: cannot access `/usr/share/i18n/locales/wa_BE@euro': Permission denied
chown: cannot access `/usr/share/i18n/locales/wal_ET': Permission denied
chown: cannot access `/usr/share/i18n/locales/gez_ER@abegede': Permission
denied
chown: cannot access `/usr/share/i18n/locales/fr_LU@euro': Permission denied
chown: cannot access `/usr/share/i18n/locales/translit_font': Permission
denied
chown: cannot access `/usr/share/i18n/locales/translit_wide': Permission
denied
chown: cannot access `/usr/share/i18n/locales/de_LU@euro': Permission denied
chown: cannot access `/usr/share/i18n/locales/fr_FR@euro': Permission denied
chown: cannot access `/usr/share/i18n/locales/br_FR@euro': Permission denied
chown: cannot access `/usr/share/i18n/locales/gez_ET@abegede': Permission
denied
chown: cannot access `/usr/share/i18n/locales/translit_small': Permission
denied
So these files are owned by someone more powerfull than root? I am really
confused here...
-darren
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] glibc builds but won't install
2005-08-16 0:20 ` darren kirby
@ 2005-08-16 0:46 ` Joe Menola
0 siblings, 0 replies; 9+ messages in thread
From: Joe Menola @ 2005-08-16 0:46 UTC (permalink / raw
To: gentoo-user
On Monday August 15 2005 7:20 pm, darren kirby wrote:
> Hello,
> # chown -R root /usr/share/i18n/locales
> chown: cannot access `/usr/share/i18n/locales/fr_BE@euro': Permission
> denied chown: cannot access `/usr/share/i18n/locales/tig_ER': Permission
> denied chown: cannot access `/usr/share/i18n/locales/translit_combining':
> Permission denied
> chown: cannot access `/usr/share/i18n/locales/wa_BE@euro': Permission
> denied chown: cannot access `/usr/share/i18n/locales/wal_ET': Permission
> denied chown: cannot access `/usr/share/i18n/locales/gez_ER@abegede':
> Permission denied
> chown: cannot access `/usr/share/i18n/locales/fr_LU@euro': Permission
> denied chown: cannot access `/usr/share/i18n/locales/translit_font':
> Permission denied
> chown: cannot access `/usr/share/i18n/locales/translit_wide': Permission
> denied
> chown: cannot access `/usr/share/i18n/locales/de_LU@euro': Permission
> denied chown: cannot access `/usr/share/i18n/locales/fr_FR@euro':
> Permission denied chown: cannot access
> `/usr/share/i18n/locales/br_FR@euro': Permission denied chown: cannot
> access `/usr/share/i18n/locales/gez_ET@abegede': Permission denied
> chown: cannot access `/usr/share/i18n/locales/translit_small': Permission
> denied
>
> So these files are owned by someone more powerfull than root? I am really
> confused here...
Yikes! I saw on eBay where someone had a perogi that Jesus had appeared
on...maybe the same has happended to your hdd? ;)
My guess is it's some sort of file corruption, if worse comes to worse, I
guess you could just rename the locales directory so the new files can be
installed?
Caution...I know nothing, you've been warned.
-jm
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] glibc builds but won't install
2005-08-16 0:17 ` Neil Bothwick
@ 2005-08-16 6:30 ` darren kirby
0 siblings, 0 replies; 9+ messages in thread
From: darren kirby @ 2005-08-16 6:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
quoth the Neil Bothwick:
> On Mon, 15 Aug 2005 16:45:31 -0700, darren kirby wrote:
> > Isn't locales.build supposed to get glibc to _not_ build any other
> > locales?
>
> Only if you emerge glibc with the userlocales USE flag.
I do have this flag set...
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] glibc builds but won't install
2005-08-15 23:45 [gentoo-user] glibc builds but won't install darren kirby
2005-08-15 23:52 ` Joe Menola
2005-08-16 0:17 ` Neil Bothwick
@ 2005-08-16 19:24 ` Benno Schulenberg
2005-08-16 20:33 ` darren kirby
2 siblings, 1 reply; 9+ messages in thread
From: Benno Schulenberg @ 2005-08-16 19:24 UTC (permalink / raw
To: gentoo-user
darren kirby wrote:
> I do use grsecurity kernel, but no file ACL's or anything,
Have you tried booting into a vanilla kernel, listing the dir and
removing the files? If that succeeds, you know a little more.
Benno
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] glibc builds but won't install
2005-08-16 19:24 ` Benno Schulenberg
@ 2005-08-16 20:33 ` darren kirby
2005-08-17 10:03 ` Benno Schulenberg
0 siblings, 1 reply; 9+ messages in thread
From: darren kirby @ 2005-08-16 20:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]
quoth the Benno Schulenberg:
> darren kirby wrote:
> > I do use grsecurity kernel, but no file ACL's or anything,
>
> Have you tried booting into a vanilla kernel, listing the dir and
> removing the files? If that succeeds, you know a little more.
>
> Benno
Hello,
A good suggestion, but this is a live server, so downtime is an issue.
However, I took Joe's advice and simply renamed the locales directory, and
created a new one. This seemed to work fine but then I ran into this:
>>> /usr/share/info/libc.info-8.gz
>>> /usr/share/info/libc.info-9.gz
--- /usr/share/zoneinfo/
!!! copy /var/tmp/portage/glibc-2.3.5/image/usr/share/zoneinfo/GB
-> /usr/share/zoneinfo/GB failed.
!!! [Errno 13] Permission denied
So it would seem The zoneinfo directory has similar screwy permissions.
While it appears I can get around this, I don't like the idea of all these
files that I can't touch. Has anyone seen something like this?
Also, I have rebuilt the glibc several times through this ordeal, and at 5-6
hours per pop it is getting tedious to try new things. Glibc _was_ built
correctly, so is there anyway I can manually copy the rest of the files from
the portage sandbox to the live filesystem without having to rebuild it
again?
The problem is that whatever files get copied before it craps out are in the
live filesystem, while files after are not copied, so I have a mish-mash of
old and new glibc files installed. To me, this is going to cause issues down
the road...
Thanks for the help,
darren
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] glibc builds but won't install
2005-08-16 20:33 ` darren kirby
@ 2005-08-17 10:03 ` Benno Schulenberg
0 siblings, 0 replies; 9+ messages in thread
From: Benno Schulenberg @ 2005-08-17 10:03 UTC (permalink / raw
To: gentoo-user
darren kirby wrote:
> Also, I have rebuilt the glibc several times through this ordeal,
> and at 5-6 hours per pop it is getting tedious to try new things.
> Glibc _was_ built correctly, so is there anyway I can manually
> copy the rest of the files from the portage sandbox to the live
> filesystem without having to rebuild it again?
Yes,
ebuild /usr/portage/sys-libs/glibc/glibc-2.3.5.ebuild merge
or whatever precise ebuild you were trying to emerge. It detects
that the package is already compiled and skips that step, simply
keeps the work, and installs it.
> The problem is that whatever files get copied before it craps out
> are in the live filesystem, while files after are not copied, so
> I have a mish-mash of old and new glibc files installed.
When updating such an important package as glibc, it might be wise
to first use quickpkg, to create a binary package of the existing
glibc, one that can be reinstalled in a minute or two (with emerge
-K) when the update goes wrong. Myself I don't do this by the way,
(:), but seeing as yours is a server...
Benno
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-08-17 10:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-15 23:45 [gentoo-user] glibc builds but won't install darren kirby
2005-08-15 23:52 ` Joe Menola
2005-08-16 0:20 ` darren kirby
2005-08-16 0:46 ` Joe Menola
2005-08-16 0:17 ` Neil Bothwick
2005-08-16 6:30 ` darren kirby
2005-08-16 19:24 ` Benno Schulenberg
2005-08-16 20:33 ` darren kirby
2005-08-17 10:03 ` Benno Schulenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox