Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 123721

Summary: ltsp-4.1-r1 does not create some directories and one link
Product: Gentoo Linux Reporter: Jorge Nerin <jnerin>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED INVALID    
Severity: normal CC: darkside, lanius, sn4ip3r, warwick
Priority: High Keywords: PMASKED
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 123723    
Attachments: fixed ebuild
patch for ltsp-4.1.1.ebuild in case anyone wants to see then changes

Description Jorge Nerin 2006-02-22 10:16:26 UTC
The ebuild for ltsp-4.1-r1 does not create:
/opt/ltsp-4.1/i386/oldroot/
/opt/ltsp-4.1/i386/proc/
/opt/ltsp-4.1/i386/dev/

and the link from /opt/ltsp-4.1/i386/var to /tmp/var.

The symptom for the first part is a kernel panic with "pivot_root: No such file or directory".

When the directories are created the second part causes X to not load with "fatal server error: cannot open log file /var/log/Xorg.0.log".

The solution is:

mkdir /opt/ltsp-4.1/i386/oldroot /opt/ltsp-4.1/i386/proc /opt/ltsp-4.1/i386/dev

ln -s /tmp/var /opt/ltsp-4.1/i386/var
Comment 1 Jorge Nerin 2006-02-22 10:17:59 UTC
Sorry I forgot to comment that the symptoms are always in the client machine, the server works OK.
Comment 2 Tarmo Tänav 2006-05-03 18:26:29 UTC
I can confirm this bug. The problem is not initial installation it only happens when ltsp is re-emerged in which case portage probably deletes the directories when the "old" ltsp is unmerged. The problem would probably be solved if "keepdir" was called on the directories in the ebuild.
Comment 3 Tarmo Tänav 2006-05-03 18:43:29 UTC
Created attachment 86103 [details]
fixed ebuild

original ltsp-4.1.1.ebuild with needed keepdir's to keep dev,oldroot,proc
Comment 4 Tarmo Tänav 2006-05-03 18:44:10 UTC
Created attachment 86104 [details, diff]
patch for ltsp-4.1.1.ebuild in case anyone wants to see then changes
Comment 5 Bruno Betrò 2006-05-13 09:34:39 UTC
(In reply to comment #0)
> The ebuild for ltsp-4.1-r1 does not create:
> /opt/ltsp-4.1/i386/oldroot/
> /opt/ltsp-4.1/i386/proc/
> /opt/ltsp-4.1/i386/dev/
> 
> and the link from /opt/ltsp-4.1/i386/var to /tmp/var.
> 
> The symptom for the first part is a kernel panic with "pivot_root: No such file
> or directory".
> 
> When the directories are created the second part causes X to not load with
> "fatal server error: cannot open log file /var/log/Xorg.0.log".
> 
> The solution is:
> 
> mkdir /opt/ltsp-4.1/i386/oldroot /opt/ltsp-4.1/i386/proc /opt/ltsp-4.1/i386/dev
> 
> ln -s /tmp/var /opt/ltsp-4.1/i386/var
> 


I discovered another link which is not recreated after re-emerging, explaining also bug #123723. The fix is

cd /opt/ltsp-4.1/i386/etc/X11/xkb/
ln -s ../../../var/lib/xkb   ./compiled
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-06-27 03:41:03 UTC
Re-assign wrt Bug 23545, maintainer retired.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-12-16 02:49:19 UTC
package.masked for security bug 142661.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-01-18 07:52:29 UTC
(Proxy) Maintainer changed.  Warwick, your turn now.
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-17 22:09:36 UTC
Hmm, old package. Not in tree anymore. 

Please see:
bug #177580 - ltsp-5
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-17 22:09:46 UTC
Hmm, old package. Not in tree anymore. 

Please see:
bug #177580 - ltsp-5