UCK_USER_HOME_DIR evaluates incorrectly in Karmic

Bug #414383 reported by Toxic
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Customization Kit
Invalid
Undecided
Unassigned

Bug Description

'xauth info' command returns different values on Jaunty and Karmic:

Jaunty: /home/user_name/.Xauthority
Karmic: /var/run/gdm/auth-for-user_name-XXxxXX/database

So, UCK_USER_HOME_DIR is evaluated as '/var/run/gdm/auth-for-user_name-XXxxXX/database' instead of '/home/user_name' on Karmic and fails to continue (it's in remaster-live-cd.sh).

UCK 2.0.9, Ubuntu x86 Karmic Koala, latest alpha with all updates included.

Toxic (mn-lay)
description: updated
Revision history for this message
Removed by request (stoni.ch-deactivatedaccount) wrote :

confirmed at beta level of 9.10. As workaround, did hardcoding in /usr/lib/uck/remaster-live-cd.sh as indicated above.

Revision history for this message
Fabrizio Balliano (fabrizio-balliano) wrote :

already fixed in svn days ago, 2.0.10 will be available soon

Changed in uck:
status: New → Invalid
Revision history for this message
andreidupond (andredupond) wrote :

does the end line of this build.log mean the same thing ? :
sudo: no tty present and no askpass program specified
Ubuntu Customization Kit 2.0.9
Starting CD remastering on jeudi 5 novembre 2009, 21:14:37 (UTC+0100)
Customization dir=/home/andrei/tmp/customization-scripts
Mounting ISO image...
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
Unpacking SquashFS image...
Unmounting SquashFS image...
Removing win32 files...
Copying customization scripts...
Copying resolv.conf...
Copying local apt cache, if available
Mounting X11 sockets directory to allow access from customization environment...
Creating user directory...
mkdir: cannot create directory `/var/run/gdm/auth-for-andrei-I7nEc0/database': File exists
Unmounting directory /home/andrei/tmp/remaster-root/tmp/.X11-unix...
Unmounting directory /home/andrei/tmp/remaster-root/proc...
Unmounting directory /home/andrei/tmp/remaster-root/sys...
Unmounting directory /home/andrei/tmp/remaster-root/dev/pts...
Unmounting directory /home/andrei/tmp/remaster-root/var/run...
Cannot create user directory, error=1

Revision history for this message
Toxic (mn-lay) wrote :

yes, it is.

Revision history for this message
andreidupond (andredupond) wrote :

i replaced xauth info by /home/my_user_name
lot of new stuff in my build.log .. i dont know if it really helped :/
i attached the build.log if someone have something to say about ...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.