Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123721 - ltsp-4.1-r1 does not create some directories and one link
Summary: ltsp-4.1-r1 does not create some directories and one link
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: 123723
  Show dependency tree
 
Reported: 2006-02-22 10:16 UTC by Jorge Nerin
Modified: 2008-07-17 22:09 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed ebuild (ltsp-4.1.1-r1.ebuild,6.88 KB, text/plain)
2006-05-03 18:43 UTC, Tarmo Tänav
Details
patch for ltsp-4.1.1.ebuild in case anyone wants to see then changes (ltsp-4.1.1.ebuild.patch,376 bytes, patch)
2006-05-03 18:44 UTC, Tarmo Tänav
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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