You are not logged in.

#1 2010-05-05 19:36:06

Jrballesteros05
Member
From: Valledupar - Colombia
Registered: 2009-07-15
Posts: 16
Website

Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Hello everybody, I just want to say sorry for my English. I'm not a native speaker. I have this problem on my laptop when I boot the system. I've installed plymouth and I think is a good splash screen, though When my laptop is booting I have this message.

"GLIB WARNING ** GLib - getpwuid_r(): failed due to unknown user id (0)"

I've followed step by step all the instructions from the wiki to install plymouth but I have this warning. I've read that the warning is not a problem and I can hide, I was looking in google how to hide this message but I haven't found anything.

Can Anyone help me? Did I do anything wrong?

This is my Graphic Card

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

Thanks everyone for your help. smile

Last edited by Jrballesteros05 (2011-04-30 22:10:31)


Archlinux Colombia!!! smile

Offline

#2 2010-05-06 11:02:35

Not eXist
Member
From: Ukraine
Registered: 2010-05-06
Posts: 4
Website

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

I don't think, that you did something wrong, because i got this warning too.
My graphic card is intel gma950.

Offline

#3 2010-05-06 13:49:30

futuremonkey
Member
Registered: 2009-02-28
Posts: 49

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Same problem here, after installing Plymouth per the wiki guide.  Plymouth worked, except for the message.

After pacman -Syu yesterday, though, Plymouth no longer works.  The message remains.  This is what was upgraded:

[2010-05-05 08:36] synchronizing package lists
[2010-05-05 08:38] starting full system upgrade
[2010-05-05 08:56] upgraded cracklib (2.8.13-2 -> 2.8.16-1)
[2010-05-05 08:56] upgraded glib2 (2.24.0-1 -> 2.24.1-1)
[2010-05-05 08:56] upgraded glibmm (2.24.1-1 -> 2.24.2-1)
[2010-05-05 08:56] upgraded gtk2 (2.20.0-2 -> 2.20.1-2)
[2010-05-05 08:56] upgraded pangomm (2.26.1-1 -> 2.26.2-1)
[2010-05-05 08:56] upgraded gtkmm (2.20.2-1 -> 2.20.3-1)
[2010-05-05 08:56] upgraded imagemagick (6.6.1.4-1 -> 6.6.1.5-1)
[2010-05-05 08:56] upgraded jack (0.118.0-2 -> 0.118.0-3)
[2010-05-05 08:56] upgraded libgdiplus (2.6.2-1 -> 2.6.4-1)
[2010-05-05 08:56] upgraded mono (2.6.3-1 -> 2.6.4-1)
[2010-05-05 08:56] upgraded psmisc (22.10-1 -> 22.11-1)
[2010-05-05 08:56] upgraded rrdtool (1.4.2-2 -> 1.4.3-1)
[2010-05-05 08:56] upgraded taglib (1.6.2-1 -> 1.6.3-1)
[2010-05-05 08:56] upgraded transmission-gtk (1.92-2 -> 1.93-1)
[2010-05-05 08:56] upgraded tzdata (2010h-1 -> 2010i-1)
[2010-05-05 08:56] upgraded vinagre (2.30.0-2 -> 2.30.1-1)
[2010-05-05 09:28] upgraded libx86emu (1.1-21 -> 1.1-22)


My chipset is
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

Offline

#4 2010-05-06 15:19:37

chakra-user
Member
Registered: 2010-03-07
Posts: 74

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Same problem. Wonder if we can use something else than plymouth. What does other distros use like Ubuntu? XSplash?

Offline

#5 2010-05-06 15:21:34

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

chakra-user wrote:

Same problem. Wonder if we can use something else than plymouth. What does other distros use like Ubuntu? XSplash?

googling about this i found that is only in plymouth and ubuntu has the same issue.


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2010-05-06 19:21:04

Jrballesteros05
Member
From: Valledupar - Colombia
Registered: 2009-07-15
Posts: 16
Website

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

futuremonkey wrote:

Same problem here, after installing Plymouth per the wiki guide.  Plymouth worked, except for the message.

After pacman -Syu yesterday, though, Plymouth no longer works.  The message remains.  This is what was upgraded:

[2010-05-05 08:36] synchronizing package lists
[2010-05-05 08:38] starting full system upgrade
[2010-05-05 08:56] upgraded cracklib (2.8.13-2 -> 2.8.16-1)
[2010-05-05 08:56] upgraded glib2 (2.24.0-1 -> 2.24.1-1)
[2010-05-05 08:56] upgraded glibmm (2.24.1-1 -> 2.24.2-1)
[2010-05-05 08:56] upgraded gtk2 (2.20.0-2 -> 2.20.1-2)
[2010-05-05 08:56] upgraded pangomm (2.26.1-1 -> 2.26.2-1)
[2010-05-05 08:56] upgraded gtkmm (2.20.2-1 -> 2.20.3-1)
[2010-05-05 08:56] upgraded imagemagick (6.6.1.4-1 -> 6.6.1.5-1)
[2010-05-05 08:56] upgraded jack (0.118.0-2 -> 0.118.0-3)
[2010-05-05 08:56] upgraded libgdiplus (2.6.2-1 -> 2.6.4-1)
[2010-05-05 08:56] upgraded mono (2.6.3-1 -> 2.6.4-1)
[2010-05-05 08:56] upgraded psmisc (22.10-1 -> 22.11-1)
[2010-05-05 08:56] upgraded rrdtool (1.4.2-2 -> 1.4.3-1)
[2010-05-05 08:56] upgraded taglib (1.6.2-1 -> 1.6.3-1)
[2010-05-05 08:56] upgraded transmission-gtk (1.92-2 -> 1.93-1)
[2010-05-05 08:56] upgraded tzdata (2010h-1 -> 2010i-1)
[2010-05-05 08:56] upgraded vinagre (2.30.0-2 -> 2.30.1-1)
[2010-05-05 09:28] upgraded libx86emu (1.1-21 -> 1.1-22)


My chipset is
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

I think you should rebuild kernel image.

#mkinitcpio -p kernel26

Archlinux Colombia!!! smile

Offline

#7 2010-05-07 17:00:32

scio
Member
From: Buffalo, NY
Registered: 2008-08-05
Posts: 366

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

I've rebuilt the kernel image and still saw this, I think it's something plymouth is doing.

Offline

#8 2010-05-07 17:13:06

Jrballesteros05
Member
From: Valledupar - Colombia
Registered: 2009-07-15
Posts: 16
Website

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

scio wrote:

I've rebuilt the kernel image and still saw this, I think it's something plymouth is doing.

Is this a bug?. If so where can I report it?. I'm looking for a solution but I haven't found anything yet. Take care. smile


Archlinux Colombia!!! smile

Offline

#9 2010-05-08 00:12:21

scio
Member
From: Buffalo, NY
Registered: 2008-08-05
Posts: 366

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Jrballesteros05 wrote:
scio wrote:

I've rebuilt the kernel image and still saw this, I think it's something plymouth is doing.

Is this a bug?. If so where can I report it?. I'm looking for a solution but I haven't found anything yet. Take care. smile

I dunno, I've just noticed it myself.

Offline

#10 2010-06-02 15:34:28

PaNa
Member
Registered: 2010-06-02
Posts: 1

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

I have the same error ....:(

Offline

#11 2010-06-07 18:56:37

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

same problem here, plymouth and intel gma 950


Sorry for my bad english :-)

Offline

#12 2010-06-10 11:56:11

stele
Member
Registered: 2010-06-10
Posts: 5

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Same error, plymouth and intel gma 950


penryn - linux - arch -  gnome
northwood - linux - arch - lxde

Offline

#13 2010-06-12 05:56:46

SKeaLoT
Member
Registered: 2009-10-02
Posts: 16

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Same here, using plymouth-git 20100602-1 and my graphics card is an Intel GM965


- You crashed my helicopter!
- Verily!

Offline

#14 2010-06-13 17:53:52

sol0
Member
Registered: 2008-07-02
Posts: 4

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Same problem here.

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)


find /etc |grep \\.d$

Offline

#15 2010-06-23 15:08:16

fox86
Member
Registered: 2009-11-25
Posts: 8

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Same problem here...and same chipset of sol0...


Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present.

Offline

#16 2010-07-01 19:42:21

joeyrs
Member
From: Italy
Registered: 2007-06-24
Posts: 9

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Same happens to me with NVIDIA chipset.

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600M GT] (rev a1)

Offline

#17 2010-07-10 02:28:58

JohnieBraaf
Member
From: Belgium
Registered: 2010-07-10
Posts: 15
Website

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

And so does ATI
l
01:00.0 VGA compatible controller: ATI Technologies Inc M56GL [Mobility FireGL V5250]

Offline

#18 2010-07-21 15:10:33

JohnieBraaf
Member
From: Belgium
Registered: 2010-07-10
Posts: 15
Website

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Browsing on the internet, I've seen many people, also on other distros like Ubuntu and Centos are facing this problem.
What is the right way to deal with these kind of errors? As I doubt that its something within the responsibility of Arch linux.

Offline

#19 2010-07-25 16:26:55

Jrballesteros05
Member
From: Valledupar - Colombia
Registered: 2009-07-15
Posts: 16
Website

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

I want to report this issue but I don't know if this's really a bug , maybe the solution is quite simple but I haven't found anything. I thought that I was the only one who has the the problem but there are many people who has as well... Thanks and take care.


Archlinux Colombia!!! smile

Offline

#20 2010-07-25 17:40:03

shemz
Member
Registered: 2010-04-23
Posts: 135

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Its a long long known upstream plymouth bug. Same error on my netbook with Intel GMA 950 chipset. Not only on Arch, but with all distros I have tried to verify this, including Fedora and Ubuntu, I get the same bug at the start of boot process. But unlike Arch, the Fedora and Ubuntu kernels are highly patched to suppress the warning output, so the user can only see them in the verbose boot mode.

Offline

#21 2010-10-10 05:39:34

PIMPinator
Member
From: Queensland, Australia
Registered: 2010-03-14
Posts: 85

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Is it possible to just supress the message then?

Offline

#22 2010-11-28 14:36:53

goran'agar
Member
From: Nothern Italy
Registered: 2009-05-19
Posts: 171

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

I use this simple patch (to apply to /lib/initcpio/install/plymouth); inspired by the ubuntu bug aforementioned


--- plymouth.orig    2010-11-28 15:16:00.108000000 +0100
+++ plymouth    2010-11-28 15:24:14.500999903 +0100
@@ -39,6 +39,13 @@ install() {
         add_file $x
         done
     fi
+
+    # suppress a warning in glib (which the label control uses)
+    # about uid 0 by building a dummy NSS stack (LP #649917)
+    add_file /etc/passwd
+    add_file /etc/nsswitch.conf
+    add_binary /lib/libnss_files-2.12.1.so
+    add_file /lib/libnss_files.so.2
     
     SCRIPT='plymouth'
 }

Last edited by goran'agar (2010-11-28 14:40:02)


Sony Vaio VPCM13M1E  - Arch Linux - LXDE

Offline

#23 2010-12-13 21:37:15

aurocha
Member
Registered: 2009-11-16
Posts: 52

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

Hi,

Just compiled plymouth-git. I suffer from the above mentioned error.
Even trying to apply the patch didn't work for me.

Just removed the hook and rebuilt initramfs image.

Has anyone solved it? Seems that this happens right after udevd.

Regards,

- aurocha

Offline

#24 2011-01-20 22:55:59

jessekeim
Member
Registered: 2008-04-07
Posts: 2

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

goran'agar -

Worked beautifully. Thanks!

Offline

#25 2011-01-30 22:08:48

welpert
Member
From: the Netherlands
Registered: 2011-01-11
Posts: 73

Re: Boot message: GLIB WARNING ** GLib - getpwuid_r()..[SOLVED]

goran'agar wrote:

I use this simple patch (to apply to /lib/initcpio/install/plymouth); inspired by the ubuntu bug aforementioned

...


Hey goran'agar,

I've applied the patch to plymouth-git, but it did not work for me. Well, just going to have to hang tight until a solution comes along smile

Thanks for the effort though!

Cheers


“Great art is horseshit, buy tacos.” - Charles Bukowski

freenode/archlinux: nl-trisk

Offline

Board footer

Powered by FluxBB