* Could not update ICEauthority file /var/lib/gdm/.ICEauthority
@ 2014-02-04 11:32 Ulf Samuelsson
2014-02-04 12:49 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2014-02-04 11:32 UTC (permalink / raw)
To: openembedded-devel
I built a derivative of cloud9-gnome-image/Angstrom-1.4 for the
Beaglebone Black on an Ubuntu 12.04 host.
When I boot, I get a popup window with the text:
"Could not update ICEauthority file /var/lib/gdm/.ICEauthority"
This appears because /var/lib/gdm is not owned by gdm.
Instead it is owned by 115:125
I manually changed the owner and rebooted, and this time I did not get
the error message.
I tracked down why:
The recipe for gdm in
meta-openembedded/meta-gnome/recipes-gnome/gdm_2.32.2.bb contains:
------------------------------------------------------------------------------
do_install_append() {
...
chown -R gdm:gdm ${D}${localstatedir}/lib/gdm
chmod 0750 ${D}${localstatedir}/lib/gdm
...
}
------------------------------------------------------------------------------
Problem with this approach is that the chown command is using the
user:group of the host .
If I do
<host> # cat /etc/passwd | grep gdm
I get:
gdm:x:115:125:Gnome Display Manager:/var/lib/gdm:/bin/false
If I do the same on the target I get:
root@beaglebone:~# cat /etc/passwd | grep gdm
I get:
gdm:x:997:993::/var/lib/gdm:/bin/sh
so I think that setting the user:group must be done in a postinstall task.
--
Best Regards
Ulf Samuelsson
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Could not update ICEauthority file /var/lib/gdm/.ICEauthority
2014-02-04 11:32 Could not update ICEauthority file /var/lib/gdm/.ICEauthority Ulf Samuelsson
@ 2014-02-04 12:49 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2014-02-04 12:49 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ulf Samuelsson schreef op 04-02-14 12:32:
> I built a derivative of cloud9-gnome-image/Angstrom-1.4 for the
> Beaglebone Black on an Ubuntu 12.04 host.
>
> When I boot, I get a popup window with the text:
>
> "Could not update ICEauthority file /var/lib/gdm/.ICEauthority"
>
> This appears because /var/lib/gdm is not owned by gdm. Instead it is
> owned by 115:125
>
> I manually changed the owner and rebooted, and this time I did not get
> the error message.
>
> I tracked down why:
>
> The recipe for gdm in
> meta-openembedded/meta-gnome/recipes-gnome/gdm_2.32.2.bb contains:
>
>
> ------------------------------------------------------------------------------
>
>
do_install_append() {
> ... chown -R gdm:gdm ${D}${localstatedir}/lib/gdm chmod 0750
> ${D}${localstatedir}/lib/gdm ... }
> ------------------------------------------------------------------------------
>
> Problem with this approach is that the chown command is using the
> user:group of the host .
>
> If I do <host> # cat /etc/passwd | grep gdm I get:
>
> gdm:x:115:125:Gnome Display Manager:/var/lib/gdm:/bin/false
>
> If I do the same on the target I get:
>
> root@beaglebone:~# cat /etc/passwd | grep gdm I get:
> gdm:x:997:993::/var/lib/gdm:/bin/sh
>
> so I think that setting the user:group must be done in a postinstall
> task.
No, you just need to extract the tarball with --numeric-owner, pseudo takes
care of having the right numeric IDs in the packages and during the build.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFS8OHWMkyGM64RGpERAtDCAJ9VYcmRTm86OtzKuxmnF0Ls3DDJigCglJYH
ds2Q3f70bS29aPpNLb5xhsk=
=F2Jl
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-04 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-04 11:32 Could not update ICEauthority file /var/lib/gdm/.ICEauthority Ulf Samuelsson
2014-02-04 12:49 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.