FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-30-2007, 11:17 PM
Rahul Sundaram
 
Default desktop manager death via livecd-creator

Michael Wiktowy wrote:

Hello all,

I didn't have the greatest first experience with livecd-creator.
I had 1.5 GB of diskspace available and I wrongly figured that was
enough to make a livecd. That got filled up while trying to make an
XFCE livecd using a modified (fixed repo name) ks file from
http://fedoraproject.org/wiki/RahulSundaram/XfceLive and the command:
livecd-creator --config=./ks_from_above_site
--fslabel=Fedora-livecd-xfce .


Uh, oh. That's completely untested. You probably should wait till I put
out a new version for testing. I have been working on that today.

There should be over 1 GB free but it is not showing up.
Anyone have an idea what broke?


livecd-creator uses a folder under /var/tmp. If the process gets
interrupted it doesn't get cleaned up. Check that up.


Rahul

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-30-2007, 11:19 PM
"Michael Wiktowy"
 
Default desktop manager death via livecd-creator

Hello all,

I didn't have the greatest first experience with livecd-creator.
I had 1.5 GB of diskspace available and I wrongly figured that was
enough to make a livecd. That got filled up while trying to make an
XFCE livecd using a modified (fixed repo name) ks file from
http://fedoraproject.org/wiki/RahulSundaram/XfceLive and the command:
livecd-creator --config=./ks_from_above_site
--fslabel=Fedora-livecd-xfce .

After downloading the required rpms and installing them in the
loopback image, this crashed my Gnome session that was running at the
time and hung the system so I ctrl-alt-del to reboot. My system hung
while trying to unmount all the loopback filesystems that
livecd-creator was keeping busy so I hard rebooted.

Now my system does not start the gdm. After it goes though various
attempts to start X, it gives up for 2 minutes. In poking around the
command line, I can manually startx while the root user and get a
normal desktop but not as my normal unprivilaged user. It also seems
that while I have space left on the harddrive, it is not being freed
up and that might be part of my problem. Even after deleting a few
more files, the space doesn't show up as available when I do a df.
After booting from a livecd:

[root@localhost ~]# fsck /dev/sda2
fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
/1: clean, 291067/31129600 files, 61905503/62257899 blocks
[root@localhost ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/livecd-rw
4128448 2170692 1957756 53% /
tmpfs 517476 12 517464 1% /dev/shm
/dev/sr0 712808 712808 0 100% /mnt/live
/dev/sda2 245124236 243714652 0 100% /media/_1

There should be over 1 GB free but it is not showing up.
Anyone have an idea what broke?

/Mike

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-30-2007, 11:54 PM
"Michael Wiktowy"
 
Default desktop manager death via livecd-creator

On Dec 30, 2007 7:17 PM, Rahul Sundaram <sundaram@fedoraproject.org> wrote:
> Michael Wiktowy wrote:
> > http://fedoraproject.org/wiki/RahulSundaram/XfceLive and the command:
> > livecd-creator --config=./ks_from_above_site
> > --fslabel=Fedora-livecd-xfce .
>
> Uh, oh. That's completely untested. You probably should wait till I put
> out a new version for testing. I have been working on that today.

Well ... I wasn't expecting perfection. I just wanted to try
livecd-creator out. I wasn't expecting it to crash my system.
FYI: the ks you have on that wiki page doesn't work by default because
of the repo line. I had to get rid of the extraneous space between the
repo= and the rest, add os/ to the end and change to the Everything
repo as the release didn't include some things you have listed.

The following line worked (until it filled my hd and all hell broke
loose, that is):
repo --name=8 --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/i386/os/

> > Anyone have an idea what broke?
>
> livecd-creator uses a folder under /var/tmp. If the process gets
> interrupted it doesn't get cleaned up. Check that up.

Moving a pile of stuff to another filesystem did the trick. I also
cleared the leftover cruft out of the /var/tmp directory which gave me
a whole bunch more. Thanks for the pointer as I was incorrectly
looking in /tmp/ and not seeing any remains. How much space does
making a LiveCD take?

I recall the last time I ran out of space, Fedora handled it much more
gracefully, would gdm not starting up on a system with no hd space for
a regular user be a regression?

/Mike

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-31-2007, 12:03 AM
Rahul Sundaram
 
Default desktop manager death via livecd-creator

Michael Wiktowy wrote:


Well ... I wasn't expecting perfection. I just wanted to try
livecd-creator out. I wasn't expecting it to crash my system.
FYI: the ks you have on that wiki page doesn't work by default because
of the repo line. I had to get rid of the extraneous space between the
repo= and the rest, add os/ to the end and change to the Everything
repo as the release didn't include some things you have listed.


I use a custom local repository to test things so the repo line is just
commented out and the final planned version of XFCE spin would likely
just inherit a existing base desktop kickstart file.


If you really wanted to just test livecd-creator there are much better
kickstart files available as part of the livecd-tools package (ie) the
ones that are used to create the official and customs spins for Fedora.
They are under /usr/share/livecd-tools.


. How much space does

making a LiveCD take?


That really depends on the size of the image you are creating out of the
kickstart file. 4 GB would be a good baseline. Note that you can use a
different temp or cache folder using arguments to livecd-creator.



I recall the last time I ran out of space, Fedora handled it much more
gracefully, would gdm not starting up on a system with no hd space for
a regular user be a regression?


All sort of odd things happen when there is no space left. X not
starting properly is a pretty typical but you should probably file a bug
report against GDM to handle this more gracefully if it can.


Rahul

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-31-2007, 12:42 AM
Tom Horsley
 
Default desktop manager death via livecd-creator

> > Well ... I wasn't expecting perfection. I just wanted to try
> > livecd-creator out.

Another gotcha to watch out for:

https://bugzilla.redhat.com/show_bug.cgi?id=252182

Things can leak out of the chroot jail :-).

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-31-2007, 02:08 AM
"Michael Wiktowy"
 
Default desktop manager death via livecd-creator

On Dec 30, 2007 8:42 PM, Tom Horsley <tom.horsley@att.net> wrote:
> > > Well ... I wasn't expecting perfection. I just wanted to try
> > > livecd-creator out.
>
> Another gotcha to watch out for:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=252182
>
> Things can leak out of the chroot jail :-).

I am discovering that livecd-creator is not as bullet-proof as I
thought. The one that I was trying created so many selinux avc's that
selinux couldn't keep up, setroubleshoot crashed, my GUI desktop
crashed and my /var/log/messages is about 26 MB bigger than it should
be. I guess I will have to stick to the tried and true gold ks files
and modify those for my purposes.

/Mike

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 07:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org