From wtogami at redhat.com Thu Oct 1 18:12:43 2009 From: wtogami at redhat.com (Warren Togami) Date: Thu, 01 Oct 2009 14:12:43 -0400 Subject: [Fedora-livecd-list] RFC: Stop creating /etc/modprobe.conf Message-ID: <4AC4F11B.4040206@redhat.com> mclasen noticed this is one of the last things creating modprobe.conf, which in turn causes many annoying deprecation warnings. I'm committing this to livecd git and tagging a new build for F-12 later today unless there are any objections. Warren Togami wtogami at redhat.com diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py index 98db856..c926977 100644 --- a/imgcreate/kickstart.py +++ b/imgcreate/kickstart.py @@ -406,7 +406,7 @@ class SelinuxConfig(KickstartConfig): """A class to apply a kickstart selinux configuration to a system.""" def relabel(self, ksselinux): # touch some files which get unhappy if they're not labeled correctly - for fn in ("/etc/modprobe.conf", "/etc/resolv.conf"): + for fn in ("/etc/resolv.conf"): path = self.path(fn) f = file(path, "w+") os.chmod(path, 0644) From katzj at fedoraproject.org Thu Oct 1 22:10:07 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Thu, 1 Oct 2009 18:10:07 -0400 Subject: [Fedora-livecd-list] RFC: Stop creating /etc/modprobe.conf In-Reply-To: <4AC4F11B.4040206@redhat.com> References: <4AC4F11B.4040206@redhat.com> Message-ID: <71b2a8b80910011510t401bf785pb9485450960d65ad@mail.gmail.com> On Thu, Oct 1, 2009 at 2:12 PM, Warren Togami wrote: > mclasen noticed this is one of the last things creating modprobe.conf, which > in turn causes many annoying deprecation warnings. ?I'm committing this to > livecd git and tagging a new build for F-12 later today unless there are any > objections. That looks fine. - Jeremy From harry.devine at faa.gov Fri Oct 2 14:58:26 2009 From: harry.devine at faa.gov (harry.devine at faa.gov) Date: Fri, 2 Oct 2009 10:58:26 -0400 Subject: [Fedora-livecd-list] Building LiveCDs for Fedora from CentOS Message-ID: We have our development servers here where I work that are running CentOS 5.2 64-bit on them. One of our projects has a LiveCD that we build and provide. It is currently built on a Fedora 8 PC that I have but we'd like to move to Fedora 11 or 12. What I'd like to do is put the Fedora 11 RPMs on our server, run createrepo to create a repository, and use livecd-creator on that server to build the Fedora 11 LiveCD. Is this approach possible? Are there any "gotchas" I need to be aware of if it is possible? The LiveCD is a 32-bit implementation BTW. Thanks, Harry Harry Devine Common ARTS Software Development AJT-144 (609)485-4218 Harry.Devine at faa.gov -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno at wolff.to Sat Oct 3 04:14:29 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Fri, 2 Oct 2009 23:14:29 -0500 Subject: [Fedora-livecd-list] Re: Unnecessary SELinux Failure Condition? In-Reply-To: <4AC26ED8.8050102@redhat.com> References: <4AAAB77E.2060803@redhat.com> <4AAAB816.3040807@redhat.com> <4AB3988B.20802@redhat.com> <71b2a8b80909242028w2c5576b0w937d9eb9aa73fbd0@mail.gmail.com> <4ABCBEBB.2040000@redhat.com> <71b2a8b80909251058q1e9675fbn911ee050fe21e298@mail.gmail.com> <4AC263C5.2040305@redhat.com> <4AC26ABA.5080206@redhat.com> <4AC26ED8.8050102@redhat.com> Message-ID: <20091003041429.GB23043@wolff.to> On Tue, Sep 29, 2009 at 16:32:24 -0400, Jay Greguske wrote: > Daniel J Walsh wrote: > > How much work would it be to create a livecd with only an xguest login. > > Random Root password and no user accounts. > > > > So the cd could only run xguest. I know if you can boot the cd you can beat the system, but it might be a cool demo. > > > > Should be pretty easy: you just need the right kickstart configuration > file. While things are quiet this week I'll see if I can produce that > for you. I haven't seen a fix for https://bugzilla.redhat.com/show_bug.cgi?id=524421 pushed out yet. So you might need to tweak gdm-password to get this to work right now. From kanarip at kanarip.com Sat Oct 3 10:45:50 2009 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Sat, 03 Oct 2009 12:45:50 +0200 Subject: [Fedora-livecd-list] Building LiveCDs for Fedora from CentOS In-Reply-To: References: Message-ID: <4AC72B5E.2090303@kanarip.com> harry.devine at faa.gov wrote: > > We have our development servers here where I work that are running > CentOS 5.2 64-bit on them. One of our projects has a LiveCD that we > build and provide. It is currently built on a Fedora 8 PC that I have > but we'd like to move to Fedora 11 or 12. > > What I'd like to do is put the Fedora 11 RPMs on our server, run > createrepo to create a repository, and use livecd-creator on that server > to build the Fedora 11 LiveCD. Is this approach possible? Are there > any "gotchas" I need to be aware of if it is possible? The LiveCD is a > 32-bit implementation BTW. > You will run into a SquashFS major version bump incompatible between Fedora on the live media and CentOS on the server. You should use a Fedora release greater then or equal to Fedora 11 on the build host, even though you can still host the repositories used on the EL-5 server. -- Jeroen From kanarip at kanarip.com Sat Oct 3 10:47:46 2009 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Sat, 03 Oct 2009 12:47:46 +0200 Subject: [Fedora-livecd-list] livecd-iso-to-pxe problem In-Reply-To: <2be7262f0909280604v5659c1aeh4779c9ba2fff31ad@mail.gmail.com> References: <540997925.185301253797121029.JavaMail.root@mail.byte-code.com> <1726604298.185321253797429675.JavaMail.root@mail.byte-code.com> <2be7262f0909280604v5659c1aeh4779c9ba2fff31ad@mail.gmail.com> Message-ID: <4AC72BD2.8010609@kanarip.com> Alan Pevec wrote: > On Thu, Sep 24, 2009 at 3:03 PM, Francesco Crippa wrote: >> Hi guys, >> >> I've got a problem with the script "livecd-iso-to-pxe"... It creates the right files (under /tftboot directory) but I can't pxeboot a machine with this configuration. >> >> During the pxeboot, initrd is loaded and kernel starts the execution, but it looks like it can't run (or find) the init process... >> >> Have you ever got this problem before? >> >> Unfortunately I haven't got any error message to show you (just kernel logs on the console during the boot... but without error... just the kernel, no messages from init script...). I'm using fedora11 >> >> Le me know if you know a solution for this problem > > Seems like the issue we had with oVirt Node PXE boot on F11 - > https://www.redhat.com/archives/ovirt-devel/2009-June/msg00136.html > Try livecd-iso-to-pxeboot from our patched RPM > http://ovirt.org/repos/ovirt/11/x86_64/livecd-tools-024-1ovirt.fc11.x86_64.rpm > Can you, and will you, send this upstream (to me for example?). -- Jeroen From fcrippa at byte-code.com Mon Oct 5 07:29:03 2009 From: fcrippa at byte-code.com (Francesco Crippa) Date: Mon, 5 Oct 2009 09:29:03 +0200 (CEST) Subject: [Fedora-livecd-list] livecd-iso-to-pxe problem In-Reply-To: <1530995764.211231254727583463.JavaMail.root@mail.byte-code.com> Message-ID: <1056409605.211251254727743560.JavaMail.root@mail.byte-code.com> ----- "Francesco Crippa" wrote: > ----- "Alan Pevec" wrote: > > [...] > > Seems like the issue we had with oVirt Node PXE boot on F11 - > > https://www.redhat.com/archives/ovirt-devel/2009-June/msg00136.html > > Try livecd-iso-to-pxeboot from our patched RPM > > > http://ovirt.org/repos/ovirt/11/x86_64/livecd-tools-024-1ovirt.fc11.x86_64.rpm > > Hi Alan, > > yes, it is! > > now it works like a charm :-) I spoke too early... It works fine with Fedora11, but it doesn't work with redhat/centos. Have you ever tried to convert a redaht/centos livecd to pxe image? Let me know Thanks Francesco -- Francesco Crippa fcrippa at byte-code.com http://people.byte-code.com/fcrippa From Patrick.Laidlaw at wwt.com Mon Oct 5 17:10:21 2009 From: Patrick.Laidlaw at wwt.com (Laidlaw, Patrick A.) Date: Mon, 5 Oct 2009 12:10:21 -0500 Subject: [Fedora-livecd-list] unsubscribe fedora-livecd-list@redhat.com In-Reply-To: References: Message-ID: <2B047A9F9E661149907E042E1853C6890493D5F8@EVS01.wwt.local> unsubscribe fedora-livecd-list at redhat.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3090 bytes Desc: not available URL: From bruno at wolff.to Mon Oct 5 18:14:09 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Mon, 5 Oct 2009 13:14:09 -0500 Subject: [Fedora-livecd-list] unsubscribe fedora-livecd-list@redhat.com In-Reply-To: <2B047A9F9E661149907E042E1853C6890493D5F8@EVS01.wwt.local> References: <2B047A9F9E661149907E042E1853C6890493D5F8@EVS01.wwt.local> Message-ID: <20091005181409.GA14017@wolff.to> On Mon, Oct 05, 2009 at 12:10:21 -0500, "Laidlaw, Patrick A." wrote: > unsubscribe fedora-livecd-list at redhat.com List commands typically need to be sent to the "request" address. People on the list can't unsubscribe you. You can also start the unsubscribe process from the web page. Which for this list is: https://www.redhat.com/mailman/listinfo/fedora-livecd-list From dhuff at redhat.com Thu Oct 8 13:50:44 2009 From: dhuff at redhat.com (David Huff) Date: Thu, 08 Oct 2009 09:50:44 -0400 Subject: [Fedora-livecd-list] error parsing ks file Message-ID: <4ACDEE34.4000807@redhat.com> I am getting an error parsing a ks file with the latest version of livecd-creator, see below. Has anyone seen any errors like this before, or know what could be causing this error? -D [david at RAWHIDE2 ovirt-node-image-devel]$ sudo livecd-creator -c /usr/share/ovirt-node/ovirt-node-recipe.ks -d -v Using label 'ovirt-node-r-x86_64-200910081644' and name 'livecd-ovirt-node-recipe-200910081644' Traceback (most recent call last): File "/usr/bin/livecd-creator", line 140, in sys.exit(main()) File "/usr/bin/livecd-creator", line 112, in main ks = imgcreate.read_kickstart(options.kscfg) File "/usr/lib/python2.6/site-packages/imgcreate/kickstart.py", line 56, in read_kickstart except IOError, (err, msg): ValueError: need more than 1 value to unpack [david at RAWHIDE2 ovirt-node-image-devel]$ ksvalidator /usr/share/ovirt-node/ovirt-node-recipe.ks [david at RAWHIDE2 ovirt-node-image-devel]$ ksvalidator -v DEVEL /usr/share/ovirt-node/ovirt-node-recipe.ks The version DEVEL is not supported by pykickstart [david at RAWHIDE2 ovirt-node-image-devel]$ ksvalidator -v F12 /usr/share/ovirt-node/ovirt-node-recipe.ks [david at RAWHIDE2 ovirt-node-image-devel]$ ksvalidator -v F11 /usr/share/ovirt-node/ovirt-node-recipe.ks [david at RAWHIDE2 ovirt-node-image-devel]$ [david at RAWHIDE2 ovirt-node-image-devel]$ cat /etc/redhat-release Fedora release 11.92 (Rawhide) [david at RAWHIDE2 ovirt-node-image-devel]$ rpm -q livecd-tools livecd-tools-028-1.fc12.x86_64 [david at RAWHIDE2 ovirt-node-image-devel]$ rpm -q pykickstart pykickstart-1.63-1.fc12.noarch [david at RAWHIDE2 ovirt-node-image-devel]$ rpm -q python python-2.6.2-2.fc12.x86_64 From mads at kiilerich.com Thu Oct 8 14:02:19 2009 From: mads at kiilerich.com (Mads Kiilerich) Date: Thu, 08 Oct 2009 16:02:19 +0200 Subject: [Fedora-livecd-list] error parsing ks file In-Reply-To: <4ACDEE34.4000807@redhat.com> References: <4ACDEE34.4000807@redhat.com> Message-ID: <4ACDF0EB.10901@kiilerich.com> An error in the error handling. Try this change and report the output: --- /usr/lib/python2.6/site-packages/imgcreate/kickstart.py.org 2009-10-08 15:57:27.000000000 +0200 +++ /usr/lib/python2.6/site-packages/imgcreate/kickstart.py 2009-10-08 16:00:29.000000000 +0200 @@ -50,7 +50,9 @@ try: ksfile = urlgrabber.urlgrab(path) ks.readKickstart(ksfile) - except IOError, (err, msg): + except IOError, e: + print repr(e), e.args + (err, msg) = e raise errors.KickstartError("Failed to read kickstart file " "'%s' : %s" % (path, msg)) except kserrors.KickstartError, e: /Mads On 10/08/2009 03:50 PM, David Huff wrote: > I am getting an error parsing a ks file with the latest version of > livecd-creator, see below. Has anyone seen any errors like this before, > or know what could be causing this error? > > -D > > [david at RAWHIDE2 ovirt-node-image-devel]$ sudo livecd-creator -c > /usr/share/ovirt-node/ovirt-node-recipe.ks -d -v > Using label 'ovirt-node-r-x86_64-200910081644' and name > 'livecd-ovirt-node-recipe-200910081644' > Traceback (most recent call last): > File "/usr/bin/livecd-creator", line 140, in > sys.exit(main()) > File "/usr/bin/livecd-creator", line 112, in main > ks = imgcreate.read_kickstart(options.kscfg) > File "/usr/lib/python2.6/site-packages/imgcreate/kickstart.py", line > 56, in read_kickstart > except IOError, (err, msg): > ValueError: need more than 1 value to unpack > > [david at RAWHIDE2 ovirt-node-image-devel]$ ksvalidator > /usr/share/ovirt-node/ovirt-node-recipe.ks > [david at RAWHIDE2 ovirt-node-image-devel]$ ksvalidator -v DEVEL > /usr/share/ovirt-node/ovirt-node-recipe.ks > The version DEVEL is not supported by pykickstart > [david at RAWHIDE2 ovirt-node-image-devel]$ ksvalidator -v F12 > /usr/share/ovirt-node/ovirt-node-recipe.ks > [david at RAWHIDE2 ovirt-node-image-devel]$ ksvalidator -v F11 > /usr/share/ovirt-node/ovirt-node-recipe.ks > [david at RAWHIDE2 ovirt-node-image-devel]$ > > [david at RAWHIDE2 ovirt-node-image-devel]$ cat /etc/redhat-release > Fedora release 11.92 (Rawhide) > [david at RAWHIDE2 ovirt-node-image-devel]$ rpm -q livecd-tools > livecd-tools-028-1.fc12.x86_64 > [david at RAWHIDE2 ovirt-node-image-devel]$ rpm -q pykickstart > pykickstart-1.63-1.fc12.noarch > [david at RAWHIDE2 ovirt-node-image-devel]$ rpm -q python > python-2.6.2-2.fc12.x86_64 > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From dhuff at redhat.com Thu Oct 8 14:34:04 2009 From: dhuff at redhat.com (David Huff) Date: Thu, 08 Oct 2009 10:34:04 -0400 Subject: [Fedora-livecd-list] error parsing ks file In-Reply-To: <4ACDEE34.4000807@redhat.com> References: <4ACDEE34.4000807@redhat.com> Message-ID: <4ACDF85C.8020809@redhat.com> On 10/08/2009 09:50 AM, David Huff wrote: > I am getting an error parsing a ks file with the latest version of > livecd-creator, see below. Has anyone seen any errors like this before, > or know what could be causing this error? OK so it looks like there is something weird going on with ksflatten. When ksflatten is run not all of the %includes are taken out, and they look to be run twice, once by ksflatten and once when livecd-creator tries to parse the flattened file. What is really weird is ksflatten does not seem to linearly run ie. everything seems to be out of order. Has anyone see issues like this before? More details below.... Generic ks file: # cat ovirt-node-image.ks %include common-install.ks %include repos.ks %packages --excludedocs --nobase %include common-pkgs.ks %end %post # cleanup rpmdb to allow non-matching host and chroot RPM versions rm -f /var/lib/rpm/__db* %include common-post.ks %end After ksflatten is run there are still some includes and there are none the the included ks files: [david at RAWHIDE2 recipe][david at RAWHIDE2 recipe]$ ksflatten ovirt-node-image.ks #version=F12 # Firewall configuration firewall --disabled repo --name="rawhide" --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64 repo --name="ovirt-org" --baseurl=http://ovirt.org/repos/ovirt/development/x86_64 repo --name="ovirt-local" --baseurl=file:///ovirt device virtio_blk device virtio_pci device scsi_wait_scan device dm-multipath device dm-round-robin # System authorization information auth --useshadow --enablemd5 # System keyboard keyboard us %include common-install.ks # System language lang C # SELinux configuration selinux --enforcing # Installation logging level logging --level=info # System services services --enabled="auditd,ntpd,ntpdate,collectd,iptables,network,rsyslog,libvirt-qpid,multipathd" # System timezone timezone --isUtc UTC # System bootloader configuration bootloader --append="console=tty0 console=ttyS0,115200n8" --location=mbr --timeout=30 # Disk partitioning information part / --fstype="ext2" --size=650 %include common-post.ks . . . . Example included ks file: # cat common-install.ks lang C keyboard us timezone --utc UTC auth --useshadow --enablemd5 selinux --enforcing firewall --disabled part / --size 650 --fstype ext2 services --enabled=auditd,ntpd,ntpdate,collectd,iptables,network,rsyslog,libvirt-qpid,multipathd # This requires a new fixed version of livecd-creator to honor the --append settings. bootloader --timeout=30 --append="console=tty0 console=ttyS0,115200n8" # not included by default device virtio_blk device virtio_pci device scsi_wait_scan # multipath kmods device dm-multipath device dm-round-robin From fedoralivecd at jaroker.com Sat Oct 10 04:03:49 2009 From: fedoralivecd at jaroker.com (Jon Jaroker) Date: Sat, 10 Oct 2009 00:03:49 -0400 Subject: [Fedora-livecd-list] How to Pass Parameters to isolinux.cfg for console redirect Message-ID: <001f01ca495e$ac304b00$0490e100$@com> Hello, I would like to add "console=ttyS0" to the append line in the isolinux.cfg file in order to capture boot messages when testing liveCDs. I notice that the live.py script includes an $(extra) parameter. Is it possible to add "console=ttyS0" to this $(extra) parameter? If so, where should it be set? Is there a better way to pass such parameters directly through the kickstart file, such as with the "bootloader" parameter? Thank you, Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at fedoraproject.org Sat Oct 10 19:08:17 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Sat, 10 Oct 2009 15:08:17 -0400 Subject: [Fedora-livecd-list] How to Pass Parameters to isolinux.cfg for console redirect In-Reply-To: <001f01ca495e$ac304b00$0490e100$@com> References: <001f01ca495e$ac304b00$0490e100$@com> Message-ID: <71b2a8b80910101208w2a21d2a5t46ee9c462cdc17a7@mail.gmail.com> On Sat, Oct 10, 2009 at 12:03 AM, Jon Jaroker wrote: > I would like to add ?console=ttyS0? to the append line in the isolinux.cfg > file in order to capture boot messages when testing liveCDs. > > I notice that the live.py script includes an $(extra) parameter.? Is it > possible to add ?console=ttyS0? to this $(extra) parameter?? If so, where > should it be set? > > Is there a better way to pass such parameters directly through the kickstart > file, such as with the ?bootloader? parameter? That's exactly how -- as the kickstart docs say bootloader --append="console=ttyS0" should do the trick with livecds and a real system install - Jeremy From lars.bjorndal at broadpark.no Sat Oct 10 19:20:25 2009 From: lars.bjorndal at broadpark.no (Lars =?iso-8859-1?Q?Bj=F8rndal?=) Date: Sat, 10 Oct 2009 21:20:25 +0200 Subject: [Fedora-livecd-list] How to Pass Parameters to isolinux.cfg for console redirect In-Reply-To: <71b2a8b80910101208w2a21d2a5t46ee9c462cdc17a7@mail.gmail.com> (Jeremy Katz's message of "Sat, 10 Oct 2009 15:08:17 -0400") References: <001f01ca495e$ac304b00$0490e100$@com> <71b2a8b80910101208w2a21d2a5t46ee9c462cdc17a7@mail.gmail.com> Message-ID: Jeremy Katz writes: > On Sat, Oct 10, 2009 at 12:03 AM, Jon Jaroker wrote: >> I would like to add ?console=ttyS0? to the append line in the isolinux.cfg >> file in order to capture boot messages when testing liveCDs. >> >> I notice that the live.py script includes an $(extra) parameter.? Is it >> possible to add ?console=ttyS0? to this $(extra) parameter?? If so, where >> should it be set? >> >> Is there a better way to pass such parameters directly through the kickstart >> file, such as with the ?bootloader? parameter? > > That's exactly how -- as the kickstart docs say > bootloader --append="console=ttyS0" > should do the trick with livecds and a real system install But what if you need to remove a default parameter, e.g. "rhgb" from the kernel parameter list on the livecd? Lars From apevec at gmail.com Sat Oct 10 21:03:19 2009 From: apevec at gmail.com (Alan Pevec) Date: Sat, 10 Oct 2009 23:03:19 +0200 Subject: [Fedora-livecd-list] How to Pass Parameters to isolinux.cfg for console redirect In-Reply-To: References: <001f01ca495e$ac304b00$0490e100$@com> <71b2a8b80910101208w2a21d2a5t46ee9c462cdc17a7@mail.gmail.com> Message-ID: <2be7262f0910101403m1606b97t9938fd791cefcfbe@mail.gmail.com> On Sat, Oct 10, 2009 at 9:20 PM, Lars Bj?rndal wrote: > But what if you need to remove a default parameter, e.g. "rhgb" from > the kernel parameter list on the livecd? you can modify isolinux.cfg as you like in %post --nochroot e.g. http://git.et.redhat.com/?p=ovirt-node-image.git;a=blob;f=ovirt-node-image.ks;h=6b9e2ace474d4c91f864038c8e07b6a43802eb13;hb=refs/heads/next#l61 From apevec at gmail.com Sat Oct 10 21:12:57 2009 From: apevec at gmail.com (Alan Pevec) Date: Sat, 10 Oct 2009 23:12:57 +0200 Subject: [Fedora-livecd-list] livecd-iso-to-pxe problem In-Reply-To: <1056409605.211251254727743560.JavaMail.root@mail.byte-code.com> References: <1530995764.211231254727583463.JavaMail.root@mail.byte-code.com> <1056409605.211251254727743560.JavaMail.root@mail.byte-code.com> Message-ID: <2be7262f0910101412j234bf850u6dbf8574e554b5bb@mail.gmail.com> On Mon, Oct 5, 2009 at 9:29 AM, Francesco Crippa wrote: > Have you ever tried to convert a redaht/centos livecd to pxe image? Which livecd image exactly was that? If you're building custom one, please post ks. Thanks, Alan From apevec at gmail.com Sat Oct 10 21:30:06 2009 From: apevec at gmail.com (Alan Pevec) Date: Sat, 10 Oct 2009 23:30:06 +0200 Subject: [Fedora-livecd-list] livecd-iso-to-pxe problem In-Reply-To: <4AC72BD2.8010609@kanarip.com> References: <540997925.185301253797121029.JavaMail.root@mail.byte-code.com> <1726604298.185321253797429675.JavaMail.root@mail.byte-code.com> <2be7262f0909280604v5659c1aeh4779c9ba2fff31ad@mail.gmail.com> <4AC72BD2.8010609@kanarip.com> Message-ID: <2be7262f0910101430w2ea90ea9i832278c8c3ea7af8@mail.gmail.com> On Sat, Oct 3, 2009 at 12:47 PM, Jeroen van Meeuwen wrote: > Can you, and will you, send this upstream (to me for example?). > Hi Jeroen, as noted in that workaround, this is a side-effect of a change in mkliveinitrd which affects only PXE boot of the livecd image, so fix could be to revert that in mkinitrd but this is unlikely since focus is now on Dracut. But even udev settle with 30s timeout and "waiting up to 60 seconds" is not working with active/passive arrays where udev timeouts a lot when reading passive paths, so it doesn't execute all rules on time, for example liveUSB boot fails where root=UUID=... is used. I'll post a better patch for mkliveinitrd and then see if F11 mkinitrd will get updated at this point. Cheers, Alan From mongazon at yahoo.com Mon Oct 12 09:08:26 2009 From: mongazon at yahoo.com (bruno mongazon) Date: Mon, 12 Oct 2009 02:08:26 -0700 (PDT) Subject: [Fedora-livecd-list] mounting /dev/root on /sysroot as ext3 : no such file or directory Message-ID: <198250.55123.qm@web31708.mail.mud.yahoo.com> I get the following error while booting a FC10 live image built using livecd-creator. mounting /dev/root on /sysroot as ext3 : no such file or directory Any clue on this ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.scheie at visionshareinc.com Thu Oct 15 18:03:47 2009 From: peter.scheie at visionshareinc.com (Peter Scheie) Date: Thu, 15 Oct 2009 13:03:47 -0500 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd Message-ID: <1255629827.30970.116.camel@pscheie-ubuntu810> >From a running Centos liveCD (minimal) I want to launch anaconda with a kickstart file. Right now we build a small ISO using isolinux that loads the kernel and points it to the kickstart file on an HTTP server (ks=http://blah.blah.blah/ks.cfg). But I want to gather some info from the user and test some networking connections before launching anaconda, thus the need for the liveCD. I've got anaconda included in the livecd and I can call it, but when I try to pass --kickstart=http://blah.blah.blah/ks.cfg, it says 'no method specified'. So, I added -m http:// with a path to the repos we use with our regular installer, but while anaconda starts, it starts asking questions about language, keyboard, etc., meaning it's not reading the kickstart file. Note that I don't want to install the configuration that makes up the livecd onto the hard drive; I want to use what we've defined in the kickstart file. I thought I'd be able to use the same syntax as in the installer ISO I currently build, but that doesn't seem to be working (why not?) Is what I want to do feasible? Am I just not getting the syntax right? TIA. Peter From kanarip at kanarip.com Fri Oct 16 06:57:17 2009 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Fri, 16 Oct 2009 08:57:17 +0200 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <1255629827.30970.116.camel@pscheie-ubuntu810> References: <1255629827.30970.116.camel@pscheie-ubuntu810> Message-ID: <4AD8194D.8040505@kanarip.com> On 10/15/2009 08:03 PM, Peter Scheie wrote: >> From a running Centos liveCD (minimal) I want to launch anaconda with a > kickstart file. Right now we build a small ISO using isolinux that > loads the kernel and points it to the kickstart file on an HTTP server > (ks=http://blah.blah.blah/ks.cfg). But I want to gather some info from > the user and test some networking connections before launching anaconda, > thus the need for the liveCD. I've got anaconda included in the livecd > and I can call it, but when I try to pass > --kickstart=http://blah.blah.blah/ks.cfg, it says 'no method specified'. > So, I added -m http:// with a path to the repos we use with our regular > installer, but while anaconda starts, it starts asking questions about > language, keyboard, etc., meaning it's not reading the kickstart file. > This seems more like an anaconda question then a livecd question, don't you think? -- Jeroen From peter.scheie at visionshareinc.com Fri Oct 16 12:56:12 2009 From: peter.scheie at visionshareinc.com (Peter Scheie) Date: Fri, 16 Oct 2009 07:56:12 -0500 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <4AD8194D.8040505@kanarip.com> References: <1255629827.30970.116.camel@pscheie-ubuntu810> <4AD8194D.8040505@kanarip.com> Message-ID: <1255697772.30970.121.camel@pscheie-ubuntu810> On Fri, 2009-10-16 at 08:57 +0200, Jeroen van Meeuwen wrote: > On 10/15/2009 08:03 PM, Peter Scheie wrote: > >> From a running Centos liveCD (minimal) I want to launch anaconda with a > > kickstart file. Right now we build a small ISO using isolinux that > > loads the kernel and points it to the kickstart file on an HTTP server > > (ks=http://blah.blah.blah/ks.cfg). But I want to gather some info from > > the user and test some networking connections before launching anaconda, > > thus the need for the liveCD. I've got anaconda included in the livecd > > and I can call it, but when I try to pass > > --kickstart=http://blah.blah.blah/ks.cfg, it says 'no method specified'. > > So, I added -m http:// with a path to the repos we use with our regular > > installer, but while anaconda starts, it starts asking questions about > > language, keyboard, etc., meaning it's not reading the kickstart file. > > > > This seems more like an anaconda question then a livecd question, don't > you think? > > -- Jeroen > Good point. I got confused by this page, https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive (the fault lies with me, not the page) which says the anaconda included in CentOS 5 does not support installing to a hard disk from the livecd, and to do so requires a newer version of anaconda than is available for CentOS. Why is that? What is it about the anaconda in the stock CentOS 5 that doesn't support installing from the livecd to the hard drive? My case is probably different than what the above page is addressing, but I'm trying to understand how it all works. Thanks. Peter From patrice.guay at nanotechnologies.qc.ca Fri Oct 16 13:05:06 2009 From: patrice.guay at nanotechnologies.qc.ca (Patrice Guay) Date: Fri, 16 Oct 2009 09:05:06 -0400 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <1255697772.30970.121.camel@pscheie-ubuntu810> References: <1255629827.30970.116.camel@pscheie-ubuntu810> <4AD8194D.8040505@kanarip.com> <1255697772.30970.121.camel@pscheie-ubuntu810> Message-ID: <4AD86F82.5030006@nanotechnologies.qc.ca> Peter Scheie wrote: > Good point. I got confused by this page, > https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive > (the fault lies with me, not the page) which says the anaconda included > in CentOS 5 does not support installing to a hard disk from the livecd, > and to do so requires a newer version of anaconda than is available for > CentOS. Why is that? What is it about the anaconda in the stock CentOS > 5 that doesn't support installing from the livecd to the hard drive? My > case is probably different than what the above page is addressing, but > I'm trying to understand how it all works. Thanks. > The page you are referencing explains the following: the CentOS 5 anaconda package does not include the "liveinst" utility. This utility is used to install an OS directly from the LiveCD in a way similar to the normal installation of a system (with anaconda in graphical or text mode). -- Patrice From peter.scheie at visionshareinc.com Fri Oct 16 14:10:57 2009 From: peter.scheie at visionshareinc.com (Peter Scheie) Date: Fri, 16 Oct 2009 09:10:57 -0500 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <4AD86F82.5030006@nanotechnologies.qc.ca> References: <1255629827.30970.116.camel@pscheie-ubuntu810> <4AD8194D.8040505@kanarip.com> <1255697772.30970.121.camel@pscheie-ubuntu810> <4AD86F82.5030006@nanotechnologies.qc.ca> Message-ID: <1255702257.30970.136.camel@pscheie-ubuntu810> On Fri, 2009-10-16 at 09:05 -0400, Patrice Guay wrote: > Peter Scheie wrote: > > Good point. I got confused by this page, > > https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive > > (the fault lies with me, not the page) which says the anaconda included > > in CentOS 5 does not support installing to a hard disk from the livecd, > > and to do so requires a newer version of anaconda than is available for > > CentOS. Why is that? What is it about the anaconda in the stock CentOS > > 5 that doesn't support installing from the livecd to the hard drive? My > > case is probably different than what the above page is addressing, but > > I'm trying to understand how it all works. Thanks. > > > > The page you are referencing explains the following: the CentOS 5 > anaconda package does not include the "liveinst" utility. This utility > is used to install an OS directly from the LiveCD in a way similar to > the normal installation of a system (with anaconda in graphical or text > mode). > > -- > Patrice > Thanks for the clarification. Is the 'liveinst' utility needed in order to install the image from the livecd to the hard drive? Or is it needed because anaconda isn't built to start an installation from an already running system (such as a running livecd session)? I assume it is the former, as the webpage says as much, but I wanted verify that I wasn't misunderstanding the requirements. (This *does* start drifting toward being an anaconda question, but it's all within the context of the livecd session.) If the 'liveinst' utility is only needed for installing the image from the CD to the system, then that suggests that I don't need the newer anaconda, as I just want to launch a 'normal' installation-via-http using a kickstart file on the http server or embeded on the livecd. Am I correct? From patrice.guay at nanotechnologies.qc.ca Fri Oct 16 14:49:09 2009 From: patrice.guay at nanotechnologies.qc.ca (Patrice Guay) Date: Fri, 16 Oct 2009 10:49:09 -0400 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <1255702257.30970.136.camel@pscheie-ubuntu810> References: <1255629827.30970.116.camel@pscheie-ubuntu810> <4AD8194D.8040505@kanarip.com> <1255697772.30970.121.camel@pscheie-ubuntu810> <4AD86F82.5030006@nanotechnologies.qc.ca> <1255702257.30970.136.camel@pscheie-ubuntu810> Message-ID: <4AD887E5.3000409@nanotechnologies.qc.ca> Peter Scheie wrote: > Thanks for the clarification. Is the 'liveinst' utility needed in order > to install the image from the livecd to the hard drive? Or is it needed > because anaconda isn't built to start an installation from an already > running system (such as a running livecd session)? I assume it is the > former, as the webpage says as much, but I wanted verify that I wasn't > misunderstanding the requirements. (This *does* start drifting toward > being an anaconda question, but it's all within the context of the > livecd session.) This is definitely a question related to anaconda. The liveinst utility was added to anaconda in order to support installation from a LiveCD. You should ask the package maintainers what are the limitations of their utility and its normal usage. -- Patrice From bruno at wolff.to Sat Oct 17 01:51:58 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Fri, 16 Oct 2009 20:51:58 -0500 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <1255702257.30970.136.camel@pscheie-ubuntu810> References: <1255629827.30970.116.camel@pscheie-ubuntu810> <4AD8194D.8040505@kanarip.com> <1255697772.30970.121.camel@pscheie-ubuntu810> <4AD86F82.5030006@nanotechnologies.qc.ca> <1255702257.30970.136.camel@pscheie-ubuntu810> Message-ID: <20091017015158.GA8801@wolff.to> On Fri, Oct 16, 2009 at 09:10:57 -0500, Peter Scheie wrote: > Thanks for the clarification. Is the 'liveinst' utility needed in order > to install the image from the livecd to the hard drive? Or is it needed > because anaconda isn't built to start an installation from an already > running system (such as a running livecd session)? I assume it is the > former, as the webpage says as much, but I wanted verify that I wasn't > misunderstanding the requirements. (This *does* start drifting toward > being an anaconda question, but it's all within the context of the > livecd session.) If the 'liveinst' utility is only needed for > installing the image from the CD to the system, then that suggests that > I don't need the newer anaconda, as I just want to launch a 'normal' > installation-via-http using a kickstart file on the http server or > embeded on the livecd. Am I correct? Live CDs don't install using repos with rpms; they copy over the filesystems. So normal anaconda is not going to get what it needs from the Live CD media. I haven't tried doing http installs using a live CD, as I typically use the netinst/boot isos for doing that. So I don't know if everything needed for doing that is on the Live CD. From phil at pricom.com.au Sat Oct 17 13:46:56 2009 From: phil at pricom.com.au (Philip Rhoades) Date: Sun, 18 Oct 2009 00:46:56 +1100 Subject: [Fedora-livecd-list] F12-Alpha-x86_64-Live.iso does not fit on a CD? Message-ID: <4AD9CAD0.7000202@pricom.com.au> People, Even with the overburn switch the image is still too big? - is this a known problem? Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney NSW 2001 Australia E-mail: phil at pricom.com.au From bruno at wolff.to Sat Oct 17 14:52:21 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Sat, 17 Oct 2009 09:52:21 -0500 Subject: [Fedora-livecd-list] F12-Alpha-x86_64-Live.iso does not fit on a CD? In-Reply-To: <4AD9CAD0.7000202@pricom.com.au> References: <4AD9CAD0.7000202@pricom.com.au> Message-ID: <20091017145221.GC9149@wolff.to> On Sun, Oct 18, 2009 at 00:46:56 +1100, Philip Rhoades wrote: > People, > > Even with the overburn switch the image is still too big? - is this > a known problem? Snapshots from after that are significantly smaller, so it looks like the problem was resolved. From katzj at fedoraproject.org Sun Oct 18 16:44:25 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Sun, 18 Oct 2009 12:44:25 -0400 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <4AD887E5.3000409@nanotechnologies.qc.ca> References: <1255629827.30970.116.camel@pscheie-ubuntu810> <4AD8194D.8040505@kanarip.com> <1255697772.30970.121.camel@pscheie-ubuntu810> <4AD86F82.5030006@nanotechnologies.qc.ca> <1255702257.30970.136.camel@pscheie-ubuntu810> <4AD887E5.3000409@nanotechnologies.qc.ca> Message-ID: <71b2a8b80910180944y474f97fev2c8ab99a2ccf9d16@mail.gmail.com> On Fri, Oct 16, 2009 at 10:49 AM, Patrice Guay wrote: > Peter Scheie wrote: >> Thanks for the clarification. ?Is the 'liveinst' utility needed in order >> to install the image from the livecd to the hard drive? ?Or is it needed >> because anaconda isn't built to start an installation from an already >> running system (such as a running livecd session)? ?I assume it is the >> former, as the webpage says as much, but I wanted verify that I wasn't >> misunderstanding the requirements. ?(This *does* start drifting toward >> being an anaconda question, but it's all within the context of the >> livecd session.) > > This is definitely a question related to anaconda. The liveinst utility was > added to anaconda in order to support installation from a LiveCD. You should > ask the package maintainers what are the limitations of their utility and > its normal usage. liveinst is purely a shell script to kick off anaconda with the various arguments for "install off of a live system" mode Installing a live image using anaconda requires the anaconda changes that went into Fedora 8 to do so -- you're not going to be able to get away with easily getting those running on a CentOS 5 system. You could hack up something to do the basic bits, but any of the, eg, help with partitioning you get or otherwise isn't going to be there. - Jeremy From peter.scheie at visionshareinc.com Thu Oct 15 18:03:47 2009 From: peter.scheie at visionshareinc.com (Peter Scheie) Date: Thu, 15 Oct 2009 13:03:47 -0500 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd Message-ID: <1255629827.30970.116.camel@pscheie-ubuntu810> >From a running Centos liveCD (minimal) I want to launch anaconda with a kickstart file. Right now we build a small ISO using isolinux that loads the kernel and points it to the kickstart file on an HTTP server (ks=http://blah.blah.blah/ks.cfg). But I want to gather some info from the user and test some networking connections before launching anaconda, thus the need for the liveCD. I've got anaconda included in the livecd and I can call it, but when I try to pass --kickstart=http://blah.blah.blah/ks.cfg, it says 'no method specified'. So, I added -m http:// with a path to the repos we use with our regular installer, but while anaconda starts, it starts asking questions about language, keyboard, etc., meaning it's not reading the kickstart file. Note that I don't want to install the configuration that makes up the livecd onto the hard drive; I want to use what we've defined in the kickstart file. I thought I'd be able to use the same syntax as in the installer ISO I currently build, but that doesn't seem to be working (why not?) Is what I want to do feasible? Am I just not getting the syntax right? TIA. Peter From peter.scheie at visionshareinc.com Fri Oct 16 12:56:12 2009 From: peter.scheie at visionshareinc.com (Peter Scheie) Date: Fri, 16 Oct 2009 07:56:12 -0500 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <4AD8194D.8040505@kanarip.com> References: <1255629827.30970.116.camel@pscheie-ubuntu810> <4AD8194D.8040505@kanarip.com> Message-ID: <1255697772.30970.121.camel@pscheie-ubuntu810> On Fri, 2009-10-16 at 08:57 +0200, Jeroen van Meeuwen wrote: > On 10/15/2009 08:03 PM, Peter Scheie wrote: > >> From a running Centos liveCD (minimal) I want to launch anaconda with a > > kickstart file. Right now we build a small ISO using isolinux that > > loads the kernel and points it to the kickstart file on an HTTP server > > (ks=http://blah.blah.blah/ks.cfg). But I want to gather some info from > > the user and test some networking connections before launching anaconda, > > thus the need for the liveCD. I've got anaconda included in the livecd > > and I can call it, but when I try to pass > > --kickstart=http://blah.blah.blah/ks.cfg, it says 'no method specified'. > > So, I added -m http:// with a path to the repos we use with our regular > > installer, but while anaconda starts, it starts asking questions about > > language, keyboard, etc., meaning it's not reading the kickstart file. > > > > This seems more like an anaconda question then a livecd question, don't > you think? > > -- Jeroen > Good point. I got confused by this page, https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive (the fault lies with me, not the page) which says the anaconda included in CentOS 5 does not support installing to a hard disk from the livecd, and to do so requires a newer version of anaconda than is available for CentOS. Why is that? What is it about the anaconda in the stock CentOS 5 that doesn't support installing from the livecd to the hard drive? My case is probably different than what the above page is addressing, but I'm trying to understand how it all works. Thanks. Peter From peter.scheie at visionshareinc.com Fri Oct 16 14:10:57 2009 From: peter.scheie at visionshareinc.com (Peter Scheie) Date: Fri, 16 Oct 2009 09:10:57 -0500 Subject: [Fedora-livecd-list] launch anaconda & kickstart from running livecd In-Reply-To: <4AD86F82.5030006@nanotechnologies.qc.ca> References: <1255629827.30970.116.camel@pscheie-ubuntu810> <4AD8194D.8040505@kanarip.com> <1255697772.30970.121.camel@pscheie-ubuntu810> <4AD86F82.5030006@nanotechnologies.qc.ca> Message-ID: <1255702257.30970.136.camel@pscheie-ubuntu810> On Fri, 2009-10-16 at 09:05 -0400, Patrice Guay wrote: > Peter Scheie wrote: > > Good point. I got confused by this page, > > https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive > > (the fault lies with me, not the page) which says the anaconda included > > in CentOS 5 does not support installing to a hard disk from the livecd, > > and to do so requires a newer version of anaconda than is available for > > CentOS. Why is that? What is it about the anaconda in the stock CentOS > > 5 that doesn't support installing from the livecd to the hard drive? My > > case is probably different than what the above page is addressing, but > > I'm trying to understand how it all works. Thanks. > > > > The page you are referencing explains the following: the CentOS 5 > anaconda package does not include the "liveinst" utility. This utility > is used to install an OS directly from the LiveCD in a way similar to > the normal installation of a system (with anaconda in graphical or text > mode). > > -- > Patrice > Thanks for the clarification. Is the 'liveinst' utility needed in order to install the image from the livecd to the hard drive? Or is it needed because anaconda isn't built to start an installation from an already running system (such as a running livecd session)? I assume it is the former, as the webpage says as much, but I wanted verify that I wasn't misunderstanding the requirements. (This *does* start drifting toward being an anaconda question, but it's all within the context of the livecd session.) If the 'liveinst' utility is only needed for installing the image from the CD to the system, then that suggests that I don't need the newer anaconda, as I just want to launch a 'normal' installation-via-http using a kickstart file on the http server or embeded on the livecd. Am I correct? From wtogami at fedoraproject.org Mon Oct 19 19:18:43 2009 From: wtogami at fedoraproject.org (=?utf-8?b?V2FycmVuIFRvZ2FtaSDnoKXkuIrli4c=?=) Date: Mon, 19 Oct 2009 19:18:43 +0000 (UTC) Subject: [Fedora-livecd-list] 3 commits - imgcreate/kickstart.py imgcreate/live.py Makefile Message-ID: <20091019191843.2459B1201F3@lists.fedorahosted.org> Makefile | 2 +- imgcreate/kickstart.py | 2 +- imgcreate/live.py | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) New commits: commit 5ab5f01adc69f23ade5170b14d7b61d3ff7e3a37 Author: Warren Togami Date: Mon Oct 19 15:16:06 2009 -0400 version 029 diff --git a/Makefile b/Makefile index 18dcba6..8175ed6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION = 028 +VERSION = 029 INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} commit bfe8df0560339eedcef2958171eb6b04fe438e76 Author: Hans de Goede Date: Mon Oct 19 15:12:00 2009 -0400 Tell dracut not to ask for LUKS passwords or activate mdraid sets By default dracut will try to activate any LUKS devices it finds while looking for the rootfs, and bring up any mdraid arrays it finds, this is undesirable behaviour for the livecd, to tell it to not do this. diff --git a/imgcreate/live.py b/imgcreate/live.py index ed3d563..78cbff7 100644 --- a/imgcreate/live.py +++ b/imgcreate/live.py @@ -462,10 +462,17 @@ menu hiddenrow 5 else: long = "Boot %s(%s)" % (self.name, kernel) + + # tell dracut not to ask for LUKS passwords or activate mdraid sets + if isDracut: + kern_opts = kernel_options + " rd_NO_LUKS rd_NO_MD" + else: + kern_opts = kernel_options + cfg += self.__get_image_stanza(is_xen, isDracut, fslabel = self.fslabel, isofstype = "auto", - liveargs = kernel_options, + liveargs = kern_opts, long = long, short = "linux" + index, extra = "", commit 3cf56948c863ef8642a39f4cf77a9b53c12a4fa8 Author: Warren Togami Date: Mon Oct 19 15:10:39 2009 -0400 Silence the /etc/modprobe.conf deprecation warning. diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py index 98db856..c926977 100644 --- a/imgcreate/kickstart.py +++ b/imgcreate/kickstart.py @@ -406,7 +406,7 @@ class SelinuxConfig(KickstartConfig): """A class to apply a kickstart selinux configuration to a system.""" def relabel(self, ksselinux): # touch some files which get unhappy if they're not labeled correctly - for fn in ("/etc/modprobe.conf", "/etc/resolv.conf"): + for fn in ("/etc/resolv.conf"): path = self.path(fn) f = file(path, "w+") os.chmod(path, 0644) From wtogami at fedoraproject.org Tue Oct 20 02:22:38 2009 From: wtogami at fedoraproject.org (=?utf-8?b?V2FycmVuIFRvZ2FtaSDnoKXkuIrli4c=?=) Date: Tue, 20 Oct 2009 02:22:38 +0000 (UTC) Subject: [Fedora-livecd-list] 2 commits - imgcreate/kickstart.py Makefile Message-ID: <20091020022238.95B64120207@lists.fedorahosted.org> Makefile | 2 +- imgcreate/kickstart.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) New commits: commit bd7c399756359916628a8016ff69a1064dd2f521 Author: Warren Togami Date: Mon Oct 19 22:22:27 2009 -0400 version 030 diff --git a/Makefile b/Makefile index 8175ed6..3d1db26 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION = 029 +VERSION = 030 INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} commit fb71c65c1d6cb478969b3214c5caa94dc4b2b9af Author: Warren Togami Date: Mon Oct 19 22:21:59 2009 -0400 I am a moron, committed wrong version of this patch. diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py index c926977..328043c 100644 --- a/imgcreate/kickstart.py +++ b/imgcreate/kickstart.py @@ -406,7 +406,7 @@ class SelinuxConfig(KickstartConfig): """A class to apply a kickstart selinux configuration to a system.""" def relabel(self, ksselinux): # touch some files which get unhappy if they're not labeled correctly - for fn in ("/etc/resolv.conf"): + for fn in ("/etc/resolv.conf",): path = self.path(fn) f = file(path, "w+") os.chmod(path, 0644) From harsha at gluster.com Tue Oct 20 02:42:17 2009 From: harsha at gluster.com (Harshavardhana) Date: Tue, 20 Oct 2009 08:12:17 +0530 Subject: [Fedora-livecd-list] udev hangs with livecd on VMware 6.5.2 Message-ID: <8a80e9760910191942g6f6db568n9fded5d10daaee80@mail.gmail.com> Hi Everyone, I have seen a peculiar problem with Fedora Livecd, i have the latest release Fedora 11. But i have been unsuccessful in using it through Vmware 6.5.2 and 6.5.3. Livecd boots its way upto starting udev daemon and hangs in initramfs. From there on it just stays there for ever with nothing really happening. I have seen the actual hang occurs at line "/sbin/udevadm trigger" this right after udev daemon is started, this i came to a guess by seeing the "sbin/real-init" script which runs udev. I wanted to know if anyone here has stumbled upon this issue that Fedora live cd was not working with Vmware, any work arounds if possible. If anyone can help me going with this it would be really helpful thanks. PS: Fedora live normally works prelly well with all the HW available i have tested. Even KVM and xen works. Is it really a problem with Vmware? Thanks -- Harshavardhana Gluster - http://www.gluster.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgregusk at redhat.com Thu Oct 22 21:42:31 2009 From: jgregusk at redhat.com (Jay Greguske) Date: Thu, 22 Oct 2009 17:42:31 -0400 Subject: [Fedora-livecd-list] Re: Unnecessary SELinux Failure Condition? In-Reply-To: <4AC263C5.2040305@redhat.com> References: <4AAAB77E.2060803@redhat.com> <4AAAB816.3040807@redhat.com> <4AB3988B.20802@redhat.com> <71b2a8b80909242028w2c5576b0w937d9eb9aa73fbd0@mail.gmail.com> <4ABCBEBB.2040000@redhat.com> <71b2a8b80909251058q1e9675fbn911ee050fe21e298@mail.gmail.com> <4AC263C5.2040305@redhat.com> Message-ID: <4AE0D1C7.5040001@redhat.com> Jay Greguske wrote: > Jeremy Katz wrote: > >> On Fri, Sep 25, 2009 at 8:59 AM, Jay Greguske wrote: >> >> >>> Jeremy Katz wrote: >>> >>> >>>> There have been some problems more recently with the booleans stuff if >>>> SELinux isn't enabled. Does that all end up working correctly still? >>>> >>>> >>>> >>> I'll look into it. Are there any you have in mind specifically? >>> >>> >> Dan might remember better than I -- I vaguely remember that a lot of >> the home directory bits and also some of the xguest stuff requires >> working booleans >> >> - Jeremy >> >> > I installed xguest to a running livecd (desktop ks file) and played with > two booleans related to it: browser_write_xguest_data, and > xguest_connect_network. With the former turned off the Guest account > could not download files from random internet sites, and with the latter > it couldn't connect at all, so I'd say they were functioning as > expected. I'm pretty confident SELinux booleans are working correctly > with these changes. If you have other tests to suggest I'd be happy to > try them out. > > Thanks, > - Jay > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > Is there anything more I can do to scoot these changes along? I don't want them to fall off radar... - Jay -------------- next part -------------- A non-text attachment was scrubbed... Name: remove-unnecessary-selinux-check.patch Type: text/x-patch Size: 2972 bytes Desc: not available URL: From apevec at gmail.com Fri Oct 23 13:56:18 2009 From: apevec at gmail.com (Alan Pevec) Date: Fri, 23 Oct 2009 15:56:18 +0200 Subject: [Fedora-livecd-list] 2 commits - imgcreate/kickstart.py Makefile In-Reply-To: <20091020022238.95B64120207@lists.fedorahosted.org> References: <20091020022238.95B64120207@lists.fedorahosted.org> Message-ID: <2be7262f0910230656j31f12893kfa01014c4ca3117e@mail.gmail.com> On Tue, Oct 20, 2009 at 4:22 AM, Warren Togami ??? wrote: > ? ?version 030 for completeness, please push also release tags to git, last I see is livecd-tools-027 Thanks, Alan From danishka at gmail.com Sun Oct 25 18:24:35 2009 From: danishka at gmail.com (Danishka Navin) Date: Sun, 25 Oct 2009 23:54:35 +0530 Subject: [Fedora-livecd-list] Error during the livecd-creator process Message-ID: I got following error while running the livecd-creator I used mirror-url of the rawhide I did the same thing for F11 two days ago on the same Fedora11 Box. what could be the issue? Removing password for user root. passwd: Success Traceback (most recent call last): File "/usr/bin/livecd-creator", line 140, in sys.exit(main()) File "/usr/bin/livecd-creator", line 124, in main creator.configure() File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 732, in configure self._create_bootconfig() File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 197, in _create_bootconfig self._configure_bootloader(self.__ensure_isodir()) File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 604, in _configure_bootloader self._configure_syslinux_bootloader(isodir) File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 508, in _configure_syslinux_bootloader cfg += self.__get_image_stanzas(isodir) File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 435, in __get_image_stanzas is_xen = self.__copy_kernel_and_initramfs(isodir, version, index) File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 362, in __copy_kernel_and_initramfs isodir + "/isolinux/initrd" + index + ".img") File "/usr/lib/python2.6/shutil.py", line 52, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No such file or directory: '/more/os/newInst/Hanthana12/tmp/imgcreate-bBuVMa/install_root/boot/initrd-2.6.31.5-96.fc12.i686.img' -- Danishka Navin http://danishkanavin.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rabbitko at tenbit.pl Sun Oct 25 21:51:57 2009 From: rabbitko at tenbit.pl (Michal) Date: Sun, 25 Oct 2009 22:51:57 +0100 Subject: [Fedora-livecd-list] livecd - configuration changes - which way to go? Message-ID: Hallo Group Members. My parents asked me to prepare a live cd to allow them to log in to their e-bank. Most of the task is performed really well with kde fedora live cd. there are some steps left. which ones? 1) They use PPPoE, so I need to manually run network manager applet and put username/password. I (probably) need to modify /etc/ppp/ directory. How to apply changes to /etc/ in live cd. 2) I want web browser be automatically run - ? ~/.kde/Autostart/ modifications. how to do it? as You see both of them affect configuration. Could You suggest me best practice on that? best regards, Michal From mads at kiilerich.com Sun Oct 25 23:08:00 2009 From: mads at kiilerich.com (Mads Kiilerich) Date: Mon, 26 Oct 2009 00:08:00 +0100 Subject: [Fedora-livecd-list] Error during the livecd-creator process In-Reply-To: References: Message-ID: <4AE4DA50.5020509@kiilerich.com> Danishka Navin wrote, On 10/25/2009 07:24 PM: > I got following error while running the livecd-creator > > I used mirror-url of the rawhide > > I did the same thing for F11 two days ago on the same Fedora11 Box. > > what could be the issue? > > > Removing password for user root. > passwd: Success > Traceback (most recent call last): > File "/usr/bin/livecd-creator", line 140, in > sys.exit(main()) > File "/usr/bin/livecd-creator", line 124, in main > creator.configure() > File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line > 732, in configure > self._create_bootconfig() > File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 197, > in _create_bootconfig > self._configure_bootloader(self.__ensure_isodir()) > File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 604, > in _configure_bootloader > self._configure_syslinux_bootloader(isodir) > File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 508, > in _configure_syslinux_bootloader > cfg += self.__get_image_stanzas(isodir) > File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 435, > in __get_image_stanzas > is_xen = self.__copy_kernel_and_initramfs(isodir, version, index) > File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 362, > in __copy_kernel_and_initramfs > isodir + "/isolinux/initrd" + index + ".img") > File "/usr/lib/python2.6/shutil.py", line 52, in copyfile > fsrc = open(src, 'rb') > IOError: [Errno 2] No such file or directory: > '/more/os/newInst/Hanthana12/tmp/imgcreate-bBuVMa/install_root/boot/initrd-2.6.31.5-96.fc12.i686.img' You are using a version of livecd-tools which doesn't support Fedora 12. The essential fix is http://git.fedoraproject.org/git/?p=hosted/livecd;a=commitdiff;h=28a1b27b3053e09c5aa99336bf52f5714f3f5610;hp=59aa5640bf2216d1823ce7d552ae8530d44bdabb which is in version 027, but you should use a least version 028. /Mads From danishka at gmail.com Mon Oct 26 04:06:50 2009 From: danishka at gmail.com (Danishka Navin) Date: Mon, 26 Oct 2009 09:36:50 +0530 Subject: [Fedora-livecd-list] Error during the livecd-creator process In-Reply-To: <4AE4DA50.5020509@kiilerich.com> References: <4AE4DA50.5020509@kiilerich.com> Message-ID: On Mon, Oct 26, 2009 at 4:38 AM, Mads Kiilerich wrote: > Danishka Navin wrote, On 10/25/2009 07:24 PM: > > I got following error while running the livecd-creator >> >> I used mirror-url of the rawhide >> >> I did the same thing for F11 two days ago on the same Fedora11 Box. >> >> what could be the issue? >> >> >> Removing password for user root. >> passwd: Success >> Traceback (most recent call last): >> File "/usr/bin/livecd-creator", line 140, in >> sys.exit(main()) >> File "/usr/bin/livecd-creator", line 124, in main >> creator.configure() >> File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line >> 732, in configure >> self._create_bootconfig() >> File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 197, >> in _create_bootconfig >> self._configure_bootloader(self.__ensure_isodir()) >> File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 604, >> in _configure_bootloader >> self._configure_syslinux_bootloader(isodir) >> File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 508, >> in _configure_syslinux_bootloader >> cfg += self.__get_image_stanzas(isodir) >> File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 435, >> in __get_image_stanzas >> is_xen = self.__copy_kernel_and_initramfs(isodir, version, index) >> File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 362, >> in __copy_kernel_and_initramfs >> isodir + "/isolinux/initrd" + index + ".img") >> File "/usr/lib/python2.6/shutil.py", line 52, in copyfile >> fsrc = open(src, 'rb') >> IOError: [Errno 2] No such file or directory: >> >> '/more/os/newInst/Hanthana12/tmp/imgcreate-bBuVMa/install_root/boot/initrd-2.6.31.5-96.fc12.i686.img' >> > > You are using a version of livecd-tools which doesn't support Fedora 12. > > The essential fix is > > http://git.fedoraproject.org/git/?p=hosted/livecd;a=commitdiff;h=28a1b27b3053e09c5aa99336bf52f5714f3f5610;hp=59aa5640bf2216d1823ce7d552ae8530d44bdabb > which is in version 027, but you should use a least version 028. > 01. if i install F12 on my system still do i need this fix? 02. if i use this fix on my existing F11 system to rawhide based remix, can I run F11 based remix on the same F11system? > > /Mads > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -- Danishka Navin http://danishkanavin.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wtogami at fedoraproject.org Thu Oct 29 21:24:33 2009 From: wtogami at fedoraproject.org (=?utf-8?b?V2FycmVuIFRvZ2FtaSDnoKXkuIrli4c=?=) Date: Thu, 29 Oct 2009 21:24:33 +0000 (UTC) Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <20091029212433.20C781201BC@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 59 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) New commits: commit 09678eb9284f2df7618c4609998fd3bd95787251 Author: Warren Togami Date: Thu Oct 29 17:22:58 2009 -0400 livecd-iso-to-disk properly configures a Fedora 12 Installer DVD for USB boot Requires: ext3 filesystem on target device diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 3496214..67b25b7 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -279,11 +279,25 @@ if [ $(id -u) != 0 ]; then exit 1 fi +detectisotype() { + if [ -e $CDMNT/LiveOS/squashfs.img ]; then + isotype=live + return + fi + if [ -e $CDMNT/images/install.img ]; then + isotype=installer + return + fi + echo "ERROR: $ISO does not appear to be a Live image or DVD installer." + exitclean +} + cryptedhome=1 keephome=1 homesizemb=0 swapsizemb=0 overlaysizemb=0 +isotype= LIVEOS=LiveOS HOMEFILE="home.img" @@ -440,6 +454,8 @@ mount $mountopts $USBDEV $USBMNT || exitclean trap exitclean SIGINT SIGTERM +detectisotype + if [ -f "$USBMNT/$LIVEOS/$HOMEFILE" -a -n "$keephome" -a "$homesizemb" -gt 0 ]; then echo "ERROR: Requested keeping existing /home and specified a size for /home" echo "Please either don't specify a size or specify --delete-home" @@ -480,7 +496,8 @@ if [ -n "$skipcompress" ]; then fi free=$(df -B1M $USBDEV |tail -n 1 |awk {'print $4;'}) - tba=$(($overlaysizemb + $homesizemb + $livesize + $swapsizemb)) +if [ "$isotype" = "live" ]; then +tba=$(($overlaysizemb + $homesizemb + $livesize + $swapsizemb)) if [ $tba -gt $(($free + $tbd)) ]; then echo "Unable to fit live image + overlay on available space on USB stick" echo "+ Size of live image: $livesize" @@ -494,8 +511,29 @@ if [ $tba -gt $(($free + $tbd)) ]; then echo "= To fit, free or decrease requested size total by: $(($tba - $free - $tbd))" exitclean fi +fi -if [ -z "$skipcopy" ];then +# Verify available space for DVD installer +if [ "$isotype" = "installer" ]; then + isosize=$(du -s -B 1M $ISO | awk {'print $1;'}) + installimgsize=$(du -s -B 1M $CDMNT/images/install.img | awk {'print $1;'}) + tbd=0 + if [ -e $USBMNT/images/install.img ]; then + tbd=$(du -s -B 1M $USBMNT/images/install.img | awk {'print $1;'}) + fi + if [ -e $USBMNT/$(basename $ISO) ]; then + tbd=$(($tbd + $(du -s -B 1M $USBMNT/$(basename $ISO) | awk {'print $1;'}))) + fi + echo "Size of DVD image: $isosize" + echo "Size of install.img: $installimgsize" + echo "Available space: $(($free + $tbd))" + if [ $(($isosize + $installimgsize)) -gt $(($free + $tbd)) ]; then + echo "ERROR: Unable to fit DVD image + install.img on available space on USB stick" + exitclean + fi +fi + +if [ -z "$skipcopy" ] && [ "$isotype" = "live" ]; then if [ -d $USBMNT/$LIVEOS -a -z "$force" ]; then echo "Already set up as live image." if [ -z "$keephome" -a -e $USBMNT/$LIVEOS/$HOMEFILE ]; then @@ -517,7 +555,8 @@ fi [ ! -d $USBMNT/$SYSLINUXPATH ] && mkdir -p $USBMNT/$SYSLINUXPATH [ -n "$efi" -a ! -d $USBMNT/EFI/boot ] && mkdir -p $USBMNT/EFI/boot -if [ -z "$skipcopy" ];then +# Live image copy +if [ -z "$skipcopy" ] && [ "$isotype" = "live" ]; then echo "Copying live image to USB stick" [ ! -d $USBMNT/$LIVEOS ] && mkdir $USBMNT/$LIVEOS [ -n "$keephome" -a -f "$USBMNT/$HOMEFILE" ] && mv $USBMNT/$HOMEFILE $USBMNT/$LIVEOS/$HOMEFILE @@ -535,6 +574,14 @@ if [ -z "$skipcopy" ];then fi fi +# DVD installer copy +if [ "$isotype" = "installer" ] && [ -z "$skipcopy" ]; then + echo "Copying DVD image to USB stick" + mkdir -p $USBMNT/images/ + cp $CDMNT/images/install.img $USBMNT/images/install.img || exitclean + cp $ISO $USBMNT/ +fi + cp $CDMNT/isolinux/* $USBMNT/$SYSLINUXPATH BOOTCONFIG=$USBMNT/$SYSLINUXPATH/isolinux.cfg # Set this to nothing so sed doesn't care @@ -553,6 +600,12 @@ sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/ if [ -n "$kernelargs" ]; then sed -i -e "s/liveimg/liveimg ${kernelargs}/" $BOOTCONFIG $BOOTCONFIG_EFI ; fi if [ "$LIVEOS" != "LiveOS" ]; then sed -i -e "s;liveimg;liveimg live_dir=$LIVEOS;" $BOOTCONFIG $BOOTCONFIG_EFI ; fi +# DVD Installer +if [ "$isotype" = "installer" ]; then + sed -i -e "s;initrd=initrd.img;initrd=initrd.img repo=hd:$USBLABEL:/;g" $BOOTCONFIG $BOOTCONFIG_EFI + sed -i -e "s;stage2=\S*;;g" $BOOTCONFIG $BOOTCONFIG_EFI +fi + if [ "$overlaysizemb" -gt 0 ]; then echo "Initializing persistent overlay file" OVERFILE="overlay-$( /sbin/blkid -s LABEL -o value $USBDEV )-$( /sbin/blkid -s UUID -o value $USBDEV )" From wtogami at fedoraproject.org Thu Oct 29 21:26:43 2009 From: wtogami at fedoraproject.org (=?utf-8?b?V2FycmVuIFRvZ2FtaSDnoKXkuIrli4c=?=) Date: Thu, 29 Oct 2009 21:26:43 +0000 (UTC) Subject: [Fedora-livecd-list] Makefile Message-ID: <20091029212643.B58161201BC@lists.fedorahosted.org> Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit a21856a0bcb690643b015c9d38466fc963b1f489 Author: Warren Togami Date: Thu Oct 29 17:26:09 2009 -0400 version 031 diff --git a/Makefile b/Makefile index 3d1db26..991b27b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION = 030 +VERSION = 031 INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} From katzj at fedoraproject.org Thu Oct 29 23:31:42 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Thu, 29 Oct 2009 19:31:42 -0400 Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh In-Reply-To: <20091029212433.20C781201BC@lists.fedorahosted.org> References: <20091029212433.20C781201BC@lists.fedorahosted.org> Message-ID: <71b2a8b80910291631v76b99610lfdbedb73c0836c22@mail.gmail.com> > New commits: > commit 09678eb9284f2df7618c4609998fd3bd95787251 > Author: Warren Togami > Date: ? Thu Oct 29 17:22:58 2009 -0400 > > ? ?livecd-iso-to-disk properly configures a Fedora 12 Installer DVD for USB boot > ? ?Requires: ext3 filesystem on target device livecd-iso-to-disk as its name maybe implies is for livecds. The installer images aren't livecds. Trying to support them here is the wrong answer. It's already bad enough spaghetti shell code. - Jeremy