From katzj at redhat.com Mon Oct 1 19:27:48 2007 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 01 Oct 2007 15:27:48 -0400 Subject: [Fedora-livecd-list] selinux alerts and livecd doesn't boot In-Reply-To: <13dbfe4f0709300320q2adc90c0n7537f19c7c3152b0@mail.gmail.com> References: <13dbfe4f0709300320q2adc90c0n7537f19c7c3152b0@mail.gmail.com> Message-ID: <1191266868.9920.5.camel@localhost.localdomain> On Sun, 2007-09-30 at 12:20 +0200, Chitlesh GOORAH wrote: > I created a livecd like i used to do. > however during the installation of the packages for the livecd, there > are lots of selinux denial notification popped on the system tray. Yeah, most of this is just noise due to chroots and SELinux not being very smart with chroots :( > however, non of my 7 livecds I recreated was bootable. > during the build i can see restorecon /proc/1xxxx : permission denied. It might be that policy has changed such that creating F7 live images with F8 isn't working. I haven't tried an F7 image in a while. I'll try to kick one off to see what happens after I finish getting the test3 images taken care of. Jeremy From chitlesh at fedoraproject.org Mon Oct 1 19:46:06 2007 From: chitlesh at fedoraproject.org (Chitlesh GOORAH) Date: Mon, 1 Oct 2007 21:46:06 +0200 Subject: [Fedora-livecd-list] selinux alerts and livecd doesn't boot In-Reply-To: <1191266868.9920.5.camel@localhost.localdomain> References: <13dbfe4f0709300320q2adc90c0n7537f19c7c3152b0@mail.gmail.com> <1191266868.9920.5.camel@localhost.localdomain> Message-ID: <13dbfe4f0710011246u7ddcd8b2r6b6843f05ff401e6@mail.gmail.com> On 10/1/07, Jeremy Katz wrote: > > however, non of my 7 livecds I recreated was bootable. > > during the build i can see restorecon /proc/1xxxx : permission denied. > > It might be that policy has changed such that creating F7 live images > with F8 isn't working. I haven't tried an F7 image in a while. I'll > try to kick one off to see what happens after I finish getting the test3 > images taken care of. By "7", I mean 7 (the number) and not F7. I'm unable to create rawhide images since this weekend. Are you using something special ? I'm just trying to create live images on an updated rawhide box, but in vain. Chitlesh -- http://clunixchit.blogspot.com From hutnick at gmail.com Mon Oct 1 19:54:16 2007 From: hutnick at gmail.com (Peter Hutnick) Date: Mon, 1 Oct 2007 13:54:16 -0600 Subject: [Fedora-livecd-list] Bluetooth Keyboard and Mouse (Mac) Message-ID: <9521ce490710011254g27701cf4lc5063937711533de@mail.gmail.com> I tried out the Live CD on my Mac Mini (1.66) with an Apple Bluetooth keyboard and a 2nd gen Bluetooth Mighty Mouse. The system booted to the desktop, but neither input device worked. I saw something on startup about a Bluetooth daemon starting, so I had some hope, but no dice. Should this work (automagically)? Can this be made to work through some manual process? Thanks, Peter From jdogalt at yahoo.com Tue Oct 2 00:15:17 2007 From: jdogalt at yahoo.com (Jane Dogalt) Date: Mon, 1 Oct 2007 17:15:17 -0700 (PDT) Subject: [Fedora-livecd-list] udev selinux problem? "udevd_event selinux_setfilecon failed" In-Reply-To: Message-ID: <6889.69963.qm@web56913.mail.re3.yahoo.com> --- Colin Walters wrote: > On 9/28/07, Douglas McClendon wrote: > > > > > > udevd_event selinux_setfilecon failed permission denied /dev/usbdev.... > > > Is it possible to get audit events from this early boot? Maybe audit to the > network? (Though with a quick look at > http://people.redhat.com/sgrubb/audit/ I don't see that) Here are the relevant full denial log messages- Again, this is f7+updates, and not yet a real livecd-tools bug (until I can make a bug report with reproducibility procedure). But still... ??? (which udev rules are creating these devices, do they look 'normal'? I've never noticed or used them until now) Oct 1 18:34:30 zyx-live kernel: kjournald starting. Commit interval 5 seconds Oct 1 18:34:30 zyx-live kernel: EXT3-fs: mounted filesystem with ordered data mode. Oct 1 18:34:30 zyx-live kernel: audit(1191281609.589:2): enforcing=1 old_enforcing=0 auid=4294967295 Oct 1 18:34:30 zyx-live kernel: inode_doinit_with_dentry: no dentry for dev=dm-0 ino=459288 Oct 1 18:34:30 zyx-live kernel: inode_doinit_with_dentry: no dentry for dev=dm-0 ino=459274 Oct 1 18:34:30 zyx-live kernel: inode_doinit_with_dentry: no dentry for dev=dm-0 ino=459272 Oct 1 18:34:30 zyx-live kernel: audit(1191281611.630:3): policy loaded auid=4294967295 Oct 1 18:34:30 zyx-live kernel: audit(1191281629.585:4): avc: denied { relabelfrom } for pid=1302 c omm="udevd" name="usbdev1.1_ep81" dev=tmpfs ino=7382 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tc ontext=system_u:object_r:device_t:s0 tclass=lnk_file Oct 1 18:34:30 zyx-live kernel: audit(1191281629.587:5): avc: denied { relabelfrom } for pid=1298 c omm="udevd" name="usbdev1.1_ep00" dev=tmpfs ino=7363 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tc ontext=system_u:object_r:device_t:s0 tclass=lnk_file (and on for seemingly all 19 /dev/usbdev* devices) -dmc/jdog ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ From tim.wood at datawranglers.com Tue Oct 2 03:35:26 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Mon, 1 Oct 2007 21:35:26 -0600 Subject: [Fedora-livecd-list] Livecd doesn't boot ... in my case it reports a bad MBR In-Reply-To: <13dbfe4f0709300357q74b2172fpb8787cd0507dd55f@mail.gmail.com> References: <13dbfe4f0709300320q2adc90c0n7537f19c7c3152b0@mail.gmail.com> <13dbfe4f0709300357q74b2172fpb8787cd0507dd55f@mail.gmail.com> Message-ID: <24BF49F5-53FD-4E4F-B142-CC4BAAB0BE58@datawranglers.com> Strange timing. I've got a linux machine (running under vmware) that's dedicated to livecd's. I've been working on a livecd project around other things. I created several LiveCDs a day successfully over the last few weeks. Then, starting sometime yesterday, every one causes vmware to report a bad MBR when I try to boot them. It may or may not be related to Chitlesh's problem... I'll call the machine I"m using to create the LiveCDs 'dev'. Here's what I've been able to locate that seems remotely relevant. dev runs fedora 7 and is set to automatically update with the latest patches (i.e. yum may have gone and installed an update yesterday that caused the problem) SE Linux is off on dev /var/log/messages on dev: * "... localhost kernel: SELinux: Disabled at runtime." * Just before the install: "localhost kernel: CIFS VFS: Send error in SETFSUnixInfo = -5" may not be relevant but the kickstarts are on a mounted samba share * in the middle of installing packages reports "... localhost init: Trying to re-exec init" /var/log/yum.log on dev * nothing in the last several weeks /var/log/revisor.log on dev * mirrors the messages that /srv/revisor and /var/tmp/revisor already exist When I'm building the livecd's, I'm manually unchecking the SELinux checkbox at the appropriate screen. FWIW... being the stodgy type I am, I'm trying to wait for FC8 to hit release before switching. Revisor under 7 (2.041) has issues but I know what they are and how to work with them. I've tried this roughly four times with identical results. To make sure that I didn't forget to do it, I've just restarted dev and manually deleted /var/tmp/revisor* and /srv/revsior*. I'm re- running a build to see what happens. Assuming that doesn't solve things, any suggestions on running this down? Tim On Sep 30, 2007, at 4:57 AM, Chitlesh GOORAH wrote: > On 9/30/07, Chitlesh GOORAH wrote: >> Hello there, >> >> i did a clean installation of the FEL F8T2 livecd. >> then did the updates >> then yum install livecd-tools (012) >> >> I created a livecd like i used to do. >> however during the installation of the packages for the livecd, there >> are lots of selinux denial notification popped on the system tray. >> >> it's nice to see the selinux notifier being integrated into the >> KDE desktop. >> >> however, non of my 7 livecds I recreated was bootable. >> during the build i can see restorecon /proc/1xxxx : permission >> denied. >> >> I'm wondering if the livecd creation procedures have been changed >> again that im unaware of or it's a bug. > > On a F7 box with all the updates, it doesn't even build : > > /sbin/restorecon reset /root/.tcshrc context > root:object_r:user_home_t:s0->root:object_r:sysadm_home_t:s0 > /sbin/restorecon reset /lib/udev/devices context > system_u:object_r:lib_t:s0->system_u:object_r:device_t:s0 > /sbin/restorecon reset /lib/dbus-1/dbus-daemon-launch-helper context > system_u:object_r:lib_t:s0->system_u:object_r:bin_t:s0 > Read error on pipe. > Building an initramfs at /boot/livecd-initramfs.img for kernel > 2.6.23-0.214.rc8.git2.fc8 > Done; initramfs is 4.5M. > > Traceback (most recent call last): > File "/usr/bin/livecd-creator", line 1480, in > sys.exit(main()) > File "/usr/bin/livecd-creator", line 1460, in main > target.unmount() > File "/usr/bin/livecd-creator", line 484, in unmount > self.ayum.close() > File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 92, > in close > self._repos.close() > File "/usr/lib/python2.5/site-packages/yum/repos.py", line 76, in > close > repo.close() > File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 257, > in close > self.sack.close() > File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line > 233, in close > del self.pkgobjlist > AttributeError: pkgobjlist > > > -- > http://clunixchit.blogspot.com > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > From dmc.fedora at filteredperception.org Tue Oct 2 09:19:01 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Tue, 02 Oct 2007 04:19:01 -0500 Subject: [Fedora-livecd-list] selinux alerts and livecd doesn't boot In-Reply-To: <1191266868.9920.5.camel@localhost.localdomain> References: <13dbfe4f0709300320q2adc90c0n7537f19c7c3152b0@mail.gmail.com> <1191266868.9920.5.camel@localhost.localdomain> Message-ID: <47020D05.9090400@filteredperception.org> Jeremy Katz wrote: > On Sun, 2007-09-30 at 12:20 +0200, Chitlesh GOORAH wrote: > >> I created a livecd like i used to do. >> however during the installation of the packages for the livecd, there >> are lots of selinux denial notification popped on the system tray. >> > > Yeah, most of this is just noise due to chroots and SELinux not being > very smart with chroots :( > > >> however, non of my 7 livecds I recreated was bootable. >> during the build i can see restorecon /proc/1xxxx : permission denied. >> > > It might be that policy has changed such that creating F7 live images > with F8 isn't working. I haven't tried an F7 image in a while. I'll > try to kick one off to see what happens after I finish getting the test3 > images taken care of. > FWIW, I'm trying the following, for the first time- (this has nothing to do with my other selinux problems) f7+updates install, selinux enabled git livecd-tools rawhide pykickstart srcrpm rebuilt (parse error otherwise on livecd-fedora-desktop.ks) simple build of livecd-fedora-desktop as is (with cachedir) It died on me once early, and then twice at the end with the output pasted below (haven't been able to get it to work). I just got these (and others) in my setroubleshoot- (note, the system was just installed prior to this, so it is unlikely something that I have misconfigured along the way) avc: denied { write } for comm="ldconfig" dev=loop1 egid=0 euid=0 exe="/sbin/ldconfig" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="ldconfig" pid=8518 scontext=user_u:system_r:ldconfig_t:s0 sgid=0 subj=user_u:system_r:ldconfig_t:s0 suid=0 tclass=dir tcontext=system_u:object_r:var_t:s0 tty=pts4 uid=0 I figured I'd post all of this, since it seems to be the inverse of what was described. I.e. this is building F8 on F7+updates (not building F7 on F8). Installing: anaconda ##################### [850/851] Installing: system-config-boot ##################### [851/851] error reading information on service dhcdbd: No such file or directory Building an initramfs at /boot/livecd-initramfs.img for kernel 2.6.23-0.214.rc8.git2.fc8 Done; initramfs is 4.5M. Traceback (most recent call last): File "./livecd-creator", line 1503, in sys.exit(main()) File "./livecd-creator", line 1483, in main target.unmount() File "./livecd-creator", line 503, in unmount self.ayum.close() File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 92, in close self._repos.close() File "/usr/lib/python2.5/site-packages/yum/repos.py", line 76, in close repo.close() File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 257, in close self.sack.close() File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 233, in close del self.pkgobjlist AttributeError: pkgobjlist > Jeremy > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > From tim.wood at datawranglers.com Tue Oct 2 16:24:50 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Tue, 2 Oct 2007 10:24:50 -0600 Subject: [Fedora-livecd-list] More on MBR Problem In-Reply-To: <47020D05.9090400@filteredperception.org> References: <13dbfe4f0709300320q2adc90c0n7537f19c7c3152b0@mail.gmail.com> <1191266868.9920.5.camel@localhost.localdomain> <47020D05.9090400@filteredperception.org> Message-ID: Following up on my email from yesterday... The error (if that wasn't clear in my previous email) was: The MBR doesn't contain valid bootstrap code. The rest of the VMWare error message is somewhere between useless and misleadingly inaccurate. The CIFS (samba) error I saw happens when the samba share with the kickstart is mounted so I doubt it's related. Since there hasn't been an entry in the yum log for almost two weeks, I don't think the problem is a screwy package causing issues. I can't see anything else in any of the other logs. I suspect setting up a new machine with Fedora 8 will be a way to deal with the issue. BUT, that doesn't solve the problem. Next time it occurs, I'll be back to solving problems windows tech support style. Besides going to Fedora 8, does anyone have any suggestions on running this down? From dmc.fedora at filteredperception.org Tue Oct 2 19:26:55 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Tue, 02 Oct 2007 14:26:55 -0500 Subject: sqlitesack.py error, was Re: [Fedora-livecd-list] traceback when installing openssh-server In-Reply-To: <46FBBE06.4070108@asic.udl.cat> References: <46FBBE06.4070108@asic.udl.cat> Message-ID: <47029B7F.2010901@filteredperception.org> Alexandre Magaz Gra?a wrote: > Hi, > Since some days ago, livecd-creator is falling with this traceback > (latest git version): > > Traceback (most recent call last): > File "/usr/bin/livecd-creator", line 1503, in > sys.exit(main()) > File "/usr/bin/livecd-creator", line 1483, in main > target.unmount() > File "/usr/bin/livecd-creator", line 503, in unmount > self.ayum.close() > File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 92, in > close > self._repos.close() > File "/usr/lib/python2.5/site-packages/yum/repos.py", line 76, in close > repo.close() > File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 257, in > close > self.sack.close() > File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 233, > in close > del self.pkgobjlist > AttributeError: pkgobjlist > > I noticed that it only happened when the base group is installed. After > some tests, I discovered it was caused by the openssh-server package (ks > attached). It worked when I tested in another machine, but failed againg > after a system update which included yum (from 3.2.1-1.fc7 to 3.2.5-1.fc7). > > Could someone give some hint about how to find out what is making it fail? see http://www.redhat.com/archives/fedora-livecd-list/2007-September/msg00116.html I got around it by grabbing yum and python-iniparse srcrpms from rawhide and rpm --rebuild(ing) them, before using them to update an otherwise normal f7+updates system. Then I was able to get git livecd-tools to work. TODO: start a livecd-tools:/usr/share/doc/livecd-tools*/FAQ which has an entry for this, along with snippets about cachedir usage, and can serve as a general placeholder for things until they either make it into the documentation, or become obsolete. -dmc From hunt at m2s.com Tue Oct 2 19:26:43 2007 From: hunt at m2s.com (Elias Hunt) Date: Tue, 2 Oct 2007 15:26:43 -0400 Subject: [Fedora-livecd-list] Trimming the size of LiveCD's In-Reply-To: References: <46D7D043.6030003@kanarip.com> <46D7D5B5.60500@rasmil.dk> <46D7D7D4.8060002@kanarip.com> <46D7DA79.8050506@filteredperception.org> <46D7DCD9.80405@kanarip.com><46D7E248.8010701@filteredperception.org><46D7E5A9.7000101@kanarip.com> Message-ID: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34D2@exchange2.ad.medicalmetrx.com> I'm just getting caught up on some old threads, but saw this one and wanted to add another voice in support. Since rpm itself already supports the --excludedocs argument, does yum support passthrough? If so could livecd-creator also support passthrough in some way? I looked at the livecd-creator code in hopes of being able to submit a patch myself, but I understand entirely too little of the yum api and whether or not it would support passing along standard rpm arguments or if yum itself might need to be modified. In the past when we did our own custom spins (not livecd-creator based) I used to do cleanup of info, man, docs, etc by removing the files from my master image. This allowed all spins to not even have to think about those files. As was suggested in this thread the files could be removed in the %post section, however that means time, disk and RAM would be utilized during the spinning process to install and then delete the files. If they never got installed in the first place it seems like the whole thing would be smoother. In our case we'd never want those files back as we don't install off livecds, so having a tool to fix would be inconsequential. Obviously this should never be enabled by default, but for many of us making custom spins it seems like a quick way to remove a lot of excess data at a cost we'd be willing to bear. If there is already an argument available in kickstart, yum or livecd-creator that can do this, I'd appreciate the slap on the wrist and being told I should pay more attention. :) Thanks. -Eli -----Original Message----- From: fedora-livecd-list-bounces at redhat.com [mailto:fedora-livecd-list-bounces at redhat.com] On Behalf Of Mohammed_Khan at Dell.com Sent: Friday, August 31, 2007 11:03 AM To: fedora-livecd-list at redhat.com Subject: RE: [Fedora-livecd-list] Trimming the size of LiveCD's Perhaps a switch will enable --excludedocs on rpms being installed into the live-cd and a tweak to yum would enable someone who liveinsts the livecd to a disk to type run some new cmd like "yum updatedocs" or something that gets the docs back? To take this another level, stuff in rpms can be flagged as necessary / extra and there can be an --excludeextras flag during rpm install and a yum updateextras or yum installextras command to go add these back in? Thanks, MoeK -----Original Message----- From: fedora-livecd-list-bounces at redhat.com [mailto:fedora-livecd-list-bounces at redhat.com] On Behalf Of Jeroen van Meeuwen Sent: Friday, August 31, 2007 4:56 AM To: fedora-livecd-list at redhat.com Subject: Re: [Fedora-livecd-list] Trimming the size of LiveCD's -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Douglas McClendon wrote: > /usr/(s)bin/liveinst is a bash wrapper around anaconda, that invokes > anaconda in a special way so that it uses the livecd filesystem > duplication method, instead of rpms. > > The (perfectly normal) anaconda on the livecd, if invoked without the > liveinst wrapper, is capable of installing from a network or local > repository of rpms. Though for obvious reasons, no local repository of > rpms has been included on the livecds. > It seems to me that if a livecd removes shit to save space, and anaconda can still use a CD with RPM's on it, the problem of not being able to install from a LiveCD is solved; Install from a LiveCD with stripped contents using another CD that holds the RPMs. However this may not be applicable to any of the Live Media the Fedora Project releases, I see a use-case for *anyone else* wanting to produce Live Media. Back to the original topic; what could we possibly remove without all "help" functions b0rking. I'm thinking INSTALL, ChangeLog/CHANGES, README, etc files, as well as maybe a number of non-prominent utility documentation sets (from the end-user POV, zlib-x.x.x documentation really isn't relevant). For some packages even, we could maybe remove the man pages as well (--excludedocs in extreme cases?) - -- Kind regards, Jeroen van Meeuwen - -kanarip - -- http://www.kanarip.com/ RHCE, LPIC-2, MCP, CCNA C6B0 7FB4 43E6 CDDA D258 F70B 28DE 9FDA 9342 BF08 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG1+WpKN6f2pNCvwgRAkz/AJ4/M11J5iLZdUrNGKmob2mmQQMeJACfWOsq rI7PW9FHfV6fbZ3m7dwCcWw= =keSi -----END PGP SIGNATURE----- -- Fedora-livecd-list mailing list Fedora-livecd-list at redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list -- Fedora-livecd-list mailing list Fedora-livecd-list at redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list From jsteer at bitscout.com Tue Oct 2 19:34:40 2007 From: jsteer at bitscout.com (Jon Steer) Date: Tue, 2 Oct 2007 15:34:40 -0400 Subject: [Fedora-livecd-list] Removing packages Message-ID: <74e6f65d0710021234s3369f52fua9e09406959890b6@mail.gmail.com> Hi, I'm a little confused about the package removal. I have attempted to remove "wireless-tools" in my packages section, but it doesn't get removed. Does this mean it won't remove if there are dependencies? I thought a --nodeps was being done for this? I have noticed in other peoples kickstart files, they specify the same package for removal multiple times? Is there some hidden ordering issue I'm missing? thanks, jon -- "Don't stand still, if you see me running down the road, 'cause there is trouble right behind me". -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at redhat.com Tue Oct 2 19:52:29 2007 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 02 Oct 2007 15:52:29 -0400 Subject: [Fedora-livecd-list] Removing packages In-Reply-To: <74e6f65d0710021234s3369f52fua9e09406959890b6@mail.gmail.com> References: <74e6f65d0710021234s3369f52fua9e09406959890b6@mail.gmail.com> Message-ID: <1191354749.25097.26.camel@localhost.localdomain> On Tue, 2007-10-02 at 15:34 -0400, Jon Steer wrote: > I have attempted to remove "wireless-tools" in my packages section, > but it doesn't get removed. Does this mean it won't remove if there > are dependencies? I thought a --nodeps was being done for this? No, --nodeps isn't done and won't be. > I have noticed in other peoples kickstart files, they specify the same > package for removal multiple times? Is there some hidden ordering > issue I'm missing? Probably more an issue of not realizing they're present more than once. Saying it more than once doesn't really change anything :) Jeremy From katzj at redhat.com Tue Oct 2 19:59:15 2007 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 02 Oct 2007 15:59:15 -0400 Subject: sqlitesack.py error, was Re: [Fedora-livecd-list] traceback when installing openssh-server In-Reply-To: <47029B7F.2010901@filteredperception.org> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> Message-ID: <1191355155.25097.31.camel@localhost.localdomain> On Tue, 2007-10-02 at 14:26 -0500, Douglas McClendon wrote: > Alexandre Magaz Gra?a wrote: > > Since some days ago, livecd-creator is falling with this traceback > > (latest git version): > > > > Traceback (most recent call last): > > File "/usr/bin/livecd-creator", line 1503, in > > sys.exit(main()) > > File "/usr/bin/livecd-creator", line 1483, in main > > target.unmount() > > File "/usr/bin/livecd-creator", line 503, in unmount > > self.ayum.close() > > File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 92, in > > close > > self._repos.close() > > File "/usr/lib/python2.5/site-packages/yum/repos.py", line 76, in close > > repo.close() > > File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 257, in > > close > > self.sack.close() > > File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 233, > > in close > > del self.pkgobjlist > > AttributeError: pkgobjlist > > > > I noticed that it only happened when the base group is installed. After > > some tests, I discovered it was caused by the openssh-server package (ks > > attached). It worked when I tested in another machine, but failed againg > > after a system update which included yum (from 3.2.1-1.fc7 to 3.2.5-1.fc7). > > > > Could someone give some hint about how to find out what is making it fail? > > see > > http://www.redhat.com/archives/fedora-livecd-list/2007-September/msg00116.html > > I got around it by grabbing yum and python-iniparse srcrpms from rawhide > and rpm --rebuild(ing) them, before using them to update an otherwise > normal f7+updates system. > > Then I was able to get git livecd-tools to work. Gah, yeah. We really need to either push yum 3.2.5-4 to F7 or get 3.2.6 out to push instead. I'll talk with Seth to figure out a plan as I keep meaning to, but have been distracted by test3. > TODO: start a livecd-tools:/usr/share/doc/livecd-tools*/FAQ which has an > entry for this, along with snippets about cachedir usage, and can serve > as a general placeholder for things until they either make it into the > documentation, or become obsolete. I'm not sure that this specifically is going to make sense to have there. Having a FAQ is fine, it's just a matter of what makes sense to go there (vs updating the README) Jeremy From katzj at redhat.com Tue Oct 2 20:03:51 2007 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 02 Oct 2007 16:03:51 -0400 Subject: [Fedora-livecd-list] Trimming the size of LiveCD's In-Reply-To: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34D2@exchange2.ad.medicalmetrx.com> References: <46D7D043.6030003@kanarip.com> <46D7D5B5.60500@rasmil.dk> <46D7D7D4.8060002@kanarip.com> <46D7DA79.8050506@filteredperception.org> <46D7DCD9.80405@kanarip.com><46D7E248.8010701@filteredperception.org> <46D7E5A9.7000101@kanarip.com> <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34D2@exchange2.ad.medicalmetrx.com> Message-ID: <1191355431.25097.37.camel@localhost.localdomain> On Tue, 2007-10-02 at 15:26 -0400, Elias Hunt wrote: > Since rpm itself already supports the --excludedocs argument, does yum > support passthrough? If so could livecd-creator also support passthrough > in some way? I looked at the livecd-creator code in hopes of being able > to submit a patch myself, but I understand entirely too little of the > yum api and whether or not it would support passing along standard rpm > arguments or if yum itself might need to be modified. It should be pretty straight-forward. pykickstart already parses a --excludedocs argument to %packages. When that argument is given, we just need to set the rpm macro _excludedocs to 1. If someone wants to whip up the patch, I would have no problem at all applying it Jeremy From hunt at m2s.com Tue Oct 2 21:09:24 2007 From: hunt at m2s.com (Elias Hunt) Date: Tue, 2 Oct 2007 17:09:24 -0400 Subject: [Fedora-livecd-list] Trimming the size of LiveCD's In-Reply-To: <1191355431.25097.37.camel@localhost.localdomain> References: <46D7D043.6030003@kanarip.com> <46D7D5B5.60500@rasmil.dk><46D7D7D4.8060002@kanarip.com> <46D7DA79.8050506@filteredperception.org><46D7DCD9.80405@kanarip.com><46D7E248.8010701@filteredperception.org><46D7E5A9.7000101@kanarip.com><50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34D2@exchange2.ad.medicalmetrx.com> <1191355431.25097.37.camel@localhost.localdomain> Message-ID: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34FE@exchange2.ad.medicalmetrx.com> I believe I've done this correctly based on the way other kickstart data is used, but I'm not particularly familiar with python. I won't be able to test this until at least tomorrow, but wanted to submit it in case someone can tell me it's completely broken, there's a better way, or in case I hit the nail on the head and it can be merged sooner rather than later. Thanks. -Eli -----Original Message----- From: fedora-livecd-list-bounces at redhat.com [mailto:fedora-livecd-list-bounces at redhat.com] On Behalf Of Jeremy Katz Sent: Tuesday, October 02, 2007 4:04 PM To: fedora-livecd-list at redhat.com Subject: RE: [Fedora-livecd-list] Trimming the size of LiveCD's On Tue, 2007-10-02 at 15:26 -0400, Elias Hunt wrote: > Since rpm itself already supports the --excludedocs argument, does yum > support passthrough? If so could livecd-creator also support passthrough > in some way? I looked at the livecd-creator code in hopes of being able > to submit a patch myself, but I understand entirely too little of the > yum api and whether or not it would support passing along standard rpm > arguments or if yum itself might need to be modified. It should be pretty straight-forward. pykickstart already parses a --excludedocs argument to %packages. When that argument is given, we just need to set the rpm macro _excludedocs to 1. If someone wants to whip up the patch, I would have no problem at all applying it Jeremy -- Fedora-livecd-list mailing list Fedora-livecd-list at redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list -------------- next part -------------- A non-text attachment was scrubbed... Name: excludedocs_support.patch Type: application/octet-stream Size: 720 bytes Desc: excludedocs_support.patch URL: From katzj at redhat.com Tue Oct 2 21:24:50 2007 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 02 Oct 2007 17:24:50 -0400 Subject: [Fedora-livecd-list] Trimming the size of LiveCD's In-Reply-To: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34FE@exchange2.ad.medicalmetrx.com> References: <46D7D043.6030003@kanarip.com> <46D7D5B5.60500@rasmil.dk> <46D7D7D4.8060002@kanarip.com> <46D7DA79.8050506@filteredperception.org> <46D7DCD9.80405@kanarip.com><46D7E248.8010701@filteredperception.org> <46D7E5A9.7000101@kanarip.com> <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34D2@exchange2.ad.medicalmetrx.com> <1191355431.25097.37.camel@localhost.localdomain> <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34FE@exchange2.ad.medicalmetrx.com> Message-ID: <1191360290.25097.44.camel@localhost.localdomain> On Tue, 2007-10-02 at 17:09 -0400, Elias Hunt wrote: > I believe I've done this correctly based on the way other kickstart data > is used, but I'm not particularly familiar with python. > > I won't be able to test this until at least tomorrow, but wanted to > submit it in case someone can tell me it's completely broken, there's a > better way, or in case I hit the nail on the head and it can be merged > sooner rather than later. Looks reasonable... might be worth moving the bits into installPackages() just to make it look a little cleaner. And a test confirming it works as expected would be nice. I'll try to get to doing so tomorrow, but depends on how the day goes Jeremy From jsteer at bitscout.com Tue Oct 2 21:28:04 2007 From: jsteer at bitscout.com (Jon Steer) Date: Tue, 2 Oct 2007 17:28:04 -0400 Subject: [Fedora-livecd-list] Removing packages In-Reply-To: <1191354749.25097.26.camel@localhost.localdomain> References: <74e6f65d0710021234s3369f52fua9e09406959890b6@mail.gmail.com> <1191354749.25097.26.camel@localhost.localdomain> Message-ID: <74e6f65d0710021428p3db579b8g4d5cbf44d9836e3d@mail.gmail.com> Ok.. so I'm confused.. you would only want to remove a package that you didn't want, so you wouldn't have added it in the first place unless you were using groups and then removing packages you didn't want. Is this what the package removal feature in the kickstart file is for? Just removing things that got added from groups that had no dependencies? thanks, jon On 10/2/07, Jeremy Katz wrote: > > On Tue, 2007-10-02 at 15:34 -0400, Jon Steer wrote: > > I have attempted to remove "wireless-tools" in my packages section, > > but it doesn't get removed. Does this mean it won't remove if there > > are dependencies? I thought a --nodeps was being done for this? > > No, --nodeps isn't done and won't be. > > > I have noticed in other peoples kickstart files, they specify the same > > package for removal multiple times? Is there some hidden ordering > > issue I'm missing? > > Probably more an issue of not realizing they're present more than once. > Saying it more than once doesn't really change anything :) > > Jeremy > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -- "Don't stand still, if you see me running down the road, 'cause there is trouble right behind me". -------------- next part -------------- An HTML attachment was scrubbed... URL: From sundaram at fedoraproject.org Tue Oct 2 21:35:46 2007 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Wed, 03 Oct 2007 03:05:46 +0530 Subject: [Fedora-livecd-list] Removing packages In-Reply-To: <74e6f65d0710021428p3db579b8g4d5cbf44d9836e3d@mail.gmail.com> References: <74e6f65d0710021234s3369f52fua9e09406959890b6@mail.gmail.com> <1191354749.25097.26.camel@localhost.localdomain> <74e6f65d0710021428p3db579b8g4d5cbf44d9836e3d@mail.gmail.com> Message-ID: <4702B9B2.8020209@fedoraproject.org> Jon Steer wrote: > Ok.. so I'm confused.. you would only want to remove a package that you > didn't want, so you wouldn't have added it in the first place unless you > were using groups and then removing packages you didn't want. > > Is this what the package removal feature in the kickstart file is for? > Just removing things that got added from groups that had no dependencies? Right and it's also useful if you are inheriting a configuration file using %include but want to remove some packages. Rahul From hunt at m2s.com Wed Oct 3 13:04:24 2007 From: hunt at m2s.com (Elias Hunt) Date: Wed, 3 Oct 2007 09:04:24 -0400 Subject: [Fedora-livecd-list] Trimming the size of LiveCD's In-Reply-To: <1191360290.25097.44.camel@localhost.localdomain> References: <46D7D043.6030003@kanarip.com> <46D7D5B5.60500@rasmil.dk><46D7D7D4.8060002@kanarip.com> <46D7DA79.8050506@filteredperception.org><46D7DCD9.80405@kanarip.com><46D7E248.8010701@filteredperception.org><46D7E5A9.7000101@kanarip.com><50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34D2@exchange2.ad.medicalmetrx.com><1191355431.25097.37.camel@localhost.localdomain><50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34FE@exchange2.ad.medicalmetrx.com> <1191360290.25097.44.camel@localhost.localdomain> Message-ID: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E3527@exchange2.ad.medicalmetrx.com> Jeremy, Original patch had a typo. I've also moved the setting of excludedocs to the top of the installPackages() function as suggested. During testing I got this error: /usr/lib/python2.5/site-packages/pykickstart/options.py:83: DeprecationWarning: Ignoring deprecated option on line 14: The --excludedocs option has been deprecated and no longer has any effect. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to remove this option. warnings.warn(_("Ignoring deprecated option on line %(lineno)s: The %(option)s option has been deprecated and no longer has any effect. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to remove this option.") % mapping, DeprecationWarning) Are we sure that kickstart isn't planning to get rid of that option? Or is this just a symptom of my using a Fedora 7 build system? Either way, I've just completed a test burn and it appears that docs, info and man pages were not installed to the CD, as expected. There were some directories and symlinks created within those directories, but I'd assume that is bad behavior in various RPMs and has nothing to do with the functionality within livecd-creator. Thanks. -Eli -----Original Message----- From: fedora-livecd-list-bounces at redhat.com [mailto:fedora-livecd-list-bounces at redhat.com] On Behalf Of Jeremy Katz Sent: Tuesday, October 02, 2007 5:25 PM To: fedora-livecd-list at redhat.com Subject: RE: [Fedora-livecd-list] Trimming the size of LiveCD's On Tue, 2007-10-02 at 17:09 -0400, Elias Hunt wrote: > I believe I've done this correctly based on the way other kickstart data > is used, but I'm not particularly familiar with python. > > I won't be able to test this until at least tomorrow, but wanted to > submit it in case someone can tell me it's completely broken, there's a > better way, or in case I hit the nail on the head and it can be merged > sooner rather than later. Looks reasonable... might be worth moving the bits into installPackages() just to make it look a little cleaner. And a test confirming it works as expected would be nice. I'll try to get to doing so tomorrow, but depends on how the day goes Jeremy -- Fedora-livecd-list mailing list Fedora-livecd-list at redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list -------------- next part -------------- A non-text attachment was scrubbed... Name: excludedocs_support_rev2.patch Type: application/octet-stream Size: 696 bytes Desc: excludedocs_support_rev2.patch URL: From katzj at redhat.com Wed Oct 3 15:57:12 2007 From: katzj at redhat.com (Jeremy Katz) Date: Wed, 03 Oct 2007 11:57:12 -0400 Subject: [Fedora-livecd-list] Trimming the size of LiveCD's In-Reply-To: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E3527@exchange2.ad.medicalmetrx.com> References: <46D7D043.6030003@kanarip.com> <46D7D5B5.60500@rasmil.dk> <46D7D7D4.8060002@kanarip.com> <46D7DA79.8050506@filteredperception.org> <46D7DCD9.80405@kanarip.com><46D7E248.8010701@filteredperception.org> <46D7E5A9.7000101@kanarip.com> <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34D2@exchange2.ad.medicalmetrx.com> <1191355431.25097.37.camel@localhost.localdomain> <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E34FE@exchange2.ad.medicalmetrx.com> <1191360290.25097.44.camel@localhost.localdomain> <50B0D0F07E90AD4A9A5DFB3CC6C7ACA96E3527@exchange2.ad.medicalmetrx.com> Message-ID: <1191427032.25097.70.camel@localhost.localdomain> On Wed, 2007-10-03 at 09:04 -0400, Elias Hunt wrote: > Original patch had a typo. I've also moved the setting of excludedocs to > the top of the installPackages() function as suggested. Thanks! > During testing I got this error: > /usr/lib/python2.5/site-packages/pykickstart/options.py:83: > DeprecationWarning: Ignoring deprecated option on line 14: The > --excludedocs option has been deprecated and no longer has any effect. > It may be removed from future releases, which will result in a fatal > error from kickstart. Please modify your kickstart file to remove this > option. [snip] > Are we sure that kickstart isn't planning to get rid of that option? Or > is this just a symptom of my using a Fedora 7 build system? We had talked about it at one point. Given kickstart being used beyond anaconda, I talked Chris into pulling the deprecated bit and so the warning will be gone as of pykickstart-1.16 > Either way, I've just completed a test burn and it appears that docs, > info and man pages were not installed to the CD, as expected. There were > some directories and symlinks created within those directories, but I'd > assume that is bad behavior in various RPMs and has nothing to do with > the functionality within livecd-creator. Yep, sounds good. Applied the patch to my tree and pushed to the git master. Thanks! Jeremy From tim.wood at datawranglers.com Thu Oct 4 04:08:26 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Wed, 3 Oct 2007 22:08:26 -0600 Subject: [Fedora-livecd-list] ARRRG In-Reply-To: <1191355155.25097.31.camel@localhost.localdomain> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> Message-ID: I had a working system last week with a good kickstart and I was busy cranking out LiveCDs as I tweaked an RPM for the LiveCD. Then it blew up. All of the LiveCDs would report bad MBRs. The log files I'm aware of (revisor, yum and messages in /var/log) reported nothing of any real relevance. Since no one on the list posted any suggestions on what to do next, I created an entirely new system running Fedora 8 under VMWare. After much futzing around I've figure out not to check the customize interface button, figured out all the extra packages to disable for whatever reason, that there doesn't seem to be a revisor-fedora-8- i386.conf file any place I can find, etc., etc. I finally get it to go past the dependency checking and on the ethernet page it will not allow me to go forward. If I hit back and then forward (to return myself to the ethernet config), it deletes the interface. If I add an interface, it will not let me proceed. If I delete all interfaces, it allows me to proceed, but stops me on the next screen. The project I'm working on is a volunteer project to help a new (read no budget) museum. The theory is that Revisor will (1) let me focus on getting this project I got myself talked into done and (2) be the basis for several paid projects. Unfortunately, this is the second (or if you count the new Fedora 8 system, third) time I've had time to work on this project where I again find a system running under VMWare that is only used to created LiveCDs inexplicably blowing completely up. Unfortunately, I'm about to get busy on another project and I'd really really really like to finish this thing and put it to use rather than pull the rug out from under these people. Can anyone tell me how I can: 1) get a system up and running under Fedora 7, Fedora 8 or CentOS that will predictably produce LiveCDs 2) keep it from blowing the !#@$!@#$ up Or should I just tell them to piss off? Tim From dmc.fedora at filteredperception.org Thu Oct 4 05:01:22 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Thu, 04 Oct 2007 00:01:22 -0500 Subject: [Fedora-livecd-list] ARRRG In-Reply-To: References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> Message-ID: <470473A2.2050302@filteredperception.org> Tim Wood wrote: [ paraphrase: "ARRG" snipped ] > Can anyone tell me how I can: > 1) get a system up and running under Fedora 7, Fedora 8 or CentOS that > will predictably produce LiveCDs > 2) keep it from blowing the !#@$!@#$ up FWIW, I haven't noticed any similar problems lately, but I use livecd-creator, and not revisor, which apparently utilizes a significantly forked version of livecd-creator. Certainly F8 doesn't exist yet, so one must not have the expectation that it can be used for a stable development system. While nothing I'm about to say helps you now, here is a reiteration of my theoretical QA plan to mitigate similar problems in the future- A) install livecd-tools and revisor by default in a standard spin. developer spin seems like the right place. I don't think either will bring in many new dependencies, i.e. take up signifcant space. B) have a dedicated QA server spinning up daily spins of (A). These QA spins would be served via bittorrent. This server would be f7(stable) pulling in updates via yum daily. After being created, these spins would be booted under headless qemu, displaying to a vnc recorded session. These boot-videos would be available via bittorrent as well, as well as basic boot-speed timing analysis, and logfiles from the boot. C) have another server like (B), except which is a rawhide, updated daily system, running git livecd-tools, doing exactly the same thing. So far, this doesn't really guarantee to have prevented your issue, but one could imagine the server (B), booting the daily spin under qemu, and then _respinning_ that(itself) under qemu, and then comparing the output. Sure, this isn't likely to be implemented _real soon_, but I do love the ultimate "eating your own dogmeat" aspect of it. Additionally, I still intend to one of these days (perpetually 'soon') provide an alternate livecd creation tool, which doesn't require root privileges. The fact that every time you build a livecd, 700+ rpms are happily running their %pre/%post as root under a chroot, still scares me when I run livecd-creator. For instance, don't try putting this in your kickstart's %post (seriously, unless you like black poweroff of death)- find / -exec touch -t 199912211221 '{}' ';' -dmc From tim.wood at datawranglers.com Thu Oct 4 06:30:26 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Thu, 4 Oct 2007 00:30:26 -0600 Subject: [Fedora-livecd-list] ARRRG In-Reply-To: <470473A2.2050302@filteredperception.org> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> <470473A2.2050302@filteredperception.org> Message-ID: Douglas, I'm going to stirfry your email in responding > While nothing I'm about to say helps you now, here is a reiteration > of my theoretical QA plan to mitigate similar problems in the future- > > A) install livecd-tools and revisor by default in a standard spin. > developer spin seems like the right place. I don't think either > will bring in many new dependencies, i.e. take up signifcant space. > > B) have a dedicated QA server spinning up daily spins of (A). > These QA spins would be served via bittorrent. This server would > be f7(stable) pulling in updates via yum daily. After being > created, these spins would be booted under headless qemu, > displaying to a vnc recorded session. These boot-videos would be > available via bittorrent as well, as well as basic boot-speed > timing analysis, and logfiles from the boot. > > C) have another server like (B), except which is a rawhide, updated > daily system, running git livecd-tools, doing exactly the same thing. I'm using vmware in places of qemu. Since I only have two physical machines to use for everything, I have one virtual machine that handles just development of LiveCDs with Revisor and a second that's used for testing. The nice thing is that if an RPM ever does blow up my LiveCD creation machine, building another one (if I can ever figure out how to get one that stays working) doesn't take much time. Of course that LiveCD with Revisor on it that I asked about a week ago would make things very cool. Starting in the middle of the process, what I do is: * boot the last livecd image * based on what I find in testing, adjust the kickstart file and my custom rpm. I'll continue the testing/tweaking project until I've made enough changes that there's a significant divergance between the original and the next rev * create another livecd * wash rinse repeat > FWIW, I haven't noticed any similar problems lately, but I use > livecd-creator, and not revisor, which apparently utilizes a > significantly forked version of livecd-creator. [snip] > Certainly F8 doesn't exist yet, so one must not have the > expectation that it can be used for a stable development system. Revisor blows up randomly. When it blows up it takes far too long to get a system that works. It usually entails creating a kickstart all over again to get one that creates LiveCDs. Each rev seems to bring new quirks such as buttons that do nothing but blow up Revisor. Fedora 8 is currently in Beta 2; usually a stage where a major button causes everything to blow up. As far as livecd-creator... after I posted my email I realized that if no one has any ideas after three days on the MBR problem, they're probably not going to have suggestions on a broader question like how to make Revisor work on an ongoing basis in a reasonable amount of time. If I'm going to have a shot at getting this put to bed before my next big paying project comes in (and causes me to shelf this for somewhere between 2 months and the end of time), I'm going to have to switch to another way of getting there. Strangely... google had just gotten me backed into livecd-creator when your email popped in. I'm going to try that. If I ever get around to creating that LiveCD for mastering LiveCDs, it'll probably be livecd-creator. Tim From hunt at m2s.com Thu Oct 4 14:32:19 2007 From: hunt at m2s.com (Elias Hunt) Date: Thu, 4 Oct 2007 10:32:19 -0400 Subject: [Fedora-livecd-list] Bootloader timeout and default kernel checkin to git? Message-ID: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA9745F60@exchange2.ad.medicalmetrx.com> Jeremy, I noticed that there was a git checking to livecd for supporting new kickstart use of bootloader timeout and default kernel. Is there anywhere that tells the proper format for these in the kickstart file? Generally I'd bug off list, but I know I've seen a number of questions about this before on list, and figured everyone would like to know. Thanks. -Eli -- Elias Hunt Systems Engineer M2S, Inc. 12 Commerce Ave. W Lebanon, NH 03784 Ph: 603-298-5509 x365 Fax: 603-298-8816 hunt at m2s.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at redhat.com Thu Oct 4 14:48:40 2007 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 04 Oct 2007 10:48:40 -0400 Subject: [Fedora-livecd-list] Bootloader timeout and default kernel checkin to git? In-Reply-To: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA9745F60@exchange2.ad.medicalmetrx.com> References: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA9745F60@exchange2.ad.medicalmetrx.com> Message-ID: <1191509320.5234.23.camel@localhost.localdomain> On Thu, 2007-10-04 at 10:32 -0400, Elias Hunt wrote: > I noticed that there was a git checking to livecd for supporting new > kickstart use of bootloader timeout and default kernel. Is there > anywhere that tells the proper format for these in the kickstart file? Well, pykickstart isn't built yet, so the syntax isn't set in stone. But it's basically what I suggested the last time the discussion was had bootloader --timeout=foo to set the timeout and bootloader --default=kernel-xen to set the default to kernel-xen. And the options can, of course, be combined as well as the rest of the bootloader options already available (of which --append is really the only relevant one for live images) Jeremy From jonathansteffan at gmail.com Thu Oct 4 18:46:06 2007 From: jonathansteffan at gmail.com (Jonathan Steffan) Date: Thu, 04 Oct 2007 12:46:06 -0600 Subject: [Fedora-livecd-list] ARRRG In-Reply-To: References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> <470473A2.2050302@filteredperception.org> Message-ID: <470534EE.1070704@gmail.com> Tim Wood wrote: > Revisor blows up randomly. When it blows up it takes far too long to > get a system that works. It usually entails creating a kickstart all > over again to get one that creates LiveCDs. Each rev seems to bring > new quirks such as buttons that do nothing but blow up Revisor. > Fedora 8 is currently in Beta 2; usually a stage where a major button > causes everything to blow up. What version of revisor? Please check the version from updates-testing. > > As far as livecd-creator... after I posted my email I realized that if > no one has any ideas after three days on the MBR problem, they're > probably not going to have suggestions on a broader question like how > to make Revisor work on an ongoing basis in a reasonable amount of > time. If I'm going to have a shot at getting this put to bed before > my next big paying project comes in (and causes me to shelf this for > somewhere between 2 months and the end of time), I'm going to have to > switch to another way of getting there. Strangely... google had just > gotten me backed into livecd-creator when your email popped in. I'm > going to try that. If I ever get around to creating that LiveCD for > mastering LiveCDs, it'll probably be livecd-creator. Livecd-creator and revisor share common live-cd bits and, yes, we have forked livecd-creator into revisor. Let's not bring all that up again. Check the mailing list archives if you want the details. Jonathan Steffan daMaestro From tim.wood at datawranglers.com Thu Oct 4 18:51:22 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Thu, 4 Oct 2007 12:51:22 -0600 Subject: [Fedora-livecd-list] ARRRG In-Reply-To: <470534EE.1070704@gmail.com> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> <470473A2.2050302@filteredperception.org> <470534EE.1070704@gmail.com> Message-ID: <3342703B-C998-4DE2-9839-7916ED878FD9@datawranglers.com> revisor-2.0.4.3-7.fc8 under Fedora 8 Beta 2 revisor-2.0.4.1-2.fc7 under Fedora 7 On Oct 4, 2007, at 12:46 PM, Jonathan Steffan wrote: > Tim Wood wrote: >> Revisor blows up randomly. When it blows up it takes far too long to >> get a system that works. It usually entails creating a kickstart all >> over again to get one that creates LiveCDs. Each rev seems to bring >> new quirks such as buttons that do nothing but blow up Revisor. >> Fedora 8 is currently in Beta 2; usually a stage where a major button >> causes everything to blow up. > > What version of revisor? Please check the version from updates- > testing. > >> >> As far as livecd-creator... after I posted my email I realized >> that if >> no one has any ideas after three days on the MBR problem, they're >> probably not going to have suggestions on a broader question like how >> to make Revisor work on an ongoing basis in a reasonable amount of >> time. If I'm going to have a shot at getting this put to bed before >> my next big paying project comes in (and causes me to shelf this for >> somewhere between 2 months and the end of time), I'm going to have to >> switch to another way of getting there. Strangely... google had just >> gotten me backed into livecd-creator when your email popped in. I'm >> going to try that. If I ever get around to creating that LiveCD for >> mastering LiveCDs, it'll probably be livecd-creator. > > Livecd-creator and revisor share common live-cd bits and, yes, we have > forked livecd-creator into revisor. Let's not bring all that up again. > Check the mailing list archives if you want the details. > > Jonathan Steffan > daMaestro From jonathansteffan at gmail.com Thu Oct 4 19:44:26 2007 From: jonathansteffan at gmail.com (Jonathan Steffan) Date: Thu, 04 Oct 2007 13:44:26 -0600 Subject: [Fedora-livecd-list] ARRRG In-Reply-To: <3342703B-C998-4DE2-9839-7916ED878FD9@datawranglers.com> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> <470473A2.2050302@filteredperception.org> <470534EE.1070704@gmail.com> <3342703B-C998-4DE2-9839-7916ED878FD9@datawranglers.com> Message-ID: <4705429A.8060401@gmail.com> Tim Wood wrote: > revisor-2.0.4.3-7.fc8 under Fedora 8 Beta 2 > > revisor-2.0.4.1-2.fc7 under Fedora 7 http://koji.fedoraproject.org/koji/buildinfo?buildID=18042 http://koji.fedoraproject.org/koji/buildinfo?buildID=18041 I know that 2.0.4.3 build is in updates-testing. You could also: http://revisor.fedoraunity.org/documentation/building-revisor-from-source/ We are working to get a new release done here soon, but I don't have any eta. Jonathan Steffan daMaestro From tim.wood at datawranglers.com Thu Oct 4 19:54:37 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Thu, 4 Oct 2007 13:54:37 -0600 Subject: [Fedora-livecd-list] ARRRG In-Reply-To: <4705429A.8060401@gmail.com> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> <470473A2.2050302@filteredperception.org> <470534EE.1070704@gmail.com> <3342703B-C998-4DE2-9839-7916ED878FD9@datawranglers.com> <4705429A.8060401@gmail.com> Message-ID: <62E70B42-7D16-4FB2-BE8E-86F91B830C92@datawranglers.com> Thanks. I thought of that and may do that if my futzing with livecd- creator doesn't get me there. Tim On Oct 4, 2007, at 1:44 PM, Jonathan Steffan wrote: > Tim Wood wrote: >> revisor-2.0.4.3-7.fc8 under Fedora 8 Beta 2 >> >> revisor-2.0.4.1-2.fc7 under Fedora 7 > http://koji.fedoraproject.org/koji/buildinfo?buildID=18042 > http://koji.fedoraproject.org/koji/buildinfo?buildID=18041 > > > I know that 2.0.4.3 build is in updates-testing. You could also: > > http://revisor.fedoraunity.org/documentation/building-revisor-from- > source/ > > We are working to get a new release done here soon, but I don't > have any > eta. > > Jonathan Steffan > daMaestro From tim.wood at datawranglers.com Fri Oct 5 03:52:53 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Thu, 4 Oct 2007 21:52:53 -0600 Subject: [Fedora-livecd-list] Possible solution to mbr problem In-Reply-To: <4705429A.8060401@gmail.com> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> <470473A2.2050302@filteredperception.org> <470534EE.1070704@gmail.com> <3342703B-C998-4DE2-9839-7916ED878FD9@datawranglers.com> <4705429A.8060401@gmail.com> Message-ID: <8A514B78-3061-4411-908A-152A6A55E673@datawranglers.com> I may have a solution on the mbr problem. livecd-creator and revisor seem to create the mbr for the livecd by copying /usr/lib/ syslinux/mbr.bin to the disk image. A mbr should be 446 bytes but the mbr on both systems I'm trying to master livecds with is 440 bytes. Could someone (Jonathan?) who is able to create livecds with livecd-creator or revisor check the size of their /usr/lib/syslinux/ mbr.bin? I suspect it will be 446 bytes. It may take some futzing to figure out which rpm is corrupted and where it happened (my repository server, somewhere upstream?) so if I talk someone into tarring a copy and posting it to the list it probably be the quickest resolution to my issue... Tim On Oct 4, 2007, at 1:44 PM, Jonathan Steffan wrote: > Tim Wood wrote: >> revisor-2.0.4.3-7.fc8 under Fedora 8 Beta 2 >> >> revisor-2.0.4.1-2.fc7 under Fedora 7 > http://koji.fedoraproject.org/koji/buildinfo?buildID=18042 > http://koji.fedoraproject.org/koji/buildinfo?buildID=18041 > > > I know that 2.0.4.3 build is in updates-testing. You could also: > > http://revisor.fedoraunity.org/documentation/building-revisor-from- > source/ > > We are working to get a new release done here soon, but I don't > have any > eta. > > Jonathan Steffan > daMaestro > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > From alexm at asic.udl.cat Fri Oct 5 08:19:50 2007 From: alexm at asic.udl.cat (=?ISO-8859-1?Q?Alexandre_Magaz_Gra=E7a?=) Date: Fri, 05 Oct 2007 10:19:50 +0200 Subject: sqlitesack.py error, was Re: [Fedora-livecd-list] traceback when installing openssh-server In-Reply-To: <47029B7F.2010901@filteredperception.org> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> Message-ID: <4705F3A6.6050205@asic.udl.cat> En/na Douglas McClendon ha escrit: > Alexandre Magaz Gra?a wrote: >> Hi, >> Since some days ago, livecd-creator is falling with this traceback >> (latest git version): >> >> Traceback (most recent call last): >> File "/usr/bin/livecd-creator", line 1503, in >> sys.exit(main()) >> File "/usr/bin/livecd-creator", line 1483, in main >> target.unmount() >> File "/usr/bin/livecd-creator", line 503, in unmount >> self.ayum.close() >> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 92, in >> close >> self._repos.close() >> File "/usr/lib/python2.5/site-packages/yum/repos.py", line 76, in close >> repo.close() >> File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 257, in >> close >> self.sack.close() >> File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 233, >> in close >> del self.pkgobjlist >> AttributeError: pkgobjlist >> >> I noticed that it only happened when the base group is installed. >> After some tests, I discovered it was caused by the openssh-server >> package (ks attached). It worked when I tested in another machine, but >> failed againg after a system update which included yum (from >> 3.2.1-1.fc7 to 3.2.5-1.fc7). >> >> Could someone give some hint about how to find out what is making it >> fail? > > see > > http://www.redhat.com/archives/fedora-livecd-list/2007-September/msg00116.html > > > I got around it by grabbing yum and python-iniparse srcrpms from rawhide > and rpm --rebuild(ing) them, before using them to update an otherwise > normal f7+updates system. > > Then I was able to get git livecd-tools to work. > > TODO: start a livecd-tools:/usr/share/doc/livecd-tools*/FAQ which has an > entry for this, along with snippets about cachedir usage, and can serve > as a general placeholder for things until they either make it into the > documentation, or become obsolete. > > -dmc > Thanks! after upgrading yum it works again :) From alexm at asic.udl.cat Fri Oct 5 08:27:11 2007 From: alexm at asic.udl.cat (=?ISO-8859-1?Q?Alexandre_Magaz_Gra=E7a?=) Date: Fri, 05 Oct 2007 10:27:11 +0200 Subject: [Fedora-livecd-list] Possible solution to mbr problem In-Reply-To: <8A514B78-3061-4411-908A-152A6A55E673@datawranglers.com> References: <46FBBE06.4070108@asic.udl.cat> <47029B7F.2010901@filteredperception.org> <1191355155.25097.31.camel@localhost.localdomain> <470473A2.2050302@filteredperception.org> <470534EE.1070704@gmail.com> <3342703B-C998-4DE2-9839-7916ED878FD9@datawranglers.com> <4705429A.8060401@gmail.com> <8A514B78-3061-4411-908A-152A6A55E673@datawranglers.com> Message-ID: <4705F55F.9060008@asic.udl.cat> En/na Tim Wood ha escrit: > I may have a solution on the mbr problem. livecd-creator and revisor > seem to create the mbr for the livecd by copying > /usr/lib/syslinux/mbr.bin to the disk image. A mbr should be 446 bytes > but the mbr on both systems I'm trying to master livecds with is 440 > bytes. Could someone (Jonathan?) who is able to create livecds with > livecd-creator or revisor check the size of their > /usr/lib/syslinux/mbr.bin? I suspect it will be 446 bytes. It may take > some futzing to figure out which rpm is corrupted and where it happened > (my repository server, somewhere upstream?) so if I talk someone into > tarring a copy and posting it to the list it probably be the quickest > resolution to my issue... > > Tim > > > > > > > On Oct 4, 2007, at 1:44 PM, Jonathan Steffan wrote: > >> Tim Wood wrote: >>> revisor-2.0.4.3-7.fc8 under Fedora 8 Beta 2 >>> >>> revisor-2.0.4.1-2.fc7 under Fedora 7 >> http://koji.fedoraproject.org/koji/buildinfo?buildID=18042 >> http://koji.fedoraproject.org/koji/buildinfo?buildID=18041 >> >> >> I know that 2.0.4.3 build is in updates-testing. You could also: >> >> http://revisor.fedoraunity.org/documentation/building-revisor-from-source/ >> >> >> We are working to get a new release done here soon, but I don't have any >> eta. >> >> Jonathan Steffan >> daMaestro >> In my system this file is also 440 bytes and it works. I attach it if you want to try it... Cheers, ?lex -------------- next part -------------- A non-text attachment was scrubbed... Name: mbr.bin Type: application/octet-stream Size: 440 bytes Desc: not available URL: From chitlesh at fedoraproject.org Sat Oct 6 12:47:35 2007 From: chitlesh at fedoraproject.org (Chitlesh GOORAH) Date: Sat, 6 Oct 2007 14:47:35 +0200 Subject: [Fedora-livecd-list] traceback when installing openssh-server In-Reply-To: <46FBBE06.4070108@asic.udl.cat> References: <46FBBE06.4070108@asic.udl.cat> Message-ID: <13dbfe4f0710060547k5924be8bme364d46d23ff0b18@mail.gmail.com> On 9/27/07, Alexandre Magaz Gra?a wrote: > Could someone give some hint about how to find out what is making it fail? I encountered tracebacks only when creating live images on a F7 box? Use a rawhide box instead with the git version of livecd-tools However my livecd images built on F8 automatically do a media check !! Thus wasting about 15 minutes on a 2.7GHZ box. Then there's kernel panics. The only way I could boot these livecd images is to edit the arguments on grub: * removing "check" ??? <<<<<<<<<<< why is this by default ???????? * added enforcing=0 regards, Chitlesh -- http://clunixchit.blogspot.com From dmc.fedora at filteredperception.org Sat Oct 6 17:17:15 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Sat, 06 Oct 2007 12:17:15 -0500 Subject: [Fedora-livecd-list] traceback when installing openssh-server In-Reply-To: <13dbfe4f0710060547k5924be8bme364d46d23ff0b18@mail.gmail.com> References: <46FBBE06.4070108@asic.udl.cat> <13dbfe4f0710060547k5924be8bme364d46d23ff0b18@mail.gmail.com> Message-ID: <4707C31B.1090208@filteredperception.org> Chitlesh GOORAH wrote: > On 9/27/07, Alexandre Magaz Gra?a wrote: >> Could someone give some hint about how to find out what is making it fail? > > I encountered tracebacks only when creating live images on a F7 box? > Use a rawhide box instead with the git version of livecd-tools Obviously rawhide iff you are a developer/tester. > However my livecd images built on F8 automatically do a media check !! > Thus wasting about 15 minutes on a 2.7GHZ box. > Then there's kernel panics. > > The only way I could boot these livecd images is to edit the arguments on grub: > * removing "check" ??? <<<<<<<<<<< why is this by default ???????? > * added enforcing=0 Not sure it's related, but it looks like Jeremy very recently made a commit that involved the bootloader- http://git.fedoraproject.org/?p=hosted/livecd;a=shortlog BTW, didn't folks say they wanted commits sent to the list? I'm fairly content with that link. -dmc From tim.wood at datawranglers.com Sat Oct 6 22:24:38 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Sat, 6 Oct 2007 16:24:38 -0600 Subject: [Fedora-livecd-list] Git/Rawhide vs. v009/F7 ? Message-ID: Two different recommendations have been posted on what version of Fedora to use (F7 presumably with livecd-tools 009 vs. rawhide and livecd-tools from git). Rawhide and git (seems to me) to be a formula for a very unstable development environment. But, livecd- tools 009 and F7 seem to be pretty out of date. BUT... that's my guessing. Why one combination versus the other from someone in the livecd development loop? And how do you modify grub arguments for a livecd (besides doing weird foo on a created image...)? On Oct 6, 2007, at 6:47 AM, Chitlesh GOORAH wrote: > On 9/27/07, Alexandre Magaz Gra?a wrote: >> Could someone give some hint about how to find out what is making >> it fail? > > I encountered tracebacks only when creating live images on a F7 box? > Use a rawhide box instead with the git version of livecd-tools > > However my livecd images built on F8 automatically do a media check !! > Thus wasting about 15 minutes on a 2.7GHZ box. > Then there's kernel panics. > > The only way I could boot these livecd images is to edit the > arguments on grub: > * removing "check" ??? <<<<<<<<<<< why is this by default ???????? > * added enforcing=0 > > regards, > Chitlesh > > -- > http://clunixchit.blogspot.com > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > From tim.wood at datawranglers.com Sun Oct 7 02:31:25 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Sat, 6 Oct 2007 20:31:25 -0600 Subject: [Fedora-livecd-list] livecd built from git on top of rawhide Message-ID: <3AC770DF-9085-481E-B006-E4A1049DA161@datawranglers.com> I've converted a Fedora 8 test 2 system to rawhide, installed livecd- creator from GIT * I'm still getting the no repository available to set up error * I'm also getting a lot of python errors referring to /usr/lib/ python2.5/site-packages/yum/__init__.py. I'm using /usr/share/livecd-tools/livecd-fedora-minimal.ks as my config with the selinux flag changed from enforcing to disabled. Questions that seem relevant that I can find any answers to: *) I've seen some allusions in my digging that using 'Fedora' as part of the repo name causes problems because it wasn't disabled in yum. Does that mean going into /etc/yum... and setting enabled to 0 on all the repos while running livecd-creator? Does it mean doing the same thing on just repos with similar naming Is livecd-creator supposed to grab the repository config from /etc/ yum/something? *) What constitutes a valid repository? Should the path end with a slash? Should it point to the directory holding the repodata dir or someplace else? *) Is there a FAQ or other additional documentation? If I was stupid enough ;-) to voluntee sr, is there a need for someone to maintain this stuff? I've found the reasonably obvious stuff: - appropriate docs in /usr/ - the material on the website that essentially mirrors that - the LiveCDHowTo in the FedoraLiveCD part of the wiki *) Does someone have a working config file that uses a public repo that they'd post? Tim From dmc.fedora at filteredperception.org Sun Oct 7 20:13:03 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Sun, 07 Oct 2007 15:13:03 -0500 Subject: [Fedora-livecd-list] Git/Rawhide vs. v009/F7 ? In-Reply-To: References: Message-ID: <47093DCF.2000700@filteredperception.org> Tim Wood wrote: > Two different recommendations have been posted on what version of Fedora > to use (F7 presumably with livecd-tools 009 vs. rawhide and livecd-tools > from git). Rawhide and git (seems to me) to be a formula for a very > unstable development environment. But, livecd-tools 009 and F7 seem to > be pretty out of date. BUT... that's my guessing. Why one combination > versus the other from someone in the livecd development loop? I'm actually only a livecd-tools developer, I.e. the end results I'm going after are merely getting patches applied, and enjoying that that will help people out. So given that caveat- my experience tells me- What you said pretty much sums it up. livecd-tools is still immature and developing and improving rapidly (on average more than 1 git commit per day over the past few months). As such, the traditional wisdom that F7+updates is 'stable', is countered by the fact that it is pretty seriously old and different from git-head. And rawhide should be approaching stable. I recently did a completely fresh build env, using f7+updates, git livecd, and then rawhide yum and iniparse rpmbuild --rebuild(ed) because that was required to get git livecd working on an otherwise f7+updates. This is strictly anecdotal, and only works for people comfortable with --rebuilding rawhide srcrpms on a stable distro. > And how do you modify grub arguments for a livecd (besides doing weird > foo on a created image...)? I haven't used the feature, but my guess is that Jeremy has worked it out to use the same bootloader options that kickstart understands. But of course I'm also guessing this feature is not in the f7+updates version, but only git-head. -dmc > > On Oct 6, 2007, at 6:47 AM, Chitlesh GOORAH wrote: >> On 9/27/07, Alexandre Magaz Gra?a wrote: >>> Could someone give some hint about how to find out what is making it >>> fail? >> >> I encountered tracebacks only when creating live images on a F7 box? >> Use a rawhide box instead with the git version of livecd-tools >> >> However my livecd images built on F8 automatically do a media check !! >> Thus wasting about 15 minutes on a 2.7GHZ box. >> Then there's kernel panics. >> >> The only way I could boot these livecd images is to edit the arguments >> on grub: >> * removing "check" ??? <<<<<<<<<<< why is this by default ???????? >> * added enforcing=0 >> >> regards, >> Chitlesh >> >> -- >> http://clunixchit.blogspot.com >> >> -- >> Fedora-livecd-list mailing list >> Fedora-livecd-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> > > > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From katzj at redhat.com Sun Oct 7 20:25:44 2007 From: katzj at redhat.com (Jeremy Katz) Date: Sun, 07 Oct 2007 16:25:44 -0400 Subject: [Fedora-livecd-list] traceback when installing openssh-server In-Reply-To: <13dbfe4f0710060547k5924be8bme364d46d23ff0b18@mail.gmail.com> References: <46FBBE06.4070108@asic.udl.cat> <13dbfe4f0710060547k5924be8bme364d46d23ff0b18@mail.gmail.com> Message-ID: <1191788744.28263.18.camel@localhost.localdomain> On Sat, 2007-10-06 at 14:47 +0200, Chitlesh GOORAH wrote: > On 9/27/07, Alexandre Magaz Gra?a wrote: > > Could someone give some hint about how to find out what is making it fail? > > I encountered tracebacks only when creating live images on a F7 box? > Use a rawhide box instead with the git version of livecd-tools Yes, my testing on Fedora 7 is rare. I run rawhide all the time on all my boxes and have been doing so for many, many years now. I do quick checks with Fedora 7 occasionally (and will do a larger set of them before pushing an update to Fedora 7 within the next few weeks), but to a large extent, if you're wanting to run on not the development tree and are following livecd-tools.git, you may hit rough patches and need to send patches[1]. > However my livecd images built on F8 automatically do a media check !! > Thus wasting about 15 minutes on a 2.7GHZ box. Yeah, I accidentally (well, I knew it when I was writing the code, I just forgot when I was committing and pushing) enabled verify as the default when cleaning up some of the support for multiple kernels. As dmc noticed, though, that should be fixed up in current .git. > Then there's kernel panics. Need more details here to know what's going on. What exactly is the panic you're seeing? The image I built this morning is fine. > The only way I could boot these livecd images is to edit the arguments on grub: > * removing "check" ??? <<<<<<<<<<< why is this by default ???????? See above > * added enforcing=0 Hrmm -- on Thursday or Friday, there was something a little funky in the policy package with fresh installs. If you were seeing problems that were SELinux related, that could well be the cause. But that looks to be fixed in today's rawhide Jeremy From katzj at redhat.com Sun Oct 7 20:26:57 2007 From: katzj at redhat.com (Jeremy Katz) Date: Sun, 07 Oct 2007 16:26:57 -0400 Subject: [Fedora-livecd-list] traceback when installing openssh-server In-Reply-To: <4707C31B.1090208@filteredperception.org> References: <46FBBE06.4070108@asic.udl.cat> <13dbfe4f0710060547k5924be8bme364d46d23ff0b18@mail.gmail.com> <4707C31B.1090208@filteredperception.org> Message-ID: <1191788817.28263.20.camel@localhost.localdomain> On Sat, 2007-10-06 at 12:17 -0500, Douglas McClendon wrote: > BTW, didn't folks say they wanted commits sent to the list? I'm fairly > content with that link. More I was asking if people wanted them. I'm getting them sent to me as it stands, which is what I really care about. Given that there wasn't really any response either way, I've just left things as is for now. If people are happy with just using gitweb, I feel no need to spam the list. But if people want the commits in their inbox, I can easily change the commit mail to go to the list instead of just my inbox Jeremy From katzj at redhat.com Sun Oct 7 20:32:43 2007 From: katzj at redhat.com (Jeremy Katz) Date: Sun, 07 Oct 2007 16:32:43 -0400 Subject: [Fedora-livecd-list] Git/Rawhide vs. v009/F7 ? In-Reply-To: References: Message-ID: <1191789163.28263.27.camel@localhost.localdomain> On Sat, 2007-10-06 at 16:24 -0600, Tim Wood wrote: > Two different recommendations have been posted on what version of > Fedora to use (F7 presumably with livecd-tools 009 vs. rawhide and > livecd-tools from git). Rawhide and git (seems to me) to be a > formula for a very unstable development environment. But, livecd- > tools 009 and F7 seem to be pretty out of date. BUT... that's my > guessing. Why one combination versus the other from someone in the > livecd development loop? rawhide and git can introduce a few bobbles from time to time, but as much as possible, I try to not push things to the git master until I've at least done a test run that worked with them. Every once in a while, I'll goof or not test an "obvious" change, but that's not that common. Running rawhide and/or building live images against rawhide will also from time to time introduce "interesting" behaviors, but it's all part of dogfooding. Generally, these aren't too bad and they're pretty quick to understand and get fixed. The contents of livecd-tools-009 are definitely quite a bit different from what is present today, so if you're actually looking at working on the tools themselves, you're going to be far better off to use the tip, even if you do it on Fedora 7[1]. If you're just building images, well, 009 is probably fine unless there's a specific feature you care about that wasn't implemented until after then. Hopefully development on the tools will be cooling down a bit post Fedora 8. I know there are some things that we want to implement for images _created_ (like persistence), but hopefully actually livecd-creator changes will be slowing a bit. > And how do you modify grub arguments for a livecd (besides doing > weird foo on a created image...)? bootloader --append="some args here" should do the trick Jeremy [1] Again, with the caveat that this is likely to break a little more often just because I don't try it very often. Things that break should be relatively obvious, though, and patches always accepted. Or I'll even look at tracebacks and usually can fix them up pretty quick From katzj at redhat.com Sun Oct 7 20:37:24 2007 From: katzj at redhat.com (Jeremy Katz) Date: Sun, 07 Oct 2007 16:37:24 -0400 Subject: [Fedora-livecd-list] livecd built from git on top of rawhide In-Reply-To: <3AC770DF-9085-481E-B006-E4A1049DA161@datawranglers.com> References: <3AC770DF-9085-481E-B006-E4A1049DA161@datawranglers.com> Message-ID: <1191789444.28263.33.camel@localhost.localdomain> On Sat, 2007-10-06 at 20:31 -0600, Tim Wood wrote: > I've converted a Fedora 8 test 2 system to rawhide, installed livecd- > creator from GIT > * I'm still getting the no repository available to set up error This is noise from yum... I really should sit down and kill the message as it's confusing for a lot of hte yum API users. > * I'm also getting a lot of python errors referring to /usr/lib/ > python2.5/site-packages/yum/__init__.py. Haven't seen this... > I'm using /usr/share/livecd-tools/livecd-fedora-minimal.ks as my > config with the selinux flag changed from enforcing to disabled. Should work although I haven't done selinux disabled recently. > Questions that seem relevant that I can find any answers to: > *) I've seen some allusions in my digging that using 'Fedora' as part > of the repo name causes problems because it wasn't disabled in yum. > Does that mean going into /etc/yum... and setting enabled to 0 on all > the repos while running livecd-creator? > Does it mean doing the same thing on just repos with similar naming > Is livecd-creator supposed to grab the repository config from /etc/ > yum/something? In the past it caused problems, it shouldn't anymore. Repo configs in /etc/yum.repos.d shouldn't have any bearing on the repos set up and used by livecd-creator. > *) What constitutes a valid repository? > Should the path end with a slash? > Should it point to the directory holding the repodata dir or > someplace else? Exactly what you'd use as the baseurl line of a yum repo config. If a local file repository, file:///home/katzj/trees/rawhide/i386 is what I use on my laptop with a local repo of rawhide. That points to the top-level of the tree; ie, repodata is one of the subdirectories of that directory. Similarly, you can point to an http or ftp repo. > *) Is there a FAQ or other additional documentation? If I was stupid > enough ;-) to voluntee sr, is there a need for someone to maintain > this stuff? I think that before going the route of a FAQ, if there are gaps from the README, addressing them there is the better answer. Patches or suggestions of gaps accepted. I've been in the code too long now to be able to always notice the things which should be there :-/ > *) Does someone have a working config file that uses a public repo > that they'd post? I use the configs from the config/ dir unchanged for creating the actual Fedora live images. When doing testing on my laptop, I'll often use the minimal config with the repo line changed to repo --name=devel --baseurl=file:///home/katzj/trees/rawhide/i386 and no other changes. Jeremy From tim.wood at datawranglers.com Sun Oct 7 20:37:20 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Sun, 7 Oct 2007 14:37:20 -0600 Subject: [Fedora-livecd-list] some lessons learned Message-ID: <0102BD05-C482-4526-9E02-854C39D8796A@datawranglers.com> I've finally gotten everything working again. In the process, I've discovered several things. Hopefully I'll save someone else some serious heartburn in running this down. The resemblance to FAQ stuff is semi-intentional and meant as much for people googling for answers as anything else... I'm working with livecd-creator now, but I suspect most the stuff below applies equally to Revisor. -------- MBR Errors I discovered that I was having problems with known good LiveCDs. Repeat to self, verify that the hardware (or virtual hardware...) is working before throwing your keyboard. For instance, test a known good LiveCD ( a Fedora respin, Knoppix and Berry Linux are all good tests). If that won't boot, the problem isn't livecd-creator/ Revisor. In my case, some combination of these steps solved the problem: 1) Updating to the latest version of VMware (for these purposes, a reinstall) 2) Running the configuration script for VMware again 3) Choosing RedHat 4 when setting up the virtual machines (for testing, for instance) instead of other linux/2.6 kernel -------- What's a valid repo Fedora 7 appears to use sqlite-based metadata. The files in the repodata directory seem to be filelists.sqlite.bz2, other.sqllite.bz2, primary.sqlite.bz2. The respository errors I've been running into were because versions of createrepo older than roughly 0.4.7 don't generate that data and Fedora 7 doesn't (ever?) fall back to the older metadata formats. My repository runs on a CentOS install and is maintained by dag's mrepo. If someone is running some variant of this combo: 1) Download a current version of createrepo (I'm using 0.4.10 from http://linux.duke.edu/projects/metadata/generate/) and build it (rpmbuild --rebuild) 2) Current versions of createrepo require yum-metadata-parser ... which is in the CentOS 4 testing repository. 3) To generate the metadata, run createrepo with the --databases flag. For mrepo, edit mrepo.conf and add a line with: "createrepo- options = --databases" -------- Rawhide, git and a heaping helping of patience Third, continuing with my (d'oh that's obvious in hindsight lessons), Rawhide (the latest testing version of Fedora) and a build of livecd- tools (or Revisor) from git is an exercise in combining whatever good, bad or ugly development code has been checked in the last 24 hours. One or both may be really broken and don't be surprised if it doesn't work the first (or second or...) time you try. -------- A recipe to get the darn thing to work I believe several people (including myself) have been asking how to get a working machine for livecd creation. The process I went through to get a working Fedora 7 livecd creator 1) (optional) create a virtual machine as detailed above 2) Install Fedora 7 3) update with yum update 4) install livecd-creator: (sudo yum install livecd-tools) 5) change a config file (/usr/share/livecd-tools) so that the repo lines point at a repository with sqlite-based metadata (see above for how to spot this) -- it's worth noting that livecd-fedora-minimal.ks is the fastest way to verify everything is working -- at a minimum you'll need the os RPMs (or the development one?) -- as an example of the repo line: ----> repo --name=f7 --baseurl://192.168.2.100/mrepo/fedora7-i386/ RPMS.os -- "No Repositories Available to Set up" came up twice for me. I'm starting to suspect this really should say: ----> "Repository XYZ does not have sqlite-based metadata and won't be used" --------- So when does some crazy person start a fedora-livecd faq... I'm still curious about anything of substance on whether livecd- creator (and thus, presumably Revisor) use other config files (like yum's) to decide where to find repositories. Anyone know? From tim.wood at datawranglers.com Sun Oct 7 20:47:58 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Sun, 7 Oct 2007 14:47:58 -0600 Subject: [Fedora-livecd-list] hit send and then check inbox Message-ID: <197C84D9-FB49-4E2E-96AD-A96C014DC717@datawranglers.com> Okay... I hit send and then looked at my inbox and there are all these new messages. It sounds like I should give another shot at F8 test 3 or rawhide with the git version of livecd-tools since I'd already noticed differences in what little I've actually done with livecd-tools (as opposed to fighting vmware/fedora/livecd-tools). Some more material in the README would be helpful. If you want Jeremy, I'll be happy to post suggested changes to the list... Tim From ddmbox2000 at yahoo.co.uk Mon Oct 8 02:34:23 2007 From: ddmbox2000 at yahoo.co.uk (dexter) Date: Mon, 8 Oct 2007 03:34:23 +0100 Subject: [Fedora-livecd-list] traceback when installing openssh-server In-Reply-To: <1191788817.28263.20.camel@localhost.localdomain> References: <46FBBE06.4070108@asic.udl.cat> <4707C31B.1090208@filteredperception.org> <1191788817.28263.20.camel@localhost.localdomain> Message-ID: <200710080334.24775.ddmbox2000@yahoo.co.uk> On Sun October 7 2007 21:26:57 Jeremy Katz wrote: > But if people want the commits in their inbox, I can easily > change the commit mail to go to the list instead of just my inbox > > Jeremy people do ...dex From hunt at m2s.com Mon Oct 8 16:59:13 2007 From: hunt at m2s.com (Elias Hunt) Date: Mon, 8 Oct 2007 12:59:13 -0400 Subject: Commit emails to list (WAS RE: [Fedora-livecd-list] traceback when installing openssh-server) In-Reply-To: <200710080334.24775.ddmbox2000@yahoo.co.uk> References: <46FBBE06.4070108@asic.udl.cat><4707C31B.1090208@filteredperception.org><1191788817.28263.20.camel@localhost.localdomain> <200710080334.24775.ddmbox2000@yahoo.co.uk> Message-ID: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA974605B@exchange2.ad.medicalmetrx.com> Second that -----Original Message----- From: fedora-livecd-list-bounces at redhat.com [mailto:fedora-livecd-list-bounces at redhat.com] On Behalf Of dexter Sent: Sunday, October 07, 2007 10:34 PM To: fedora-livecd-list at redhat.com Subject: Re: [Fedora-livecd-list] traceback when installing openssh-server On Sun October 7 2007 21:26:57 Jeremy Katz wrote: > But if people want the commits in their inbox, I can easily > change the commit mail to go to the list instead of just my inbox > > Jeremy people do ...dex -- Fedora-livecd-list mailing list Fedora-livecd-list at redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list From katzj at redhat.com Tue Oct 9 00:09:04 2007 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 08 Oct 2007 20:09:04 -0400 Subject: Commit emails to list (WAS RE: [Fedora-livecd-list] traceback when installing openssh-server) In-Reply-To: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA974605B@exchange2.ad.medicalmetrx.com> References: <46FBBE06.4070108@asic.udl.cat> <4707C31B.1090208@filteredperception.org> <1191788817.28263.20.camel@localhost.localdomain> <200710080334.24775.ddmbox2000@yahoo.co.uk> <50B0D0F07E90AD4A9A5DFB3CC6C7ACA974605B@exchange2.ad.medicalmetrx.com> Message-ID: <1191888544.28263.48.camel@localhost.localdomain> The people have spoken -- they should be headed to the list now Jeremy From katzj at redhat.com Tue Oct 9 00:10:18 2007 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 08 Oct 2007 20:10:18 -0400 Subject: [Fedora-livecd-list] hit send and then check inbox In-Reply-To: <197C84D9-FB49-4E2E-96AD-A96C014DC717@datawranglers.com> References: <197C84D9-FB49-4E2E-96AD-A96C014DC717@datawranglers.com> Message-ID: <1191888618.28263.50.camel@localhost.localdomain> On Sun, 2007-10-07 at 14:47 -0600, Tim Wood wrote: > Okay... I hit send and then looked at my inbox and there are all > these new messages. Heh, it always happens that way. No worries :-) > It sounds like I should give another shot at F8 test 3 or rawhide > with the git version of livecd-tools since I'd already noticed > differences in what little I've actually done with livecd-tools (as > opposed to fighting vmware/fedora/livecd-tools). > > Some more material in the README would be helpful. If you want > Jeremy, I'll be happy to post suggested changes to the list... It'd be greatly appreciated! Either diffs, chunks to insert or even things that seem like they should be there even if you can't write them up[1] Jeremy [1] And this offer stands for anyone wanting to do any of the above :-) From katzj at redhat.com Tue Oct 9 00:12:01 2007 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 08 Oct 2007 20:12:01 -0400 Subject: [Fedora-livecd-list] some lessons learned In-Reply-To: <0102BD05-C482-4526-9E02-854C39D8796A@datawranglers.com> References: <0102BD05-C482-4526-9E02-854C39D8796A@datawranglers.com> Message-ID: <1191888721.28263.53.camel@localhost.localdomain> On Sun, 2007-10-07 at 14:37 -0600, Tim Wood wrote: > -------- > What's a valid repo > Fedora 7 appears to use sqlite-based metadata. The files in the > repodata directory seem to be filelists.sqlite.bz2, > other.sqllite.bz2, primary.sqlite.bz2. The respository errors I've > been running into were because versions of createrepo older than > roughly 0.4.7 don't generate that data and Fedora 7 doesn't (ever?) > fall back to the older metadata formats. Hrmm -- it should. If it's not, that's a bug. And in fact, I know that I sometimes create repos with updates beyond what's in rawhide without using createrepo -d. What sort of error are you seeing otherwise? Jeremy From tim.wood at datawranglers.com Tue Oct 9 03:11:21 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Mon, 8 Oct 2007 21:11:21 -0600 Subject: [Fedora-livecd-list] some lessons learned In-Reply-To: <1191888721.28263.53.camel@localhost.localdomain> References: <0102BD05-C482-4526-9E02-854C39D8796A@datawranglers.com> <1191888721.28263.53.camel@localhost.localdomain> Message-ID: I guess I should've been clearer in the other email. When I'm doing stuff like this I'll document what I'm doing and why (either in an email or wiki). A lot of times I'm putting in what I think I'm going to see and then I fix my notes based on what really happens. Works pretty well in general, but definitely not the approach to take if you're going to accidently hit send before you're ready. On Oct 8, 2007, at 6:12 PM, Jeremy Katz wrote: > On Sun, 2007-10-07 at 14:37 -0600, Tim Wood wrote: >> -------- >> What's a valid repo >> Fedora 7 appears to use sqlite-based metadata. The files in the >> repodata directory seem to be filelists.sqlite.bz2, >> other.sqllite.bz2, primary.sqlite.bz2. The respository errors I've >> been running into were because versions of createrepo older than >> roughly 0.4.7 don't generate that data and Fedora 7 doesn't (ever?) >> fall back to the older metadata formats. > > Hrmm -- it should. If it's not, that's a bug. And in fact, I know > that > I sometimes create repos with updates beyond what's in rawhide without > using createrepo -d. What sort of error are you seeing otherwise? > > Jeremy From tim.wood at datawranglers.com Tue Oct 9 03:18:34 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Mon, 8 Oct 2007 21:18:34 -0600 Subject: [Fedora-livecd-list] some lessons learned In-Reply-To: <1191888721.28263.53.camel@localhost.localdomain> References: <0102BD05-C482-4526-9E02-854C39D8796A@datawranglers.com> <1191888721.28263.53.camel@localhost.localdomain> Message-ID: <923B6863-106F-4511-BCB3-BF5E7C2CE9B8@datawranglers.com> On Oct 8, 2007, at 6:12 PM, Jeremy Katz wrote: > What sort of error are you seeing otherwise? Generally, if I'm running the current version under rawhide, it just blows up. When I run the git version on top of F7, it sometimes works and sometimes doesn't. On the minimal it will go through fine. With some of the other canned configs or configs I create by adding to the minimal, it will sometimes blow up before completion. Other times, it will complete with a complaint about not being to generate an isomd5sum. I haven't been able to figure out how to get that one solved. I believe I tried the standard yum and rpm incantation to locate such things without luck. But... I've just had the next flood of work rush in about 3 hours ago so this is going to be backburned for a month or two. I still think a respin/iso with livecd-tools and Revisor would be the way to solve a lot of problems for people... Tim From katzj at redhat.com Tue Oct 9 14:54:10 2007 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 09 Oct 2007 10:54:10 -0400 Subject: [Fedora-livecd-list] some lessons learned In-Reply-To: <923B6863-106F-4511-BCB3-BF5E7C2CE9B8@datawranglers.com> References: <0102BD05-C482-4526-9E02-854C39D8796A@datawranglers.com> <1191888721.28263.53.camel@localhost.localdomain> <923B6863-106F-4511-BCB3-BF5E7C2CE9B8@datawranglers.com> Message-ID: <1191941650.5449.11.camel@localhost.localdomain> On Mon, 2007-10-08 at 21:18 -0600, Tim Wood wrote: > On Oct 8, 2007, at 6:12 PM, Jeremy Katz wrote: > > What sort of error are you seeing otherwise? > > Generally, if I'm running the current version under rawhide, it just > blows up. When I run the git version on top of F7, it sometimes > works and sometimes doesn't. On the minimal it will go through > fine. With some of the other canned configs or configs I create by > adding to the minimal, it will sometimes blow up before completion. > Other times, it will complete with a complaint about not being to > generate an isomd5sum. I haven't been able to figure out how to get > that one solved. I believe I tried the standard yum and rpm > incantation to locate such things without luck. If you hit more of these, sending the tracebacks or exact error output you get to the list would be helpful in taking a look and making sure things are fixed up. Jeremy From katzj at fedoraproject.org Tue Oct 9 15:27:33 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 9 Oct 2007 11:27:33 -0400 Subject: [Fedora-livecd-list] 2 commits - config/livecd-fedora-base-desktop.ks config/livecd-fedora-desktop.ks config/livecd-fedora-kde.ks Message-ID: <200710091527.l99FRXDw031864@cvs-int.fedora.redhat.com> config/livecd-fedora-base-desktop.ks | 7 +++++++ config/livecd-fedora-desktop.ks | 4 ---- config/livecd-fedora-kde.ks | 5 ----- 3 files changed, 7 insertions(+), 9 deletions(-) New commits: commit 6499898db35cfcb02399deb82e4e1ca8163d4553 Author: Jeremy Katz Date: Tue Oct 9 11:27:30 2007 -0400 workaround to keep teh clock from getting synced on shutdown when running live (#297421) diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks index 4b5b266..367ddc6 100644 --- a/config/livecd-fedora-base-desktop.ks +++ b/config/livecd-fedora-base-desktop.ks @@ -124,6 +124,9 @@ chkconfig --level 345 readahead_later off # Stopgap fix for RH #217966; should be fixed in HAL instead touch /media/.hal-mtab + +# workaround clock syncing on shutdown that we don't want (#297421) +sed -i -e 's/hwclock/no-such-hwclock/g' /etc/rc.d/init.d/halt EOF # workaround avahi segfault (#279301) commit 9628e9d2ac97b50ea8536b71ed9175831e130fb4 Author: Jeremy Katz Date: Tue Oct 9 11:25:01 2007 -0400 put avahi bug workaround (#279301) in the base desktop config diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks index a166e41..4b5b266 100644 --- a/config/livecd-fedora-base-desktop.ks +++ b/config/livecd-fedora-base-desktop.ks @@ -126,6 +126,10 @@ chkconfig --level 345 readahead_later off touch /media/.hal-mtab EOF +# workaround avahi segfault (#279301) +touch /etc/resolv.conf +/sbin/restorecon /etc/resolv.conf + chmod 755 /etc/rc.d/init.d/fedora-live /sbin/restorecon /etc/rc.d/init.d/fedora-live /sbin/chkconfig --add fedora-live diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks index 549e27b..89115b0 100644 --- a/config/livecd-fedora-desktop.ks +++ b/config/livecd-fedora-desktop.ks @@ -120,10 +120,6 @@ gnome-blog %end %post -# workaround avahi segfault (#279301) -touch /etc/resolv.conf -/sbin/restorecon /etc/resolv.conf - cat >> /etc/rc.d/init.d/fedora-live << EOF # disable screensaver locking gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index 2373cd8..24c83f4 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -66,11 +66,6 @@ python-reportlab %end %post -# workaround avahi segfault (#279301) -touch /etc/resolv.conf -/sbin/restorecon /etc/resolv.conf - - # create /etc/sysconfig/desktop (needed for installation) cat > /etc/sysconfig/desktop < I've been running into a bug, but can't yet rule out my own code, even though I really really don't think I could have caused it. The behaviour would be obvious, i.e. boot fails real early and drops you into the emergency initramfs shell, with the subject line error message either visible obviously, or at the end of dmesg output. One bizarre behavior I've noticed while trying to pin this down, is that the sparse overlay file used in the dm-snapshot, created with dd of=/overlay bs=1024 count=1 seek=$((512*1024)), seems to often be 512*1024*1024 bytes long, instead of 512*1025*1024 bytes long like it should. I.e. if you remove the '2> /dev/null' from the dd call in mayflower's init, you may see 0 records written in&out, when you should see 1 record written in&out. Now, why count=1 is used instead of count=0 is an entirely separate question, to which I'm not sure enough of the answer to suggest using count=0. (reason would I guess seem to be that dd might be reasonably be entitled to just do _absolutely_ nothing if you say count=0). Anyway... If you hit this, you'll know it. And probably would have posted it anyway, but now you'll know immediately that you aren't the only one hitting this bug. The nasty part of it is that it is not deterministic. I rerun the exact same qemu command on the same iso, and sometimes it hits it, sometimes it just works fine. Though if anybody is curious enough to remove the dd '2> /dev/null' and see if they get the 0 records in/out result, and hopefully can explain why in the world that is happening... I'd be greatful... -dmc From dmc.fedora at filteredperception.org Wed Oct 10 05:40:40 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Wed, 10 Oct 2007 00:40:40 -0500 Subject: [Fedora-livecd-list] possible bug alert: device-mapper: snapshots: invalid or corrupt snapshot In-Reply-To: <470C6326.70209@filteredperception.org> References: <470C6326.70209@filteredperception.org> Message-ID: <470C65D8.1000400@filteredperception.org> Douglas McClendon wrote: > I've been running into a bug, but can't yet rule out my own code, even > though I really really don't think I could have caused it. ... > Though if anybody is curious enough to remove the dd '2> /dev/null' and > see if they get the 0 records in/out result, and hopefully can explain > why in the world that is happening... I'd be greatful... There is just something about hitting that send button, that makes you think of something you should have thought of before hitting it... I never noticed the subtle difference between doing dd if=/dev/zero and dd if=/dev/null That completely explains that part of all my confusion (the dd stuff). But it doesn't explain the bug that I can trip a fraction of the time when rerunning the same qemu command against the same iso 10 times over. I.e. what started that confusion, was me knowing enough in the emergency shell to try manually rerunning the dmsetup create command, watching the same 'invalid or corrupt snapshot error', then manually creating a new overlay sparse file (but with /dev/zero because that is my habbit), and then bizarrely noticing the 1024 byte difference in size between the two files. Then being more perplexed when I could run the dmsetup create command against the new file and have it work, instead of fail. -dmc From katzj at fedoraproject.org Wed Oct 10 15:58:04 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Wed, 10 Oct 2007 11:58:04 -0400 Subject: [Fedora-livecd-list] 3 commits - creator/livecd-creator creator/mayflower Message-ID: <200710101558.l9AFw4pU018858@cvs-int.fedora.redhat.com> creator/livecd-creator | 13 +++++++++++++ creator/mayflower | 17 +++++++++++++++++ 2 files changed, 30 insertions(+) New commits: commit 347f2c4fb3bdefd3a4a9ea20ac470b3a46e05f87 Author: Jeremy Katz Date: Wed Oct 10 11:57:59 2007 -0400 handle module options passed on the kernel command line as though built-in diff --git a/creator/mayflower b/creator/mayflower index 4b8cbe5..32cbaeb 100755 --- a/creator/mayflower +++ b/creator/mayflower @@ -78,6 +78,7 @@ cp /sbin/losetup sbin cp /sbin/blockdev sbin cp /sbin/dmsetup sbin cp /bin/dd bin +cp /bin/cut bin # we explicitly load these, so should be sure they're present MODULES="loop dm_snapshot " @@ -291,6 +292,19 @@ for o in \`cat /proc/cmdline\` ; do check) check_iso=1 ;; + *) + m=\$(echo \$o |cut -s -d . -f 1) + opt=\$(echo \$o |cut -s -d . -f 2-) + if [ -z "\$m" -o -z "\$opt" ]; then + continue + fi + p=\$(echo \$opt |cut -s -d = -f 1) + v=\$(echo \$opt |cut -s -d = -f 2-) + if [ -z "\$p" -o -z "\$v" ]; then + continue + fi + echo "options \$m \$p=\$v" >> /etc/modprobe.conf + ;; esac done @@ -603,6 +617,9 @@ do_live_from_base_loop() { echo "LANG=\$live_locale" > /sysroot/etc/sysconfig/i18n fi + # copy over module options + [ -f /etc/modprobe.conf ] && cat /etc/modprobe.conf >> /sysroot/etc/modprobe.conf + # create rule so udev creates /dev/live symlink on real rootfs if [ -n "\$CDLABEL" ]; then echo "KERNEL==\"hd[a-z]\", BUS==\"ide\", SYSFS{removable}==\"1\", ATTRS{media}==\"cdrom\", PROGRAM=\"/lib/udev/vol_id -l %N\", RESULT==\"\$CDLABEL\", SYMLINK+=\"live\"" >> /sysroot/etc/udev/rules.d/50-udev* commit 72d2c7c117b2b0da62f3fba5ad071fd24c9c0afb Author: Jeremy Katz Date: Wed Oct 10 11:57:47 2007 -0400 make sure that /etc/resolv.conf and /etc/modprobe.conf are present on the image diff --git a/creator/livecd-creator b/creator/livecd-creator index dd4c6d6..bc1917f 100755 --- a/creator/livecd-creator +++ b/creator/livecd-creator @@ -823,6 +823,12 @@ class ImageCreator(object): f.write(buf) f.close() + # touch some files which get unhappy if they're not labeled correctly + for fn in ("/etc/modprobe.conf", "/etc/resolv.conf"): + path = instroot + fn + f = file(path, "w+") + os.chmod(path, 0644) + def runPost(self): instroot = "%s/install_root" %(self.build_dir,) # and now, for arbitrary %post scripts commit 7b03209c5b689caf5377a7997eaa0ad64ff36c2e Author: Jeremy Katz Date: Tue Oct 9 12:57:31 2007 -0400 remove the lingering yum.conf diff --git a/creator/livecd-creator b/creator/livecd-creator index 34885af..dd4c6d6 100755 --- a/creator/livecd-creator +++ b/creator/livecd-creator @@ -218,6 +218,13 @@ class LiveCDYum(yum.YumBase): # being left and an inability to clean up after ourself pass + def close(self): + try: + os.unlink(self.conf.installroot + "/yum.conf") + except: + pass + yum.YumBase.close(self) + def _writeConf(self, datadir, installroot): conf = "[main]\n" conf += "installroot=%s\n" % installroot From olivares14031 at yahoo.com Thu Oct 11 03:02:52 2007 From: olivares14031 at yahoo.com (Antonio Olivares) Date: Wed, 10 Oct 2007 20:02:52 -0700 (PDT) Subject: [Fedora-livecd-list] how to create kickstart file that will include TeXlive, development tools, kernel-devel, etc Message-ID: <590761.53311.qm@web52601.mail.re2.yahoo.com> On the thread named Re: Remixing Fedora 8 Chitlesh shared his detailed procedure to create/generate a Fedora-Electronic-Lab Live CD. I followed his details and it generated an awesome livecd with KDE. Here's his response to Karl: ---- On 10/10/07, Karl Larsen wrote: > My goal is to do the re-mix right and send it to the right people > for inclusion into the normal Fedora distribution system. You might be interested how I created the Fedora Electronic Lab. I've detailed my procedure: http://clunixchit.blogspot.com/2007/09/creating-his-fedora-electronic-lab.html Please do use a F8(devel) (aka rawhide) box to create your livecds. Chitlesh -- http://clunixchit.blogspot.com ---- Question: Can someone shed some light as to generate a kickstart file like Chitlesh's to generate a livecd with TeXlive, TeXMaker or Kile depending on whether one uses Gnome or KDE, maxima, xmaxima and Wvmaxima which needs/requires gnuplot, wine, etc. if possible with the development tools as well to generate modules when needed/compile programs that need kernel-devel package, etc. Size of the livecd does not matter as I can use a liveDVD. I have used Kadishi before and today was my first adventure with live-cd tools as I have not generated a livecd for quite a while. I do follow the list and appreciate the contributions by all the persons here. TIA, Antonio ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ From katzj at redhat.com Thu Oct 11 21:31:00 2007 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 11 Oct 2007 17:31:00 -0400 Subject: [Fedora-livecd-list] how to create kickstart file that will include TeXlive, development tools, kernel-devel, etc In-Reply-To: <590761.53311.qm@web52601.mail.re2.yahoo.com> References: <590761.53311.qm@web52601.mail.re2.yahoo.com> Message-ID: <1192138260.7423.29.camel@localhost.localdomain> On Wed, 2007-10-10 at 20:02 -0700, Antonio Olivares wrote: > Can someone shed some light as to generate a kickstart > file like Chitlesh's to generate a livecd with > TeXlive, TeXMaker or Kile depending on whether one > uses Gnome or KDE, maxima, xmaxima and Wvmaxima which > needs/requires gnuplot, wine, etc. if possible with > the development tools as well to generate modules when > needed/compile programs that need kernel-devel > package, etc. Size of the livecd does not matter as I > can use a liveDVD. I have used Kadishi before and > today was my first adventure with live-cd tools as I > have not generated a livecd for quite a while. I do > follow the list and appreciate the contributions by > all the persons here. If you install livecd-tools, you'll see a whole batch of configs in /usr/share/livecd-tools. From there, it should be pretty straight-forward to build on top of an existing config by either copying and creating your own file or just even having a config that is %include /usr/share/livecd-tools/livecd-fedora-desktop.ks %packages kile gnuplot %end Then, as the README in livecd-tools say, you just run with livecd-creator --config=/path/to/my-config.ks Jeremy From katzj at fedoraproject.org Thu Oct 11 21:54:39 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Thu, 11 Oct 2007 17:54:39 -0400 Subject: [Fedora-livecd-list] 3 commits - config/livecd-fedora-developer.ks config/livecd-fedora-electronic-lab.ks config/livecd-fedora-kde.ks Message-ID: <200710112154.l9BLsd9k001936@cvs-int.fedora.redhat.com> config/livecd-fedora-developer.ks | 4 - config/livecd-fedora-electronic-lab.ks | 110 +++++++++++++++++++++------------ config/livecd-fedora-kde.ks | 1 3 files changed, 74 insertions(+), 41 deletions(-) New commits: commit d636d2bbe581da50cdb7a615ba88bf7986c0d36b Author: Jeremy Katz Date: Thu Oct 11 10:37:36 2007 -0400 no more redhat-artwork-kde diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index 24c83f4..96af927 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -25,7 +25,6 @@ nss-mdns # ignore comps.xml and make sure these packages are included kpowersave -redhat-artwork-kde rhgb man-pages smolt-firstboot commit 1020250d6972e2787eb4bf46e21da831ef3c28a1 Author: Jeremy Katz Date: Thu Oct 11 10:14:45 2007 -0400 updates from chitlesh diff --git a/config/livecd-fedora-electronic-lab.ks b/config/livecd-fedora-electronic-lab.ks index b98e49b..cb59f81 100644 --- a/config/livecd-fedora-electronic-lab.ks +++ b/config/livecd-fedora-electronic-lab.ks @@ -1,5 +1,5 @@ # Description : Live image for Fedora Electronic Lab -# last updated: 07 September 2007 +# last updated: 10 October 2007 %include livecd-fedora-base-desktop.ks @@ -12,15 +12,24 @@ kdenetwork kdegraphics kdeutils knetworkmanager +kde-settings kmenu-gnome -kpowersave +kdesvn +beryl-kde yakuake +# include default fedora wallpaper +desktop-backgrounds-basic +wget + +# some projects based on ghdl and gtkwave needs +zlib-devel #project management vym koffice-kspread koffice-kword koffice-kplato +koffice-filters # some other extra packages ntfsprogs @@ -30,17 +39,20 @@ setroubleshoot smolt smolt-firstboot syslinux -rhgb +gnupg +hal-cups-utils # we don't want these -dos2unix -firefox --gdm -authconfig-gtk -PolicyKit-gnome --desktop-backgrounds-basic -gnome-doc-utils-stylesheets --gtk-nodoka-engine + +# ignore comps.xml and make sure these packages are included +kpowersave +rhgb + #vlsi alliance-doc @@ -87,40 +99,26 @@ sdcc # Serial Port Terminals gtkterm picocom +minicom #embedded arm-gp2x-linux* avr-* avrdude dfu-programmer +avarice +uisp #computing octave octave-forge +%end + %post ###### Fedora Electronic Lab #################################################### -# Fedora Electronic Lab: KDE keyboard layouts -cat > /usr/share/kde-settings/kde-profile/default/share/config/kxkbrc < /usr/share/kde-settings/kde-profile/default/share/config/kwinrc < /usr/share/kde-settings/kde-profile/default/share/config/kxkbrc < /etc/rc.d/init.d/fedora-live-kde << EOF -#!/bin/bash -# -# live: Init script for live image -# -# chkconfig: 345 00 99 -# description: Init script for Electronic Lab live image. +# add initscript qnd # Fedora Electronic Lab: KDE keyboard layouts +cat >> /etc/rc.d/init.d/fedora-live << EOF if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then # use image also for kdm @@ -189,22 +203,37 @@ sed -i 's/#DefaultUser=johndoe/DefaultUser=fedora/' /etc/kde/kdm/kdmrc # disable screensaver sed -i 's/Enabled=true/Enabled=false/' /usr/share/kde-settings/kde-profile/default/share/config/kdesktoprc -# adding some autostarted applications -cp /usr/share/applications/fedora-knetworkmanager.desktop /usr/share/autostart/ - # workaround to put liveinst on desktop and in menu sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop +EOF +# and set up gnome-keyring to startup/shutdown in kde +mkdir -p /etc/skel/.kde/env /etc/skel/.kde/shutdown +cat > /etc/skel/.kde/env/start-custom.sh << EOF +#!/bin/sh +eval \`gnome-keyring-daemon\` +export GNOME_KEYRING_PID +export GNOME_KEYRING_SOCKET EOF +chmod 755 /etc/skel/.kde/env/start-custom.sh -chmod 755 /etc/rc.d/init.d/fedora-live-kde -/sbin/restorecon /etc/rc.d/init.d/fedora-live-kde -/sbin/chkconfig --add fedora-live-kde +cat > /etc/skel/.kde/shutdown/stop-custom.sh << EOF +#/bin/sh +if [-n "$GNOME_KEYRING_PID"];then +kill $GNOME_KEYRING_PID +fi +EOF +chmod 755 /etc/skel/.kde/shutdown/stop-custom.sh ###### Fedora Electronic Lab #################################################### # FEL doesn't need these and boots slowly +/sbin/chkconfig --del anacron /sbin/chkconfig --del sendmail /sbin/chkconfig --del nfs +/sbin/chkconfig --del nfslock /sbin/chkconfig --del rpcidmapd /sbin/chkconfig --del rpcbind + +%end + commit e2b788a7da5d274c88f9b5fb83b6c95147c363d8 Author: Jeremy Katz Date: Thu Oct 11 10:10:20 2007 -0400 fix script error; include eclipse-demos now that the package is present diff --git a/config/livecd-fedora-developer.ks b/config/livecd-fedora-developer.ks index dee3b3c..1cff6d7 100644 --- a/config/livecd-fedora-developer.ks +++ b/config/livecd-fedora-developer.ks @@ -68,7 +68,7 @@ rpmdevtools rpmlint yum-priorities -#eclipse-demos +eclipse-demos # Should we? #@sql-server @@ -83,8 +83,10 @@ yum-priorities %post # TODO: Enable debuginfo repository +cat >> /etc/rc.d/init.d/fedora-live << EOF # Put link to demonstration videos on the desktop pushd /home/fedora/Desktop ln -s /usr/share/eclipse-demos-0.0.1 "Eclipse demonstration videos" popd +EOF %end From katzj at fedoraproject.org Fri Oct 12 16:50:31 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 12 Oct 2007 12:50:31 -0400 Subject: [Fedora-livecd-list] config/livecd-fedora-desktop.ks Message-ID: <200710121650.l9CGoVVa011861@cvs-int.fedora.redhat.com> config/livecd-fedora-desktop.ks | 5 +++++ 1 files changed, 5 insertions(+) New commits: commit 6a584f428c27fa6b7e7e7e47f960f78351dc7476 Author: Jeremy Katz Date: Fri Oct 12 12:50:12 2007 -0400 more input method bits (#329231) diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks index 89115b0..4cfee3b 100644 --- a/config/livecd-fedora-desktop.ks +++ b/config/livecd-fedora-desktop.ks @@ -105,12 +105,15 @@ gnome-blog # dictionaries are big -aspell-* --m17n-db-* -man-pages-* -scim-tables-* --scim-lang-* -wqy-bitmap-fonts +# more fun with space saving +-scim-lang-chinese +scim-chewing +scim-pinyin + # save some space -gnome-user-docs -gimp-help From katzj at fedoraproject.org Fri Oct 12 20:12:58 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 12 Oct 2007 16:12:58 -0400 Subject: [Fedora-livecd-list] creator/isotostick.sh Message-ID: <200710122012.l9CKCwO5013486@cvs-int.fedora.redhat.com> creator/isotostick.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) New commits: commit b47645cd25091efccf48a34e316a8d8c134ba70c Author: Jeremy Katz Date: Fri Oct 12 15:33:12 2007 -0400 fix error handling case diff --git a/creator/isotostick.sh b/creator/isotostick.sh index 4d5f11c..4dadb79 100644 --- a/creator/isotostick.sh +++ b/creator/isotostick.sh @@ -25,8 +25,8 @@ usage() { } cleanup() { - [ -d $CDMNT ] && umount $CDMNT && rmdir $CDMNT - [ -d $USBMNT ] && umount $USBMNT && rmdir $USBMNT + [ -d "$CDMNT" ] && umount $CDMNT && rmdir $CDMNT + [ -d "$USBMNT" ] && umount $USBMNT && rmdir $USBMNT } exitclean() { From nihedmm at gmail.com Sat Oct 13 12:06:12 2007 From: nihedmm at gmail.com (nihed mbarek) Date: Sat, 13 Oct 2007 14:06:12 +0200 Subject: [Fedora-livecd-list] Arabic live cd Message-ID: <5bddd8fd0710130506g54d59344s311d017e2598e53c@mail.gmail.com> Hi, I'm a beginner and I want to generate an arabic live cd with livecd-creator. I begin with a test of kde live cd. next, I add kde-i18n-Arabic when i launch the livecd I can change to arabic language I want to have arabic directly on the lanuch. Thank you. -- M'BAREK Med Nihed, Fedora Ambassador, TUNISIA, Northern Africa -------------- next part -------------- An HTML attachment was scrubbed... URL: From xunilarodef at gmail.com Mon Oct 15 12:30:30 2007 From: xunilarodef at gmail.com (Nelson Strother) Date: Mon, 15 Oct 2007 08:30:30 -0400 Subject: [Fedora-livecd-list] missing filetypes for 2 files on LiveCD Message-ID: <771ef40c0710150530s72a6fd86l62570ad84f336072@mail.gmail.com> As of f8t3, the files GPL and README have no filetype extension. For unlucky users on non-Linux operating systems where files with no filetype have been configured to be swallowed by e.g. a database program, or a game as a saved level, this could lead to puzzling results. For the lucky users, attempting to read either of these files is likely to bring up an "open with ..." dialog where they select which program should attempt to interpret these files. For the non-technical users who may be most likely to need to read some of this information, such a choice may be overwhelming. Would not these be better as: GPL.txt README.html It should be a rather safe assumption that some web browser is available on any system new enough to have a CD drive. Converting back to html for a
and the couple of internal hyperlinks will be far more portable than the current wiki gibberish. Might this have already been fixed in the 20071011 LiveCD: https://www.redhat.com/archives/fedora-test-list/2007-October/msg00561.html or should I repeat these observations in bugzilla? Cheers, Nelson From tim.wood at datawranglers.com Mon Oct 15 16:46:56 2007 From: tim.wood at datawranglers.com (Tim Wood) Date: Mon, 15 Oct 2007 10:46:56 -0600 Subject: [Fedora-livecd-list] missing filetypes for 2 files on LiveCD In-Reply-To: <771ef40c0710150530s72a6fd86l62570ad84f336072@mail.gmail.com> References: <771ef40c0710150530s72a6fd86l62570ad84f336072@mail.gmail.com> Message-ID: +1 FWIW, some LiveCDs have an index.htm or index.html file in the root of the cdrom that holds the readme and links to an html version of the GPL, etc. Going off memory, there's an autorun dot something file in the root of many windows cds that is used to automatically open such creatures when they're inserted in a windows box. Knoppix uses this to give info about the cd, links to the project and give a soft sell on the product. Pretty cool, low effort promotional tactic IMHO. I believe there's something similar for OS X, and (if anyone decides to take this approach), I've got a MacBook Pro, so I could dig up and test the comparable widgit for that OS. Heck... I could do the same thing with XP... Tim On Oct 15, 2007, at 6:30 AM, Nelson Strother wrote: > As of f8t3, the files GPL and README have no filetype extension. > For unlucky users on non-Linux operating systems where files with no > filetype have been configured to be swallowed by e.g. a database > program, or a game as a saved level, this could lead to puzzling > results. For the lucky users, attempting to read either of these > files is likely to bring up an "open with ..." dialog where they > select which program should attempt to interpret these files. For the > non-technical users who may be most likely to need to read some of > this information, such a choice may be overwhelming. > > Would not these be better as: > GPL.txt > README.html > It should be a rather safe assumption that some web browser is > available on any system new enough to have a CD drive. Converting > back to html for a
and the couple of internal hyperlinks will be > far more portable than the current wiki gibberish. > > Might this have already been fixed in the 20071011 LiveCD: > > https://www.redhat.com/archives/fedora-test-list/2007-October/ > msg00561.html > > or should I repeat these observations in bugzilla? > > Cheers, > Nelson From katzj at redhat.com Tue Oct 16 00:49:11 2007 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 15 Oct 2007 20:49:11 -0400 Subject: [Fedora-livecd-list] Arabic live cd In-Reply-To: <5bddd8fd0710130506g54d59344s311d017e2598e53c@mail.gmail.com> References: <5bddd8fd0710130506g54d59344s311d017e2598e53c@mail.gmail.com> Message-ID: <1192495751.25568.62.camel@localhost.localdomain> On Sat, 2007-10-13 at 14:06 +0200, nihed mbarek wrote: > I'm a beginner and I want to generate an arabic live cd with > livecd-creator. > I begin with a test of kde live cd. > next, I add kde-i18n-Arabic > when i launch the livecd I can change to arabic language > I want to have arabic directly on the lanuch. Just add a line "lang ar_SA.UTF-8" or similar to your config Jeremy From katzj at redhat.com Tue Oct 16 00:51:57 2007 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 15 Oct 2007 20:51:57 -0400 Subject: [Fedora-livecd-list] missing filetypes for 2 files on LiveCD In-Reply-To: <771ef40c0710150530s72a6fd86l62570ad84f336072@mail.gmail.com> References: <771ef40c0710150530s72a6fd86l62570ad84f336072@mail.gmail.com> Message-ID: <1192495917.25568.66.camel@localhost.localdomain> On Mon, 2007-10-15 at 08:30 -0400, Nelson Strother wrote: > As of f8t3, the files GPL and README have no filetype extension. > For unlucky users on non-Linux operating systems where files with no > filetype have been configured to be swallowed by e.g. a database > program, or a game as a saved level, this could lead to puzzling > results. For the lucky users, attempting to read either of these > files is likely to bring up an "open with ..." dialog where they > select which program should attempt to interpret these files. For the > non-technical users who may be most likely to need to read some of > this information, such a choice may be overwhelming. The names are the exact same as they are on the main distro CDs where they've been that way for ages. And I'd like to keep the similarity. Jeremy From dmc.fedora at filteredperception.org Tue Oct 16 04:59:58 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Mon, 15 Oct 2007 23:59:58 -0500 Subject: [Fedora-livecd-list] missing filetypes for 2 files on LiveCD In-Reply-To: References: <771ef40c0710150530s72a6fd86l62570ad84f336072@mail.gmail.com> Message-ID: <4714454E.3020808@filteredperception.org> Tim Wood wrote: > +1 > > FWIW, some LiveCDs have an index.htm or index.html file in the root of > the cdrom that holds the readme and links to an html version of the GPL, > etc. Going off memory, there's an autorun dot something file in the > root of many windows cds that is used to automatically open such I'm pretty sure I'm on record as a +1 for this. I won't argue too much for changing the existing README/GPL (but then again I don't use winblowz and don't really know how ugly the current behavior is or is not). But what I will advocate again is something like /Documentation/Fedora-8-Release-Notes.html and /autorun.inf When I last played around with such - 6 years ago - I recall there were various ways you could have the autorun.inf launch the html. For compatability reasons (and I think also not opening/flashing a cmd shell in the background) I ended up going with some open source program that invoked some windows blessed htmlview equivalent. Anyway, I'm sure there is some best way these days. I would even vote for just doing something that works immediately, and replacing it with a nicer/more-compatible way in the future if one is found. And because I like to throw ideas on the table, I'll reiterate the idea of having win32 qemu installed(!=installer) on the iso, such that the livecd user can pop it in in windows, and then boot it up virtually, without so much as having to have anything else installed on their computer. One thing I just found, which applies to that and perhaps other options is this- http://www.x-lair.com/myprograms/autoc.html which appears to be a nice open source win32 GUI shell to spawn multiple things. I.e. so that on autorun, it opens up a menu that says (lets the user choose) a) view the fedora-8 release notes b) view the fedora-8 livecd documentation c) run fedora-8 livecd virtually under qemu d) install firefox for windows Again, yes, much of this is unrealistic for various reasons. Just planting seeds... ;) -dmc > creatures when they're inserted in a windows box. Knoppix uses this to > give info about the cd, links to the project and give a soft sell on the > product. Pretty cool, low effort promotional tactic IMHO. I believe > there's something similar for OS X, and (if anyone decides to take this > approach), I've got a MacBook Pro, so I could dig up and test the > comparable widgit for that OS. Heck... I could do the same thing with > XP... > > Tim > > > On Oct 15, 2007, at 6:30 AM, Nelson Strother wrote: > >> As of f8t3, the files GPL and README have no filetype extension. >> For unlucky users on non-Linux operating systems where files with no >> filetype have been configured to be swallowed by e.g. a database >> program, or a game as a saved level, this could lead to puzzling >> results. For the lucky users, attempting to read either of these >> files is likely to bring up an "open with ..." dialog where they >> select which program should attempt to interpret these files. For the >> non-technical users who may be most likely to need to read some of >> this information, such a choice may be overwhelming. >> >> Would not these be better as: >> GPL.txt >> README.html >> It should be a rather safe assumption that some web browser is >> available on any system new enough to have a CD drive. Converting >> back to html for a
and the couple of internal hyperlinks will be >> far more portable than the current wiki gibberish. >> >> Might this have already been fixed in the 20071011 LiveCD: >> >> >> https://www.redhat.com/archives/fedora-test-list/2007-October/msg00561.html >> >> >> or should I repeat these observations in bugzilla? >> >> Cheers, >> Nelson > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From nihed at fedoraproject.org Tue Oct 16 05:07:08 2007 From: nihed at fedoraproject.org (nihed mbarek) Date: Tue, 16 Oct 2007 07:07:08 +0200 Subject: [Fedora-livecd-list] Arabic live cd In-Reply-To: <1192495751.25568.62.camel@localhost.localdomain> References: <5bddd8fd0710130506g54d59344s311d017e2598e53c@mail.gmail.com> <1192495751.25568.62.camel@localhost.localdomain> Message-ID: <5bddd8fd0710152207k48ceed93qbfb35798200066db@mail.gmail.com> Thank you, I test it at it work :) 2007/10/16, Jeremy Katz : > > On Sat, 2007-10-13 at 14:06 +0200, nihed mbarek wrote: > > I'm a beginner and I want to generate an arabic live cd with > > livecd-creator. > > I begin with a test of kde live cd. > > next, I add kde-i18n-Arabic > > when i launch the livecd I can change to arabic language > > I want to have arabic directly on the lanuch. > > Just add a line "lang ar_SA.UTF-8" or similar to your config > > Jeremy > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -- M'BAREK Med Nihed, Fedora Ambassador, TUNISIA, Northern Africa -------------- next part -------------- An HTML attachment was scrubbed... URL: From xunilarodef at gmail.com Tue Oct 16 11:58:23 2007 From: xunilarodef at gmail.com (Nelson Strother) Date: Tue, 16 Oct 2007 07:58:23 -0400 Subject: [Fedora-livecd-list] missing filetypes for 2 files on LiveCD In-Reply-To: <1192495917.25568.66.camel@localhost.localdomain> References: <771ef40c0710150530s72a6fd86l62570ad84f336072@mail.gmail.com> <1192495917.25568.66.camel@localhost.localdomain> Message-ID: <771ef40c0710160458g75dc1174l67b883c045415774@mail.gmail.com> On 10/15/07, Jeremy Katz wrote: > The names are the exact same as they are on the main distro CDs where > they've been that way for ages. And I'd like to keep the similarity. I usually vote for consistency, too. But this is a different README file with different contents, so there is no relevant precedent for the details of its name. It will be to our advantage to get its name correct now, before a consistency argument hedges us in. The important distinction is that the audience for the main distro CDs / DVDs is presumably only people who have already decided to install Linux (or already have). And I am unaware of any harm for their file to also be named GPL.txt. If copies of a LiveOS are being passed out as trade-show gifts, or even the simple case of someone receiving LiveOS from a neighbor, our goal should be graceful ergonomics for the new user on whatever platform they are using when they first explore the LiveOS Cheers, Nelson From katzj at fedoraproject.org Tue Oct 16 14:27:29 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 16 Oct 2007 10:27:29 -0400 Subject: [Fedora-livecd-list] creator/mayflower Message-ID: <200710161427.l9GERTpn010033@cvs-int.fedora.redhat.com> creator/mayflower | 4 ++++ 1 files changed, 4 insertions(+) New commits: commit f4bd3e397c1bcfec92b3e52fbb74fe9184074742 Author: Jeremy Katz Date: Tue Oct 16 10:24:20 2007 -0400 add support for blacklisting modules on the command line diff --git a/creator/mayflower b/creator/mayflower index 32cbaeb..9a5c863 100755 --- a/creator/mayflower +++ b/creator/mayflower @@ -292,6 +292,10 @@ for o in \`cat /proc/cmdline\` ; do check) check_iso=1 ;; + blacklist=*) + blacklist=\${o#blacklist=} + echo "blacklist \$blacklist" >> /etc/modprobe.conf + ;; *) m=\$(echo \$o |cut -s -d . -f 1) opt=\$(echo \$o |cut -s -d . -f 2-) From svahl at fedoraproject.org Tue Oct 16 18:37:54 2007 From: svahl at fedoraproject.org (Sebastian Vahl) Date: Tue, 16 Oct 2007 14:37:54 -0400 Subject: [Fedora-livecd-list] config/livecd-fedora-kde.ks Message-ID: <200710161837.l9GIbsXq027610@cvs-int.fedora.redhat.com> config/livecd-fedora-kde.ks | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) New commits: commit e5ecbec60f02f5cccf8083164768b4b83ad59dae Author: Sebastian Vahl Date: Tue Oct 16 20:36:34 2007 +0200 Fix path of nm-applet.desktop; ktorrent is now in comps.xml so remove it from here diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index 96af927..e950771 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -13,9 +13,8 @@ twinkle filelight krusader -# if it is enough space include koffice-krita (~40 megs) and ktorrent (~3 megs) +# if it is enough space include koffice-krita (~40 megs) koffice-krita -ktorrent # some other extra packages gnupg @@ -102,7 +101,7 @@ EOF # adding some autostarted applications #cp /usr/share/applications/fedora-knetworkmanager.desktop /usr/share/autostart/ -sed -e 's/OnlyShowIn=GNOME;XFCE;/OnlyShowIn=GNOME;XFCE;KDE;/' < /usr/share/gnome/autostart/nm-applet.desktop > /usr/share/autostart/nm-applet.desktop +sed -i 's/OnlyShowIn=GNOME;XFCE;/OnlyShowIn=GNOME;XFCE;KDE;/' /etc/xdg/autostart/nm-applet.desktop # and set up gnome-keyring to startup/shutdown in kde mkdir -p /etc/skel/.kde/env /etc/skel/.kde/shutdown From katzj at fedoraproject.org Thu Oct 18 03:09:48 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Wed, 17 Oct 2007 23:09:48 -0400 Subject: [Fedora-livecd-list] 2 commits - config/livecd-fedora-base-desktop.ks config/livecd-fedora-desktop.ks Message-ID: <200710180309.l9I39ml6032234@cvs-int.fedora.redhat.com> config/livecd-fedora-base-desktop.ks | 13 +++++++------ config/livecd-fedora-desktop.ks | 5 +++++ 2 files changed, 12 insertions(+), 6 deletions(-) New commits: commit a6f24125bd8f1f070f2081b0a11c23f0fe9b4fd8 Author: Jeremy Katz Date: Wed Oct 17 23:08:51 2007 -0400 make it fit again diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks index 4cfee3b..bbf6641 100644 --- a/config/livecd-fedora-desktop.ks +++ b/config/livecd-fedora-desktop.ks @@ -7,6 +7,8 @@ @sound-and-video @gnome-desktop nss-mdns +NetworkManager-vpnc +NetworkManager-openvpn # we don't include @office so that we don't get OOo. but some nice bits abiword gnumeric @@ -108,6 +110,8 @@ gnome-blog -man-pages-* -scim-tables-* -wqy-bitmap-fonts +-dejavu-fonts-experimental +-dejavu-fonts # more fun with space saving -scim-lang-chinese @@ -119,6 +123,7 @@ scim-pinyin -gimp-help -evolution-help -autofs +-vino %end commit 4f69a21ab8d2375c887db6440a427556db371909 Author: Jeremy Katz Date: Tue Oct 16 14:49:54 2007 -0400 quiet errors; don't include mpage diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks index 367ddc6..e30792e 100644 --- a/config/livecd-fedora-base-desktop.ks +++ b/config/livecd-fedora-base-desktop.ks @@ -26,6 +26,7 @@ memtest86+ -esc -samba-client -a2ps +-mpage -redhat-lsb -sox -hplip @@ -112,15 +113,15 @@ passwd -d fedora > /dev/null echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot # don't start yum-updatesd for livecd boots -chkconfig --level 345 yum-updatesd off +chkconfig --level 345 yum-updatesd off 2>/dev/null # don't start cron/at as they tend to spawn things which are # disk intensive that are painful on a live image -chkconfig --level 345 crond off -chkconfig --level 345 atd off -chkconfig --level 345 anacron off -chkconfig --level 345 readahead_early off -chkconfig --level 345 readahead_later off +chkconfig --level 345 crond off 2>/dev/null +chkconfig --level 345 atd off 2>/dev/null +chkconfig --level 345 anacron off 2>/dev/null +chkconfig --level 345 readahead_early off 2>/dev/null +chkconfig --level 345 readahead_later off 2>/dev/null # Stopgap fix for RH #217966; should be fixed in HAL instead touch /media/.hal-mtab From Matt_Domsch at dell.com Thu Oct 18 03:50:08 2007 From: Matt_Domsch at dell.com (Matt Domsch) Date: Wed, 17 Oct 2007 22:50:08 -0500 Subject: [Fedora-livecd-list] Ubuntu using isotostick Message-ID: <20071018035008.GA16743@auslistsprd01.us.dell.com> http://janimo.blogspot.com/2007/10/live-cd-on-usb-key.html Glad to see it's getting wider usage. -Matt -- Matt Domsch Linux Technology Strategist, Dell Office of the CTO linux.dell.com & www.dell.com/linux From katzj at fedoraproject.org Thu Oct 18 13:09:19 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Thu, 18 Oct 2007 09:09:19 -0400 Subject: [Fedora-livecd-list] creator/isotostick.sh Message-ID: <200710181309.l9ID9Jmi016761@cvs-int.fedora.redhat.com> creator/isotostick.sh | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletion(-) New commits: commit c31ff61bb2a004db9f6d4685fdb5ff30d97f7b18 Author: Jeremy Katz Date: Thu Oct 18 09:02:43 2007 -0400 handle upstream syslinux rpm file locations (#331941) diff --git a/creator/isotostick.sh b/creator/isotostick.sh index 4dadb79..b62792e 100644 --- a/creator/isotostick.sh +++ b/creator/isotostick.sh @@ -54,7 +54,13 @@ getdisk() { resetMBR() { getdisk $1 - cat /usr/lib/syslinux/mbr.bin > $device + if [ -f /usr/lib/syslinux/mbr.bin ]; then + cat /usr/lib/syslinux/mbr.bin > $device + elif [ -f /usr/share/syslinux/mbr.bin ]; then + cat /usr/share/syslinux/mbr.bin > $device + else + exitclean + fi } checkMBR() { From sundaram at fedoraproject.org Thu Oct 18 18:26:04 2007 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Fri, 19 Oct 2007 00:56:04 +0630 Subject: [Fedora-livecd-list] Quick installation Message-ID: <4717A53C.4010109@fedoraproject.org> Hi Would it be possible to add a boot option in the live images to directly invoke either the graphical or console installer. Very useful for low resource systems or if you just don't want to waste time waiting for the desktop environment to load. Rahul From dmc.fedora at filteredperception.org Thu Oct 18 19:52:47 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Thu, 18 Oct 2007 14:52:47 -0500 Subject: [Fedora-livecd-list] Quick installation In-Reply-To: <4717A53C.4010109@fedoraproject.org> References: <4717A53C.4010109@fedoraproject.org> Message-ID: <4717B98F.2060508@filteredperception.org> Rahul Sundaram wrote: > Hi > > Would it be possible to add a boot option in the live images to directly > invoke either the graphical or console installer. I don't see why not. And of course at the same time, parse and use ks= from the cmdline if present. -dmc > > Very useful for low resource systems or if you just don't want to waste > time waiting for the desktop environment to load. > > Rahul > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From katzj at redhat.com Fri Oct 19 14:31:18 2007 From: katzj at redhat.com (Jeremy Katz) Date: Fri, 19 Oct 2007 10:31:18 -0400 Subject: [Fedora-livecd-list] Quick installation In-Reply-To: <4717A53C.4010109@fedoraproject.org> References: <4717A53C.4010109@fedoraproject.org> Message-ID: <1192804278.3204.30.camel@localhost.localdomain> On Fri, 2007-10-19 at 00:56 +0630, Rahul Sundaram wrote: > Would it be possible to add a boot option in the live images to directly > invoke either the graphical or console installer. > > Very useful for low resource systems or if you just don't want to waste > time waiting for the desktop environment to load. There's not any reason it can't be done -- mostly a matter of time and testing Jeremy From offset at ubersecurity.org Fri Oct 19 15:05:10 2007 From: offset at ubersecurity.org (offset) Date: Fri, 19 Oct 2007 10:05:10 -0500 Subject: [Fedora-livecd-list] Cannot find root file system! Message-ID: <20071019150510.GA24473@core.ubersecurity.org> Newbie alert :) Looking to get up-to-speed on Fedora LiveCD so I can custom build my own security tools that I can boot from cd, rather than lug around my laptop everywhere. I did see the Security fedora livecd wiki, so I'll have to poke around there as well. I'm getting the following errors when booting the livecd iso that I created in vmware. - - - cut - - - udevd[297]: add_to_rules: the 'device' link is deprecated and will be removed from a future kernel, please fix it in /etc/udev/rules.d/00-cdlabel.rules:1 -------------------------------------- WARNING: Cannot find root file system! -------------------------------------- - - - cut - - - if I add root=/dev/sr0 to the boot line, the cd boots fine, so I'm curious as how to fix the udevd error. thanks, -- offset - ubersecurity org From Mohammed_Khan at Dell.com Fri Oct 19 15:39:00 2007 From: Mohammed_Khan at Dell.com (Mohammed_Khan at Dell.com) Date: Fri, 19 Oct 2007 10:39:00 -0500 Subject: [Fedora-livecd-list] liveinst (anaconda) failing using latest fedora-updates Message-ID: Hi, When running liveinst off of a livecd buit today, error I get is /usr/lib/anaconda/kickstart.py line 738... STATE_PRE is not defined... Looking into pykickstart... seems like the parser.py in pykickstart-1.13-2.fc7 does not have a STATE_PRE defined whereas FC7 gold's pykickstart (1.1-1) has it... Thanks, MFK -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at fedoraproject.org Fri Oct 19 18:58:48 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 19 Oct 2007 14:58:48 -0400 Subject: [Fedora-livecd-list] 2 commits - config/livecd-fedora-developer.ks config/livecd-fedora-electronic-lab.ks config/livecd-fedora-kde.ks Message-ID: <200710191858.l9JIwmCv032371@cvs-int.fedora.redhat.com> config/livecd-fedora-developer.ks | 2 ++ config/livecd-fedora-electronic-lab.ks | 1 - config/livecd-fedora-kde.ks | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) New commits: commit 51c130a565dd4164957e646b4212bb7ed2917920 Author: Jeremy Katz Date: Thu Oct 18 21:52:58 2007 -0400 no more beryl diff --git a/config/livecd-fedora-electronic-lab.ks b/config/livecd-fedora-electronic-lab.ks index cb59f81..624aecb 100644 --- a/config/livecd-fedora-electronic-lab.ks +++ b/config/livecd-fedora-electronic-lab.ks @@ -15,7 +15,6 @@ knetworkmanager kde-settings kmenu-gnome kdesvn -beryl-kde yakuake # include default fedora wallpaper desktop-backgrounds-basic diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index e950771..8469e67 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -3,7 +3,6 @@ %packages @kde-desktop kdegames -beryl-kde k3b koffice-kword koffice-kspread commit aa257d8a155da8011c2f34db866f6cb98d8fa65c Author: Jeremy Katz Date: Thu Oct 18 21:52:49 2007 -0400 add some more packages from overholt diff --git a/config/livecd-fedora-developer.ks b/config/livecd-fedora-developer.ks index 1cff6d7..a226b71 100644 --- a/config/livecd-fedora-developer.ks +++ b/config/livecd-fedora-developer.ks @@ -58,11 +58,13 @@ sysprof tcp_wrappers-devel tcsh texi2html +xchat # RPM/Fedora-specific tools @buildsys-build createrepo koji +livecd-tools mock rpmdevtools rpmlint From dmc.fedora at filteredperception.org Fri Oct 19 21:00:45 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Fri, 19 Oct 2007 16:00:45 -0500 Subject: [Fedora-livecd-list] Cannot find root file system! In-Reply-To: <20071019150510.GA24473@core.ubersecurity.org> References: <20071019150510.GA24473@core.ubersecurity.org> Message-ID: <47191AFD.50505@filteredperception.org> offset wrote: > Newbie alert :) > > Looking to get up-to-speed on Fedora LiveCD so I can custom build my own security tools that I can boot from cd, rather than lug around my laptop everywhere. I did see the Security fedora livecd wiki, so I'll have to poke around there as well. > > I'm getting the following errors when booting the livecd iso that I created in vmware. > > - - - cut - - - > udevd[297]: add_to_rules: the 'device' link is deprecated and will be removed from a future kernel, please fix it in /etc/udev/rules.d/00-cdlabel.rules:1 > > -------------------------------------- > WARNING: Cannot find root file system! > -------------------------------------- > > - - - cut - - - > > if I add root=/dev/sr0 to the boot line, the cd boots fine, so I'm curious as how to fix the udevd error. I'm pretty sure this has nothing to do with the problem, but can someone explain these hardcoded(?) numbers to me? This is about the only thing in mayflower that I don't really understand- (I.e. where can I go to find documentation on these sysfs types, so I can feel convinced that these lists of numbers (0,7,14,,4,5) are complete/correct) echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", SYSFS{type}==\"0|7|14\", RUN+ =\"/sbin/modprobe sd_mod\"" >> /etc/udev/rules.d/10-modprobe.rules echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", SYSFS{type}==\"[45]\", RUN+=\ "/sbin/modprobe sr_mod\"" >> /etc/udev/rules.d/10-modprobe.rules -dmc From vladimir.shebordaev at gmail.com Sat Oct 20 18:19:11 2007 From: vladimir.shebordaev at gmail.com (Vladimir Shebordaev) Date: Sat, 20 Oct 2007 22:19:11 +0400 Subject: [Fedora-livecd-list] Cannot find root file system! In-Reply-To: <47191AFD.50505@filteredperception.org> References: <20071019150510.GA24473@core.ubersecurity.org> <47191AFD.50505@filteredperception.org> Message-ID: <471A469F.50308@gmail.com> Douglas McClendon ?????: > offset wrote: >> Newbie alert :) >> >> Looking to get up-to-speed on Fedora LiveCD so I can custom build my >> own security tools that I can boot from cd, rather than lug around my >> laptop everywhere. I did see the Security fedora livecd wiki, so I'll >> have to poke around there as well. >> >> I'm getting the following errors when booting the livecd iso that I >> created in vmware. >> >> - - - cut - - - >> udevd[297]: add_to_rules: the 'device' link is deprecated and will be >> removed from a future kernel, please fix it in >> /etc/udev/rules.d/00-cdlabel.rules:1 >> >> -------------------------------------- >> WARNING: Cannot find root file system! >> -------------------------------------- >> >> - - - cut - - - >> >> if I add root=/dev/sr0 to the boot line, the cd boots fine, so I'm >> curious as how to fix the udevd error. > > I'm pretty sure this has nothing to do with the problem, but can someone > explain these hardcoded(?) numbers to me? This is about the only thing > in mayflower that I don't really understand- > > (I.e. where can I go to find documentation on these sysfs types, so I > can feel convinced that these lists of numbers (0,7,14,,4,5) are > complete/correct) > I guess those numbers are generic peripheral device types as per ancient X3T10 recommendation Table xx - Peripheral device type +=========+====================================================+ | Code | Description | |---------+----------------------------------------------------+ | 00h | Direct-access device (e.g. magnetic disk) | | 01h | Sequential-access device (e.g. magnetic tape) | | 02h | Printer device | | 03h | Processor device | | 04h | Write-once device (e.g. some optical disks) | | 05h | CD-ROM device | | 06h | Scanner device | | 07h | Optical memory device (e.g. some optical disks) | | 08h | Medium changer device (e.g. jukeboxes) | | 09h | Communications device | | 0Ah-0Bh | Defined by ASC IT8 (Graphic arts pre-press devices)| | 0Ch | SCSI disk array device | | 0Dh-1Eh | Reserved | | 1Fh | Unknown or no device type | +=========+====================================================+ either as per SPC-3 clause 6.4.2 "Standard INQUIRY data" Table 79 ? Peripheral device type +======+=====+=================================================+ | Code | Doc | Description | +======+=====+=================================================+ | 00h |SBC | Direct-access device (e.g., magnetic disk) | | 01h |SSC-2| Sequential-access device (e.g.,magnetic tape) | | 02h |SSC | Printer device | | 03h |SPC-2| Processor device | | 04h |SBC | Write-once device (e.g., some optical disks) | | 05h |MMC-3| CD/DVD device | | 06h | Scanner device (obsolete) | | 07h |SBC | Optical memory device (e.g.,some optical disks) | | 08h |SMC | Medium changer device (e.g.,jukeboxes) | | 09h | Communications device (obsolete) | | 0Ah - 0Bh | Obsolete | | 0Ch |SCC-2| Storage array controller device (e.g., RAID) | | 0Dh |SES | Enclosure services device | | 0Eh |RBC | Simplified direct-access device (e.g.,magnetic disk) | 0Fh |OCRW | Optical card reader/writer device | | 10h | Reserved | | 11h |OSD | Object-based Storage Device | | 12h |ADC | Automation/Drive Interface | | 13h - 1Dh | Reserved | | 1Eh | Well known logical unit | | 1Fh | Unknown or no device type | +======+=======================================================+ that is pretty much the same for the types in question. > echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", > SYSFS{type}==\"0|7|14\", RUN+ > =\"/sbin/modprobe sd_mod\"" >> /etc/udev/rules.d/10-modprobe.rules > echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", > SYSFS{type}==\"[45]\", RUN+=\ > "/sbin/modprobe sr_mod\"" >> /etc/udev/rules.d/10-modprobe.rules > > -dmc > In the hope it helps. Regards, Vladimir > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > From olivares14031 at yahoo.com Sat Oct 20 20:25:41 2007 From: olivares14031 at yahoo.com (Antonio Olivares) Date: Sat, 20 Oct 2007 13:25:41 -0700 (PDT) Subject: [Fedora-livecd-list] how to create kickstart file that will include TeXlive, development tools, kernel-devel, etc In-Reply-To: <1192138260.7423.29.camel@localhost.localdomain> Message-ID: <794757.78981.qm@web52611.mail.re2.yahoo.com> --- Jeremy Katz wrote: > On Wed, 2007-10-10 at 20:02 -0700, Antonio Olivares > wrote: > > Can someone shed some light as to generate a > kickstart > > file like Chitlesh's to generate a livecd with > > TeXlive, TeXMaker or Kile depending on whether one > > uses Gnome or KDE, maxima, xmaxima and Wvmaxima > which > > needs/requires gnuplot, wine, etc. if possible > with > > the development tools as well to generate modules > when > > needed/compile programs that need kernel-devel > > package, etc. Size of the livecd does not matter > as I > > can use a liveDVD. I have used Kadishi before and > > today was my first adventure with live-cd tools as > I > > have not generated a livecd for quite a while. I > do > > follow the list and appreciate the contributions > by > > all the persons here. > > If you install livecd-tools, you'll see a whole > batch of configs > in /usr/share/livecd-tools. From there, it should > be pretty > straight-forward to build on top of an existing > config by either copying > and creating your own file or just even having a > config that is > > %include > /usr/share/livecd-tools/livecd-fedora-desktop.ks > %packages > kile > gnuplot > %end > > Then, as the README in livecd-tools say, you just > run with > livecd-creator --config=/path/to/my-config.ks > > Jeremy Jeremy, Thank you for your reply, I have done as you have suggested, kile install, maxima installs, but tetex shows up. Wasn't TeXLive going to replace tetex? LiveCd works well, except that it has tetex instead of TeXLive. Should I manually put in @packages texlive-texmf-latex-2007-0.13.fc8 texlive-texmf-errata-common-2007-0.9.fc8 texlive-texmf-2007-0.13.fc8 texlive-texmf-errata-2007-0.10.fc8 texlive-texmf-dvips-2007-0.13.fc8 texlive-fonts-2007-0.13.fc8 texlive-texmf-errata-dvips-2007-0.10.fc8 texlive-dvips-2007-0.13.fc8 texlive-texmf-fonts-2007-0.13.fc8 texlive-2007-0.13.fc8 texlive-texmf-common-2007-0.12.fc8 texlive-texmf-errata-fonts-2007-0.10.fc8 texlive-latex-2007-0.13.fc8 texlive-xdvi-2007-0.12.fc8 texlive-texmf-errata-latex-2007-0.10.fc8 which are the ones present when I look at my installation [olivares at localhost ~]$ rpm -qa texlive texlive-2007-0.13.fc8 [olivares at localhost ~]$ rpm -qa texlive* texlive-texmf-latex-2007-0.13.fc8 texlive-texmf-errata-common-2007-0.9.fc8 texlive-texmf-2007-0.13.fc8 texlive-texmf-errata-2007-0.10.fc8 texlive-texmf-dvips-2007-0.13.fc8 texlive-fonts-2007-0.13.fc8 texlive-texmf-errata-dvips-2007-0.10.fc8 texlive-dvips-2007-0.13.fc8 texlive-texmf-fonts-2007-0.13.fc8 texlive-2007-0.13.fc8 texlive-texmf-common-2007-0.12.fc8 texlive-texmf-errata-fonts-2007-0.10.fc8 texlive-latex-2007-0.13.fc8 texlive-xdvi-2007-0.12.fc8 texlive-texmf-errata-latex-2007-0.10.fc8 [olivares at localhost ~]$ Thanks, Antonio __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From dmc.fedora at filteredperception.org Sat Oct 20 23:10:55 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Sat, 20 Oct 2007 18:10:55 -0500 Subject: [Fedora-livecd-list] Cannot find root file system! In-Reply-To: <471A469F.50308@gmail.com> References: <20071019150510.GA24473@core.ubersecurity.org> <47191AFD.50505@filteredperception.org> <471A469F.50308@gmail.com> Message-ID: <471A8AFF.10505@filteredperception.org> Vladimir Shebordaev wrote: > Douglas McClendon ?????: >> offset wrote: >>> Newbie alert :) >>> >>> Looking to get up-to-speed on Fedora LiveCD so I can custom build my >>> own security tools that I can boot from cd, rather than lug around my >>> laptop everywhere. I did see the Security fedora livecd wiki, so >>> I'll have to poke around there as well. >>> >>> I'm getting the following errors when booting the livecd iso that I >>> created in vmware. >>> >>> - - - cut - - - >>> udevd[297]: add_to_rules: the 'device' link is deprecated and will be >>> removed from a future kernel, please fix it in >>> /etc/udev/rules.d/00-cdlabel.rules:1 >>> >>> -------------------------------------- >>> WARNING: Cannot find root file system! >>> -------------------------------------- >>> >>> - - - cut - - - >>> >>> if I add root=/dev/sr0 to the boot line, the cd boots fine, so I'm >>> curious as how to fix the udevd error. >> >> I'm pretty sure this has nothing to do with the problem, but can >> someone explain these hardcoded(?) numbers to me? This is about the >> only thing in mayflower that I don't really understand- >> >> (I.e. where can I go to find documentation on these sysfs types, so I >> can feel convinced that these lists of numbers (0,7,14,,4,5) are >> complete/correct) >> > > I guess those numbers are generic peripheral device types as per ancient > X3T10 recommendation > > Table xx - Peripheral device type > +=========+====================================================+ > | Code | Description | > |---------+----------------------------------------------------+ > | 00h | Direct-access device (e.g. magnetic disk) | > | 01h | Sequential-access device (e.g. magnetic tape) | > | 02h | Printer device | > | 03h | Processor device | > | 04h | Write-once device (e.g. some optical disks) | > | 05h | CD-ROM device | > | 06h | Scanner device | > | 07h | Optical memory device (e.g. some optical disks) | > | 08h | Medium changer device (e.g. jukeboxes) | > | 09h | Communications device | > | 0Ah-0Bh | Defined by ASC IT8 (Graphic arts pre-press devices)| > | 0Ch | SCSI disk array device | > | 0Dh-1Eh | Reserved | > | 1Fh | Unknown or no device type | > +=========+====================================================+ > > either as per SPC-3 clause 6.4.2 "Standard INQUIRY data" > > Table 79 ? Peripheral device type > +======+=====+=================================================+ > | Code | Doc | Description | > +======+=====+=================================================+ > | 00h |SBC | Direct-access device (e.g., magnetic disk) | > | 01h |SSC-2| Sequential-access device (e.g.,magnetic tape) | > | 02h |SSC | Printer device | > | 03h |SPC-2| Processor device | > | 04h |SBC | Write-once device (e.g., some optical disks) | > | 05h |MMC-3| CD/DVD device | > | 06h | Scanner device (obsolete) | > | 07h |SBC | Optical memory device (e.g.,some optical disks) | > | 08h |SMC | Medium changer device (e.g.,jukeboxes) | > | 09h | Communications device (obsolete) | > | 0Ah - 0Bh | Obsolete | > | 0Ch |SCC-2| Storage array controller device (e.g., RAID) | > | 0Dh |SES | Enclosure services device | > | 0Eh |RBC | Simplified direct-access device (e.g.,magnetic disk) > | 0Fh |OCRW | Optical card reader/writer device | > | 10h | Reserved | > | 11h |OSD | Object-based Storage Device | > | 12h |ADC | Automation/Drive Interface | > | 13h - 1Dh | Reserved | > | 1Eh | Well known logical unit | > | 1Fh | Unknown or no device type | > +======+=======================================================+ > > that is pretty much the same for the types in question. > >> echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", >> SYSFS{type}==\"0|7|14\", RUN+ >> =\"/sbin/modprobe sd_mod\"" >> /etc/udev/rules.d/10-modprobe.rules >> echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", >> SYSFS{type}==\"[45]\", RUN+=\ >> "/sbin/modprobe sr_mod\"" >> /etc/udev/rules.d/10-modprobe.rules >> >> -dmc >> > > In the hope it helps. Excellent. Thanks. -dmc > Regards, > Vladimir From svahl at fedoraproject.org Tue Oct 23 14:51:31 2007 From: svahl at fedoraproject.org (Sebastian Vahl) Date: Tue, 23 Oct 2007 10:51:31 -0400 Subject: [Fedora-livecd-list] config/livecd-fedora-kde.ks Message-ID: <200710231451.l9NEpVa0014582@cvs-int.fedora.redhat.com> config/livecd-fedora-kde.ks | 28 ++-------------------------- 1 files changed, 2 insertions(+), 26 deletions(-) New commits: commit 1e34eabc7aafbb20f3dd2cc8064ac7a6640df5f8 Author: Sebastian Vahl Date: Tue Oct 23 16:49:38 2007 +0200 re-add knetworkmanager and let it do the workaround for nm-applet diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index 8469e67..b004648 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -12,6 +12,7 @@ twinkle filelight krusader + # if it is enough space include koffice-krita (~40 megs) koffice-krita @@ -26,11 +27,7 @@ kpowersave rhgb man-pages smolt-firstboot - -# workaround the fact that knetworkmanager doesn't work with NM 0.7 -#knetworkmanager -NetworkManager-gnome --knetworkmanager +knetworkmanager #some changes that we don't want... -specspo @@ -98,26 +95,4 @@ sed -i 's/Enabled=true/Enabled=false/' /usr/share/kde-settings/kde-profile/defau sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop EOF -# adding some autostarted applications -#cp /usr/share/applications/fedora-knetworkmanager.desktop /usr/share/autostart/ -sed -i 's/OnlyShowIn=GNOME;XFCE;/OnlyShowIn=GNOME;XFCE;KDE;/' /etc/xdg/autostart/nm-applet.desktop - -# and set up gnome-keyring to startup/shutdown in kde -mkdir -p /etc/skel/.kde/env /etc/skel/.kde/shutdown -cat > /etc/skel/.kde/env/start-custom.sh << EOF -#!/bin/sh -eval \`gnome-keyring-daemon\` -export GNOME_KEYRING_PID -export GNOME_KEYRING_SOCKET -EOF -chmod 755 /etc/skel/.kde/env/start-custom.sh - -cat > /etc/skel/.kde/shutdown/stop-custom.sh << EOF -#/bin/sh -if [-n "$GNOME_KEYRING_PID"];then -kill $GNOME_KEYRING_PID -fi -EOF -chmod 755 /etc/skel/.kde/shutdown/stop-custom.sh - %end From katzj at fedoraproject.org Tue Oct 23 18:04:35 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 23 Oct 2007 14:04:35 -0400 Subject: [Fedora-livecd-list] creator/livecd-creator Message-ID: <200710231804.l9NI4Z0D031921@cvs-int.fedora.redhat.com> creator/livecd-creator | 24 +++++++++++++++--------- 1 files changed, 15 insertions(+), 9 deletions(-) New commits: commit 4cbf4002db69898ede94a64bdbf780e25e710d7b Author: Jeremy Katz Date: Tue Oct 23 13:51:20 2007 -0400 don't require anaconda-runtime; new ppc64-utils has all of the pieces needed to boot a cd diff --git a/creator/livecd-creator b/creator/livecd-creator index bc1917f..8314cfe 100755 --- a/creator/livecd-creator +++ b/creator/livecd-creator @@ -1316,6 +1316,17 @@ class ppcImageCreator(ImageCreator): if rc != 0: raise InstallationError("ISO creation failed!") + def _copyBootFile(self, file, dest): + # get the file from either anaconda-runtime or ppc64-utils + if os.path.exists("%s/install_root/usr/share/ppc64-utils/%s" %(self.build_dir, file)): + shutil.copyfile("%s/install_root/usr/share/ppc64-utils/%s" + %(self.build_dir, file), dest) + elif os.path.exists("%s/install_root/usr/lib/anaconda-runtime/boot/%s" %(self.build_dir, file)): + shutil.copyfile("%s/install_root/usr/lib/anaconda-runtime/boot/%s" + %(self.build_dir, file), dest) + else: + raise InstallationError("Unable to find boot file %s" %(file,)) + def configureBootloader(self): """configure the boot loader""" havekernel = { 32: False, 64: False } @@ -1323,20 +1334,17 @@ class ppcImageCreator(ImageCreator): os.makedirs(self.build_dir + "/out/ppc") # copy the mapping file to somewhere we can get to it later - shutil.copyfile("%s/install_root/usr/lib/anaconda-runtime/boot/mapping" %(self.build_dir,), - "%s/out/ppc/mapping" %(self.build_dir,)) + self._copyBootFile("mapping", "%s/out/ppc/mapping" %(self.build_dir,)) # Copy yaboot and ofboot.b in to mac directory os.makedirs(self.build_dir + "/out/ppc/mac") - shutil.copyfile("%s/install_root/usr/lib/anaconda-runtime/boot/ofboot.b" %(self.build_dir), - "%s/out/ppc/mac/ofboot.b" %(self.build_dir,)) + self._copyBootFile("ofboot.b", "%s/out/ppc/mac/ofboot.b" %(self.build_dir,)) shutil.copyfile("%s/install_root/usr/lib/yaboot/yaboot" %(self.build_dir), "%s/out/ppc/mac/yaboot" %(self.build_dir,)) # Copy yaboot and ofboot.b in to chrp directory os.makedirs(self.build_dir + "/out/ppc/chrp") - shutil.copyfile("%s/install_root/usr/lib/anaconda-runtime/boot/bootinfo.txt" %(self.build_dir), - "%s/out/ppc/bootinfo.txt" %(self.build_dir,)) + self._copyBootFile("bootinfo.txt", "%s/out/ppc/bootinfo.txt" %(self.build_dir,)) shutil.copyfile("%s/install_root/usr/lib/yaboot/yaboot" %(self.build_dir), "%s/out/ppc/chrp/yaboot" %(self.build_dir,)) subprocess.call(["/usr/sbin/addnote", "%s/out/ppc/chrp/yaboot" %(self.build_dir,)]) @@ -1431,9 +1439,7 @@ image=/ppc/ppc32/vmlinuz # TODO: build 'netboot' images with kernel+initrd, like mk-images.ppc def _getRequiredPackages(self): - # For now we need anaconda-runtime, for bits like ofboot.b and - # mapping files. - ret = ["yaboot", "anaconda-runtime"] + ret = ["yaboot"] ret.extend(ImageCreator._getRequiredPackages(self)) return ret From katzj at fedoraproject.org Tue Oct 23 20:44:07 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 23 Oct 2007 16:44:07 -0400 Subject: [Fedora-livecd-list] config/livecd-fedora-developer.ks Message-ID: <200710232044.l9NKi7wn022108@cvs-int.fedora.redhat.com> config/livecd-fedora-developer.ks | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletion(-) New commits: commit 9e40799a24d9000091ee54b47bf56258f211a7ed Author: Jeremy Katz Date: Tue Oct 23 16:43:48 2007 -0400 enable debuginfo repo by default for developer live image (from overholt) diff --git a/config/livecd-fedora-developer.ks b/config/livecd-fedora-developer.ks index a226b71..9849283 100644 --- a/config/livecd-fedora-developer.ks +++ b/config/livecd-fedora-developer.ks @@ -83,7 +83,29 @@ eclipse-demos %end %post -# TODO: Enable debuginfo repository +# Enable debuginfo repository (useful for frysk, gdb, etc.) +awk ' +BEGIN { + debuginfo = 0 +} + /^\[.*\]/ { + if (/debuginfo/) { + debuginfo = 1 + } else { + debuginfo = 0 + } + print + next +} + /enabled=0/ && debuginfo { + print "enabled=1" + next +} +{ + print + next +}' < /etc/yum.repos.d/fedora.repo > /etc/yum.repos.d/fedora.repo.tmp +mv /etc/yum.repos.d/fedora.repo{.tmp,} cat >> /etc/rc.d/init.d/fedora-live << EOF # Put link to demonstration videos on the desktop From clalance at redhat.com Tue Oct 23 21:45:02 2007 From: clalance at redhat.com (Chris Lalancette) Date: Tue, 23 Oct 2007 17:45:02 -0400 Subject: [Fedora-livecd-list] [PATCH]: Fix --base-on Message-ID: <471E6B5E.7070201@redhat.com> All, I'm working with the latest version of livecd-creator available in rawhide, which is livecd-tools-012-1.fc8. I noticed a bug when using the --base-on option; basically, it is testing for the existence of the squashfs.img, but that path can't possibly exist until the ISO has been loopback mounted. The attached patch moves the mounting of the ISO before the check to see if the squashfs filesystem exists. With this patch, I am able to successfully use the --base-on option. Signed-off-by: Chris Lalancette -------------- next part -------------- A non-text attachment was scrubbed... Name: livecd-tools-012-base-on-fix.patch Type: text/x-patch Size: 1263 bytes Desc: not available URL: From dmc.fedora at filteredperception.org Tue Oct 23 22:58:40 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Tue, 23 Oct 2007 17:58:40 -0500 Subject: [Fedora-livecd-list] [PATCH]: Fix --base-on In-Reply-To: <471E6B5E.7070201@redhat.com> References: <471E6B5E.7070201@redhat.com> Message-ID: <471E7CA0.3090409@filteredperception.org> Chris Lalancette wrote: > All, > I'm working with the latest version of livecd-creator available in rawhide, > which is livecd-tools-012-1.fc8. I noticed a bug when using the --base-on > option; basically, it is testing for the existence of the squashfs.img, but that > path can't possibly exist until the ISO has been loopback mounted. The attached > patch moves the mounting of the ISO before the check to see if the squashfs > filesystem exists. With this patch, I am able to successfully use the --base-on > option. TODO: since livecd-tools was added to the dev-spin, it seems like the most obvious minimal QA that should be done is to boot an RC of the dev-livecd, mount some tmpspace, and then run livecd-creator (with --tmpdir) with --base-on pointing at /dev/live, to see if you can easily perform some minimal respin. E.g. perhaps just kickstart that adds a couple new packages, maybe adds a 3rd party repo, and changes the isolinux splash. And as a second QA test, respin itself without the base-on option. And I would love it if the dev-livecd could include qemu (space impact?), so that the resulting livecd's could be virtually test booted trivially. -dmc From katzj at fedoraproject.org Wed Oct 24 01:02:03 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 23 Oct 2007 21:02:03 -0400 Subject: [Fedora-livecd-list] creator/livecd-creator Message-ID: <200710240102.l9O123W1001899@cvs-int.fedora.redhat.com> creator/livecd-creator | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) New commits: commit 14c621362a23f1d8080f535c9cdcdb3c10287602 Author: Chris Lalancette Date: Tue Oct 23 17:45:02 2007 -0400 Fix --base-on I'm working with the latest version of livecd-creator available in rawhide, which is livecd-tools-012-1.fc8. I noticed a bug when using the --base-on option; basically, it is testing for the existence of the squashfs.img, but that path can't possibly exist until the ISO has been loopback mounted. The attached patch moves the mounting of the ISO before the check to see if the squashfs filesystem exists. With this patch, I am able to successfully use the --base-on option. Signed-off-by: Chris Lalancette diff --git a/creator/livecd-creator b/creator/livecd-creator index 8314cfe..b0a2cf4 100755 --- a/creator/livecd-creator +++ b/creator/livecd-creator @@ -418,6 +418,11 @@ class ImageCreator(object): isoloop = LoopbackMount(base_on, "%s/base_on_iso" %(self.build_dir,)) + try: + isoloop.mount() + except MountError, e: + raise InstallationError("Failed to loopback mount '%s' : %s" % (base_on, e)) + # legacy LiveOS filesystem layout support, remove for F9 or F10 if os.path.exists("%s/LiveOS/squashfs.img" %(isoloop.mountdir,)): squashloop = LoopbackMount("%s/LiveOS/squashfs.img" %(isoloop.mountdir,), @@ -429,11 +434,6 @@ class ImageCreator(object): "squashfs") try: - try: - isoloop.mount() - except MountError, e: - raise InstallationError("Failed to loopback mount '%s' : %s" % (base_on, e)) - if not os.path.exists(squashloop.lofile): raise InstallationError("'%s' is not a valid live CD ISO : squashfs.img doesn't exist" % base_on) From katzj at redhat.com Wed Oct 24 01:02:02 2007 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 23 Oct 2007 21:02:02 -0400 Subject: [Fedora-livecd-list] [PATCH]: Fix --base-on In-Reply-To: <471E6B5E.7070201@redhat.com> References: <471E6B5E.7070201@redhat.com> Message-ID: <1193187722.19923.9.camel@localhost.localdomain> On Tue, 2007-10-23 at 17:45 -0400, Chris Lalancette wrote: > I'm working with the latest version of livecd-creator available in rawhide, > which is livecd-tools-012-1.fc8. I noticed a bug when using the --base-on > option; basically, it is testing for the existence of the squashfs.img, but that > path can't possibly exist until the ISO has been loopback mounted. The attached > patch moves the mounting of the ISO before the check to see if the squashfs > filesystem exists. With this patch, I am able to successfully use the --base-on > option. Thanks for the patch; applied and will be in 013 (which I'm hoping will be the final build for F8 and that I can build tomorrow) Jeremy From katzj at redhat.com Wed Oct 24 01:04:08 2007 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 23 Oct 2007 21:04:08 -0400 Subject: [Fedora-livecd-list] [PATCH]: Fix --base-on In-Reply-To: <471E7CA0.3090409@filteredperception.org> References: <471E6B5E.7070201@redhat.com> <471E7CA0.3090409@filteredperception.org> Message-ID: <1193187848.19923.12.camel@localhost.localdomain> On Tue, 2007-10-23 at 17:58 -0500, Douglas McClendon wrote: > TODO: since livecd-tools was added to the dev-spin, it seems like the > most obvious minimal QA that should be done is to boot an RC of the > dev-livecd, mount some tmpspace, and then run livecd-creator (with > --tmpdir) with --base-on pointing at /dev/live, to see if you can easily > perform some minimal respin. E.g. perhaps just kickstart that adds a > couple new packages, maybe adds a 3rd party repo, and changes the > isolinux splash. And as a second QA test, respin itself without the > base-on option. Accepting patches :-) I think the biggest thing is being able to (easily) hook in something automated to run as part of the live boot. While it's easy enough to add something to run anaconda as Rahul asked about, being able to run anything generically is a bit trickier. > And I would love it if the dev-livecd could include qemu (space > impact?), so that the resulting livecd's could be virtually test booted > trivially. The developer config includes the virtualization group and thus should have qemu and kvm as well as virt-manager Jeremy From dmc.fedora at filteredperception.org Wed Oct 24 01:14:39 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Tue, 23 Oct 2007 20:14:39 -0500 Subject: [Fedora-livecd-list] [PATCH]: Fix --base-on In-Reply-To: <1193187848.19923.12.camel@localhost.localdomain> References: <471E6B5E.7070201@redhat.com> <471E7CA0.3090409@filteredperception.org> <1193187848.19923.12.camel@localhost.localdomain> Message-ID: <471E9C7F.1000403@filteredperception.org> Jeremy Katz wrote: > On Tue, 2007-10-23 at 17:58 -0500, Douglas McClendon wrote: >> TODO: since livecd-tools was added to the dev-spin, it seems like the >> most obvious minimal QA that should be done is to boot an RC of the >> dev-livecd, mount some tmpspace, and then run livecd-creator (with >> --tmpdir) with --base-on pointing at /dev/live, to see if you can easily >> perform some minimal respin. E.g. perhaps just kickstart that adds a >> couple new packages, maybe adds a 3rd party repo, and changes the >> isolinux splash. And as a second QA test, respin itself without the >> base-on option. > > Accepting patches :-) I think the biggest thing is being able to > (easily) hook in something automated to run as part of the live boot. > While it's easy enough to add something to run anaconda as Rahul asked > about, being able to run anything generically is a bit trickier. Hmm. I wasn't talking about any patches in the above, unless of course the QA shows that something doesn't work. As for what you said, and Rahul- It sounded like he wanted something akin to the traditional installer. I.e. anaconda fullscreen with no windowmanager or desktop. Can you give an example or two of things that would be supported in the generic case that you speak of? Are we talking something crazy like a kernel cmdline of "autorun='firefox file:///usr/share/doc/fedora/releasenotes'" I'm just don't quite understand what you were getting at. > >> And I would love it if the dev-livecd could include qemu (space >> impact?), so that the resulting livecd's could be virtually test booted >> trivially. > > The developer config includes the virtualization group and thus should > have qemu and kvm as well as virt-manager cool. I was lazy and just did a grep qemu. -dmc From katzj at redhat.com Wed Oct 24 02:00:54 2007 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 23 Oct 2007 22:00:54 -0400 Subject: [Fedora-livecd-list] [PATCH]: Fix --base-on In-Reply-To: <471E9C7F.1000403@filteredperception.org> References: <471E6B5E.7070201@redhat.com> <471E7CA0.3090409@filteredperception.org> <1193187848.19923.12.camel@localhost.localdomain> <471E9C7F.1000403@filteredperception.org> Message-ID: <1193191254.19923.23.camel@localhost.localdomain> On Tue, 2007-10-23 at 20:14 -0500, Douglas McClendon wrote: > Jeremy Katz wrote: > > On Tue, 2007-10-23 at 17:58 -0500, Douglas McClendon wrote: > >> TODO: since livecd-tools was added to the dev-spin, it seems like the > >> most obvious minimal QA that should be done is to boot an RC of the > >> dev-livecd, mount some tmpspace, and then run livecd-creator (with > >> --tmpdir) with --base-on pointing at /dev/live, to see if you can easily > >> perform some minimal respin. E.g. perhaps just kickstart that adds a > >> couple new packages, maybe adds a 3rd party repo, and changes the > >> isolinux splash. And as a second QA test, respin itself without the > >> base-on option. > > > > Accepting patches :-) I think the biggest thing is being able to > > (easily) hook in something automated to run as part of the live boot. > > While it's easy enough to add something to run anaconda as Rahul asked > > about, being able to run anything generically is a bit trickier. > > Hmm. I wasn't talking about any patches in the above, unless of course > the QA shows that something doesn't work. > > As for what you said, and Rahul- It sounded like he wanted something > akin to the traditional installer. I.e. anaconda fullscreen with no > windowmanager or desktop. Right -- the two are different. The main connection is "args coming from the command line". And I'm trying something now which would do Rahul's request. If it works, it might be worth having available and undocumented. > Can you give an example or two of things that > would be supported in the generic case that you speak of? Are we > talking something crazy like a kernel cmdline of > "autorun='firefox file:///usr/share/doc/fedora/releasenotes'" Something like that. Or perhaps to run an arbitrary dogtail script after the user logs in. Yes, really crazy. But if we want to get to where the QA is being done in an automated fashion, crazy is probably the only way to get there :-/ Jeremy From dmc.fedora at filteredperception.org Wed Oct 24 04:34:30 2007 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Tue, 23 Oct 2007 23:34:30 -0500 Subject: [Fedora-livecd-list] [PATCH]: Fix --base-on In-Reply-To: <1193191254.19923.23.camel@localhost.localdomain> References: <471E6B5E.7070201@redhat.com> <471E7CA0.3090409@filteredperception.org> <1193187848.19923.12.camel@localhost.localdomain> <471E9C7F.1000403@filteredperception.org> <1193191254.19923.23.camel@localhost.localdomain> Message-ID: <471ECB56.1060305@filteredperception.org> Jeremy Katz wrote: > On Tue, 2007-10-23 at 20:14 -0500, Douglas McClendon wrote: >> Jeremy Katz wrote: >> As for what you said, and Rahul- It sounded like he wanted something >> akin to the traditional installer. I.e. anaconda fullscreen with no >> windowmanager or desktop. > > Right -- the two are different. The main connection is "args coming > from the command line". And I'm trying something now which would do > Rahul's request. If it works, it might be worth having available and > undocumented. > >> Can you give an example or two of things that >> would be supported in the generic case that you speak of? Are we >> talking something crazy like a kernel cmdline of >> "autorun='firefox file:///usr/share/doc/fedora/releasenotes'" > > Something like that. Or perhaps to run an arbitrary dogtail script > after the user logs in. Yes, really crazy. But if we want to get to > where the QA is being done in an automated fashion, crazy is probably > the only way to get there :-/ Thanks, now it is clear. It all sounds good. Keep in mind the coolness that is- a) use isodump to extract the kernel, initrd, and syslinux.cfg from a recently spun livecd iso b) grab the default append string from the syslinux.cfg c) add your dogtail invocation args to that append string d) launch qemu with -kernel -initrd -append, and -vnc, and using vncrec to record the session e) post the vnc video transcoded to a popular format (mpg, swf) to a website. (for times when an optional visual inspection pass of dogtail test results will be useful in addition to any completely automated pass/fail test scripts) -dmc From sundaram at fedoraproject.org Wed Oct 24 08:30:21 2007 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Wed, 24 Oct 2007 14:00:21 +0530 Subject: [Fedora-livecd-list] how to create kickstart file that will include TeXlive, development tools, kernel-devel, etc In-Reply-To: <794757.78981.qm@web52611.mail.re2.yahoo.com> References: <794757.78981.qm@web52611.mail.re2.yahoo.com> Message-ID: <471F029D.9060507@fedoraproject.org> Antonio Olivares wrote: > > Thank you for your reply, I have done as you have > suggested, kile install, maxima installs, but tetex > shows up. Wasn't TeXLive going to replace tetex? > LiveCd works well, except that it has tetex instead of > TeXLive. > That has been postponed due to some licensing issues and delays in reviews. Rahul From clalance at redhat.com Wed Oct 24 12:25:52 2007 From: clalance at redhat.com (Chris Lalancette) Date: Wed, 24 Oct 2007 08:25:52 -0400 Subject: [Fedora-livecd-list] [PATCH]: Make timeout configurable Message-ID: <471F39D0.1000700@redhat.com> All, Attached is a patch to make the bootloader timeout configurable via a --timeout=x command-line option. This is useful for some people (like me) who don't want to wait the full 60 seconds for the bootloader to do the default action. I've only tested it on x86; I think I did the PPC parts right, but I don't have any PPC boxes locally to test with. Signed-off-by: Chris Lalancette -------------- next part -------------- A non-text attachment was scrubbed... Name: livecd-tools-012-timeout-option.patch Type: text/x-patch Size: 2808 bytes Desc: not available URL: From katzj at redhat.com Wed Oct 24 13:57:09 2007 From: katzj at redhat.com (Jeremy Katz) Date: Wed, 24 Oct 2007 09:57:09 -0400 Subject: [Fedora-livecd-list] [PATCH]: Make timeout configurable In-Reply-To: <471F39D0.1000700@redhat.com> References: <471F39D0.1000700@redhat.com> Message-ID: <1193234229.5475.0.camel@localhost.localdomain> On Wed, 2007-10-24 at 08:25 -0400, Chris Lalancette wrote: > Attached is a patch to make the bootloader timeout configurable via a > --timeout=x command-line option. This is useful for some people (like me) who > don't want to wait the full 60 seconds for the bootloader to do the default > action. I've only tested it on x86; I think I did the PPC parts right, but I > don't have any PPC boxes locally to test with. You should be able to adjust the bootloader timeout with bootloader --timeout=n in your config Jeremy From clalance at redhat.com Wed Oct 24 14:52:04 2007 From: clalance at redhat.com (Chris Lalancette) Date: Wed, 24 Oct 2007 10:52:04 -0400 Subject: [Fedora-livecd-list] [PATCH]: Make timeout configurable In-Reply-To: <1193234229.5475.0.camel@localhost.localdomain> References: <471F39D0.1000700@redhat.com> <1193234229.5475.0.camel@localhost.localdomain> Message-ID: <471F5C14.4010505@redhat.com> Jeremy Katz wrote: > On Wed, 2007-10-24 at 08:25 -0400, Chris Lalancette wrote: >> Attached is a patch to make the bootloader timeout configurable via a >> --timeout=x command-line option. This is useful for some people (like me) who >> don't want to wait the full 60 seconds for the bootloader to do the default >> action. I've only tested it on x86; I think I did the PPC parts right, but I >> don't have any PPC boxes locally to test with. > > You should be able to adjust the bootloader timeout with > bootloader --timeout=n > in your config > > Jeremy Ah, OK, that's new. I'll give it a whirl....thanks! Chris Lalancette From hunt at m2s.com Thu Oct 25 15:13:26 2007 From: hunt at m2s.com (Elias Hunt) Date: Thu, 25 Oct 2007 11:13:26 -0400 Subject: [Fedora-livecd-list] Updated Fedora 7 packages now causing livecd-creator error Message-ID: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA974681E@exchange2.ad.medicalmetrx.com> I believe the pykickstart package was updated for Fedora 7 recently. I tend to update my build servers periodically and don't usually worry about these things. However since the update I'm getting this error that I haven't figured out how to work around: Traceback (most recent call last): File "/usr/bin/livecd-creator", line 1083, in sys.exit(main()) File "/usr/bin/livecd-creator", line 1064, in main target.install() File "/usr/bin/livecd-creator", line 868, in install self.configureNetwork() File "/usr/bin/livecd-creator", line 615, in configureNetwork if network.ipv6: AttributeError: FC6_NetworkData instance has no attribute 'ipv6' I've tried adding a --noipv6 argument to my network line, but it still generates the error. If anyone has any thoughts or suggestions they would be greatly appreciated. This update has serverly crippled my ability to complete my work. Thanks. -Eli -- Elias Hunt Systems Engineer M2S, Inc. 12 Commerce Ave. W Lebanon, NH 03784 Ph: 603-298-5509 x365 Fax: 603-298-8816 hunt at m2s.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hunt at m2s.com Thu Oct 25 16:25:04 2007 From: hunt at m2s.com (Elias Hunt) Date: Thu, 25 Oct 2007 12:25:04 -0400 Subject: [Fedora-livecd-list] Updated Fedora 7 packages now causinglivecd-creator error In-Reply-To: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA974681E@exchange2.ad.medicalmetrx.com> References: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA974681E@exchange2.ad.medicalmetrx.com> Message-ID: <50B0D0F07E90AD4A9A5DFB3CC6C7ACA9746829@exchange2.ad.medicalmetrx.com> If it helps this is my network line in the existing kickstart files: network --hostname test.m2s.com --device eth0 --bootproto static --ip 10.3.7.5 --netmask 255.255.0.0 --gateway 10.3.0.1 --nameserver 10.31.1.62,10.75.0.174,216.107.210.68,216.107.200.68 >From digging into the pykickstart code a little it looks like possibly someone moved some F8 code into the F7 updates. Possibly backwards compatibility was broken. If I should bark up a different tree about this, please let me know. -E From: fedora-livecd-list-bounces at redhat.com [mailto:fedora-livecd-list-bounces at redhat.com] On Behalf Of Elias Hunt Sent: Thursday, October 25, 2007 11:13 AM To: fedora-livecd-list at redhat.com Subject: [Fedora-livecd-list] Updated Fedora 7 packages now causinglivecd-creator error I believe the pykickstart package was updated for Fedora 7 recently. I tend to update my build servers periodically and don't usually worry about these things. However since the update I'm getting this error that I haven't figured out how to work around: Traceback (most recent call last): File "/usr/bin/livecd-creator", line 1083, in sys.exit(main()) File "/usr/bin/livecd-creator", line 1064, in main target.install() File "/usr/bin/livecd-creator", line 868, in install self.configureNetwork() File "/usr/bin/livecd-creator", line 615, in configureNetwork if network.ipv6: AttributeError: FC6_NetworkData instance has no attribute 'ipv6' I've tried adding a --noipv6 argument to my network line, but it still generates the error. If anyone has any thoughts or suggestions they would be greatly appreciated. This update has serverly crippled my ability to complete my work. Thanks. -Eli -- Elias Hunt Systems Engineer M2S, Inc. 12 Commerce Ave. W Lebanon, NH 03784 Ph: 603-298-5509 x365 Fax: 603-298-8816 hunt at m2s.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at fedoraproject.org Thu Oct 25 17:32:18 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Thu, 25 Oct 2007 13:32:18 -0400 Subject: [Fedora-livecd-list] 3 commits - config/livecd-fedora-base-desktop.ks creator/livecd-creator Message-ID: <200710251732.l9PHWI2c029235@cvs-int.fedora.redhat.com> config/livecd-fedora-base-desktop.ks | 6 ++++++ creator/livecd-creator | 17 +++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) New commits: commit d3b2df56747e02009d7dbeea4619efa147ef5148 Author: Jeremy Katz Date: Thu Oct 25 13:24:26 2007 -0400 add a hidden option to skip minimizing the filesystem size as it makes my testing a lot quicker and avoids me committing the change to comment out the steps... diff --git a/creator/livecd-creator b/creator/livecd-creator index f07c72c..1160077 100755 --- a/creator/livecd-creator +++ b/creator/livecd-creator @@ -1509,6 +1509,8 @@ def parse_options(args): # Don't compress the image. parser.add_option("-s", "--skip-compression", action="store_true", dest="skip_compression", help=optparse.SUPPRESS_HELP) + parser.add_option("", "--skip-minimize", action="store_true", dest="skip_minimize", + help=optparse.SUPPRESS_HELP) (options, args) = parser.parse_args() if not options.kscfg or not os.path.isfile(options.kscfg): @@ -1579,8 +1581,9 @@ def main(): target.unmount() - target.cleanupDeleted() - target.genMinInstDelta() + if not skip_minimize: + target.cleanupDeleted() + target.genMinInstDelta() target.package() commit 703b9b4a7ef0622740f40723001e2dbbf8e38477 Author: Jeremy Katz Date: Thu Oct 25 13:21:22 2007 -0400 avoid lvm files sticking around as they can lead to weirdness later (#346471) diff --git a/creator/livecd-creator b/creator/livecd-creator index b0a2cf4..f07c72c 100755 --- a/creator/livecd-creator +++ b/creator/livecd-creator @@ -596,6 +596,16 @@ class ImageCreator(object): finally: self.ayum.closeRpmDB() + # do some clean up to avoid lvm info leakage. this sucks. + for subdir in ("cache", "backup", "archive"): + for f in os.listdir("%s/install_root/etc/lvm/%s" + %(self.build_dir, subdir)): + try: + os.unlink("%s/install_root/etc/lvm/%s/%s" + %(self.build_dir, subdir, f)) + except: + pass + def writeNetworkIfCfg(self, instroot, network): path = instroot + "/etc/sysconfig/network-scripts/ifcfg-" + network.device commit 185b3cf41bb0284f9db2db972b36f7148bae021e Author: Jeremy Katz Date: Thu Oct 25 13:16:14 2007 -0400 remove the qlogic firmwares for now as they push us over on size and we're in the final push for f8 diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks index e30792e..6c66597 100644 --- a/config/livecd-fedora-base-desktop.ks +++ b/config/livecd-fedora-base-desktop.ks @@ -41,6 +41,12 @@ memtest86+ # lose the compat stuff -compat* +# qlogic firmwares +-ql2100-firmware +-ql2200-firmware +-ql23xx-firmware +-ql2400-firmware + # scanning takes quite a bit of space :/ -xsane -xsane-gimp From katzj at fedoraproject.org Mon Oct 29 17:47:58 2007 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 29 Oct 2007 13:47:58 -0400 Subject: [Fedora-livecd-list] 7 commits - Makefile config/livecd-fedora-8-base-desktop.ks config/livecd-fedora-8-desktop.ks config/livecd-fedora-8-developer.ks config/livecd-fedora-8-electronic-lab.ks config/livecd-fedora-8-games.ks config/livecd-fedora-8-kde.ks config/livecd-fedora-base-desktop.ks config/livecd-fedora-desktop.ks config/livecd-fedora-developer.ks creator/livecd-creator livecd-tools.spec Message-ID: <200710291747.l9THlwE6009675@cvs-int.fedora.redhat.com> Makefile | 2 config/livecd-fedora-8-base-desktop.ks | 177 +++++++++++++++++++++++ config/livecd-fedora-8-desktop.ks | 145 ++++++++++++++++++ config/livecd-fedora-8-developer.ks | 115 ++++++++++++++ config/livecd-fedora-8-electronic-lab.ks | 238 +++++++++++++++++++++++++++++++ config/livecd-fedora-8-games.ks | 155 ++++++++++++++++++++ config/livecd-fedora-8-kde.ks | 98 ++++++++++++ config/livecd-fedora-base-desktop.ks | 36 +++- config/livecd-fedora-desktop.ks | 1 config/livecd-fedora-developer.ks | 1 creator/livecd-creator | 2 livecd-tools.spec | 10 + 12 files changed, 968 insertions(+), 12 deletions(-) New commits: commit 38a4477116c998f3b99779e53ce1ffe9a0849a5b Author: Jeremy Katz Date: Mon Oct 29 13:45:22 2007 -0400 bump version diff --git a/Makefile b/Makefile index 3bbb3ef..a86371d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION = 012 +VERSION = 013 INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} diff --git a/livecd-tools.spec b/livecd-tools.spec index 4c447a7..0950d58 100644 --- a/livecd-tools.spec +++ b/livecd-tools.spec @@ -2,7 +2,7 @@ Summary: Tools for building live CD's Name: livecd-tools -Version: 012 +Version: 013 Release: 1%{?dist} License: GPL Group: System Environment/Base @@ -55,6 +55,14 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/livecd-tools/* %changelog +* Mon Oct 29 2007 Jeremy Katz - 013-1 +- Lots of config updates +- Support 'device foo' to say what modules go in the initramfs +- Support multiple kernels being installed +- Allow blacklisting kernel modules on boot with blacklist=foo +- Improve bootloader configs +- Split configs off for f8 + * Tue Sep 25 2007 Jeremy Katz - 012-1 - Allow %%post --nochroot to work for putting files in the root of the iso - Set environment variables for when %%post is run commit 833dd54b455020e59055a94780958b6643b9d796 Author: Jeremy Katz Date: Mon Oct 29 13:44:53 2007 -0400 add f8 configs diff --git a/config/livecd-fedora-8-base-desktop.ks b/config/livecd-fedora-8-base-desktop.ks new file mode 100644 index 0000000..199093f --- /dev/null +++ b/config/livecd-fedora-8-base-desktop.ks @@ -0,0 +1,177 @@ +lang en_US.UTF-8 +keyboard us +timezone US/Eastern +auth --useshadow --enablemd5 +selinux --enforcing +firewall --disabled +xconfig --startxonboot +part / --size 4096 +services --enabled=NetworkManager --disabled=network,sshd + +repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=$basearch +repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8&arch=$basearch + +%packages + at base-x + at base + at core + at admin-tools + at dial-up + at hardware-support + at printing +kernel +memtest86+ + +# save some space +-specspo +-esc +-samba-client +-a2ps +-mpage +-redhat-lsb +-sox +-hplip +-hpijs +# smartcards won't really work on the livecd. +-coolkey +-ccid +# duplicate functionality +-pinfo +-vorbis-tools +-wget +# lose the compat stuff +-compat* + +# qlogic firmwares +-ql2100-firmware +-ql2200-firmware +-ql23xx-firmware +-ql2400-firmware + +# scanning takes quite a bit of space :/ +-xsane +-xsane-gimp +-sane-backends + +# lots of people want to have this +gparted + +# livecd bits to set up the livecd and be able to install +anaconda +isomd5sum + +# make sure debuginfo doesn't end up on the live image +-*debuginfo +%end + +%post +# FIXME: it'd be better to get this installed from a package +cat > /etc/rc.d/init.d/fedora-live << EOF +#!/bin/bash +# +# live: Init script for live image +# +# chkconfig: 345 00 99 +# description: Init script for live image. + +. /etc/init.d/functions + +if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ] || [ -e /.liveimg-configured ] ; then + exit 0 +fi + +exists() { + which \$1 >/dev/null 2>&1 || return + \$* +} + +touch /.liveimg-configured + +# mount live image +if [ -b /dev/live ]; then + mkdir -p /mnt/live + mount -o ro /dev/live /mnt/live +fi + +# read some variables out of /proc/cmdline +for o in \`cat /proc/cmdline\` ; do + case \$o in + ks=*) + ks="\${o#ks=}" + ;; + xdriver=*) + xdriver="--set-driver=\${o#xdriver=}" + ;; + esac +done + + +# if liveinst or textinst is given, start anaconda +if strstr "\`cat /proc/cmdline\`" liveinst ; then + /usr/sbin/liveinst \$ks +fi +if strstr "\`cat /proc/cmdline\`" textinst ; then + /usr/sbin/liveinst --text \$ks +fi + +# enable swaps unless requested otherwise +swaps=\`blkid -t TYPE=swap -o device\` +if ! strstr "\`cat /proc/cmdline\`" noswap -a [ -n "\$swaps" ] ; then + for s in \$swaps ; do + action "Enabling swap partition \$s" swapon \$s + done +fi + +# configure X, allowing user to override xdriver +exists system-config-display --noui --reconfig --set-depth=24 \$xdriver + +# add fedora user with no passwd +useradd -c "Fedora Live" fedora +passwd -d fedora > /dev/null + +# turn off firstboot for livecd boots +echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot + +# don't start yum-updatesd for livecd boots +chkconfig --level 345 yum-updatesd off 2>/dev/null + +# don't start cron/at as they tend to spawn things which are +# disk intensive that are painful on a live image +chkconfig --level 345 crond off 2>/dev/null +chkconfig --level 345 atd off 2>/dev/null +chkconfig --level 345 anacron off 2>/dev/null +chkconfig --level 345 readahead_early off 2>/dev/null +chkconfig --level 345 readahead_later off 2>/dev/null + +# Stopgap fix for RH #217966; should be fixed in HAL instead +touch /media/.hal-mtab + +# workaround clock syncing on shutdown that we don't want (#297421) +sed -i -e 's/hwclock/no-such-hwclock/g' /etc/rc.d/init.d/halt +EOF + +# workaround avahi segfault (#279301) +touch /etc/resolv.conf +/sbin/restorecon /etc/resolv.conf + +chmod 755 /etc/rc.d/init.d/fedora-live +/sbin/restorecon /etc/rc.d/init.d/fedora-live +/sbin/chkconfig --add fedora-live + +# save a little bit of space at least... +rm -f /boot/initrd* +# make sure there aren't core files lying around +rm -f /core* + +%end + + +%post --nochroot +cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL +cp $INSTALL_ROOT/usr/share/doc/HTML/readme-live-image/en_US/readme-live-image-en_US.txt $LIVE_ROOT/README + +# only works on x86, x86_64 +if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then + cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS +fi +%end diff --git a/config/livecd-fedora-8-desktop.ks b/config/livecd-fedora-8-desktop.ks new file mode 100644 index 0000000..2dad982 --- /dev/null +++ b/config/livecd-fedora-8-desktop.ks @@ -0,0 +1,145 @@ +%include livecd-fedora-8-base-desktop.ks + +%packages + at games + at graphical-internet + at graphics + at sound-and-video + at gnome-desktop +nss-mdns +NetworkManager-vpnc +NetworkManager-openvpn +# we don't include @office so that we don't get OOo. but some nice bits +abiword +gnumeric +evince +gnome-blog +#planner +#inkscape + + at afrikaans-support + at albanian-support + at arabic-support + at armenian-support + at assamese-support + at basque-support + at belarusian-support + at bengali-support + at bhutanese-support + at bosnian-support + at brazilian-support + at breton-support + at british-support + at bulgarian-support + at catalan-support + at chinese-support + at croatian-support + at czech-support + at danish-support + at dutch-support + at estonian-support + at ethiopic-support + at faeroese-support + at filipino-support + at finnish-support + at french-support + at gaelic-support + at galician-support + at georgian-support + at german-support + at greek-support + at gujarati-support + at hebrew-support + at hindi-support + at hungarian-support + at icelandic-support + at indonesian-support + at inuktitut-support + at irish-support + at italian-support + at japanese-support + at kannada-support + at khmer-support + at korean-support + at lao-support + at latvian-support + at lithuanian-support + at malay-support + at malayalam-support + at maori-support + at marathi-support + at northern-sotho-support + at norwegian-support + at oriya-support + at persian-support + at polish-support + at portuguese-support + at punjabi-support + at romanian-support + at russian-support + at samoan-support + at serbian-support + at sinhala-support + at slovak-support + at slovenian-support + at somali-support + at southern-ndebele-support + at southern-sotho-support + at spanish-support + at swati-support + at swedish-support + at tagalog-support + at tamil-support + at telugu-support + at thai-support + at tibetan-support + at tonga-support + at tsonga-support + at tswana-support + at turkish-support + at ukrainian-support + at urdu-support + at venda-support + at vietnamese-support + at welsh-support + at xhosa-support + at zulu-support + +# dictionaries are big +-aspell-* +-man-pages-* +-scim-tables-* +-wqy-bitmap-fonts +-dejavu-fonts-experimental +-dejavu-fonts + +# more fun with space saving +-scim-lang-chinese +scim-chewing +scim-pinyin + +# save some space +-gnome-user-docs +-gimp-help +-evolution-help +-autofs +-nss_db +-vino + +%end + +%post +cat >> /etc/rc.d/init.d/fedora-live << EOF +# disable screensaver locking +gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null +# set up timed auto-login for after 60 seconds +sed -i -e 's/\[daemon\]/[daemon]\nTimedLoginEnable=true\nTimedLogin=fedora\nTimedLoginDelay=60/' /etc/gdm/custom.conf +if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then + cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face + chown fedora:fedora /home/fedora/.face + # TODO: would be nice to get e-d-s to pick this one up too... but how? +fi + +EOF + +%end diff --git a/config/livecd-fedora-8-developer.ks b/config/livecd-fedora-8-developer.ks new file mode 100644 index 0000000..208f701 --- /dev/null +++ b/config/livecd-fedora-8-developer.ks @@ -0,0 +1,115 @@ +%include livecd-fedora-8-desktop.ks + +part / --size 6000 + +%packages +# Libraries + at development-libs + at gnome-software-development + at java-development + +# SCM tools +bazaar +bzr +cogito +cvs2cl +cvsutils +git +mercurial +monotone +quilt + +# IDEs + at eclipse +anjuta +anjuta-docs +codeblocks + +# General developer tools + at authoring-and-publishing + at development-tools + at editors + at system-tools + at virtualization +ElectricFence +alleyoop +crash +dejagnu +dogtail +elfutils-devel +emacs +emacs-el +expect +frysk-gnome +gconf-editor +gettext-devel +gnuplot +hexedit +inkscape +intltool +lynx +maven2 +mutt +scons +sharutils +socat +sox +sysprof +tcp_wrappers-devel +tcsh +texi2html +xchat + +# RPM/Fedora-specific tools + at buildsys-build +createrepo +koji +livecd-tools +mock +rpmdevtools +rpmlint + +eclipse-demos + +# Should we? +#@sql-server +#@mysql +#@ruby +#@web-development +#@x-software-development +# I think this is going to be too big on x86_64 +#*-devel +%end + +%post +# Enable debuginfo repository (useful for frysk, gdb, etc.) +awk ' +BEGIN { + debuginfo = 0 +} + /^\[.*\]/ { + if (/debuginfo/) { + debuginfo = 1 + } else { + debuginfo = 0 + } + print + next +} + /enabled=0/ && debuginfo { + print "enabled=1" + next +} +{ + print + next +}' < /etc/yum.repos.d/fedora.repo > /etc/yum.repos.d/fedora.repo.tmp +mv /etc/yum.repos.d/fedora.repo{.tmp,} + +cat >> /etc/rc.d/init.d/fedora-live << EOF +# Put link to demonstration videos on the desktop +pushd /home/fedora/Desktop +ln -s /usr/share/eclipse-demos-0.0.1 "Eclipse demonstration videos" +popd +EOF +%end diff --git a/config/livecd-fedora-8-electronic-lab.ks b/config/livecd-fedora-8-electronic-lab.ks new file mode 100644 index 0000000..52fa3e0 --- /dev/null +++ b/config/livecd-fedora-8-electronic-lab.ks @@ -0,0 +1,238 @@ +# Description : Live image for Fedora Electronic Lab +# last updated: 10 October 2007 + +%include livecd-fedora-8-base-desktop.ks + +%packages +# KDE basic packages +kdebase +kde-filesystem +kdelibs +kdenetwork +kdegraphics +kdeutils +knetworkmanager +kde-settings +kmenu-gnome +kdesvn +yakuake +# include default fedora wallpaper +desktop-backgrounds-basic +wget + +# some projects based on ghdl and gtkwave needs +zlib-devel + +#project management +vym +koffice-kspread +koffice-kword +koffice-kplato +koffice-filters + +# some other extra packages +ntfsprogs +ntfs-3g +synaptics +setroubleshoot +smolt +smolt-firstboot +syslinux +gnupg +hal-cups-utils + +# we don't want these +-dos2unix +-firefox +-authconfig-gtk +-PolicyKit-gnome +-gnome-doc-utils-stylesheets + +# ignore comps.xml and make sure these packages are included +kpowersave +rhgb + + +#vlsi +alliance-doc +irsim +gds2pov +magic-doc +toped +xcircuit +qucs +netgen + +#Hardware Description Languages +gtkwave +iverilog +drawtiming +ghdl +freehdl + +#spice +ngspice +gnucap +#gspiceui +#gwave + +#PCB and schematics +geda-gschem +geda-examples +geda-gsymcheck +geda-gattrib +geda-utils +geda-docs +geda-gnetlist +gerbv +gresistor +kicad +pcb + +#Micro Programming +piklab +ktechlab +pikloops +sdcc + +# Serial Port Terminals +gtkterm +picocom +minicom + +#embedded +arm-gp2x-linux* +avr-* +avrdude +dfu-programmer +avarice +uisp + +#computing +octave +octave-forge + +%end + +%post + +###### Fedora Electronic Lab #################################################### + +# Fedora Electronic Lab: Kwin buttons +cat > /usr/share/kde-settings/kde-profile/default/share/config/kwinrc < /usr/share/kde-settings/kde-profile/default/share/config/klipperrc < /usr/share/kde-settings/kde-profile/default/share/config/clock_panelappletrc < /usr/share/kde-settings/kde-profile/default/share/config/kxkbrc < /etc/sysconfig/desktop <> /etc/rc.d/init.d/fedora-live << EOF + +if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then + # use image also for kdm + mkdir -p /usr/share/apps/kdm/faces + cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon +fi + +# make fedora user use KDE +echo "startkde" > /home/fedora/.xsession +chmod a+x /home/fedora/.xsession +chown fedora:fedora /home/fedora/.xsession + +# set up autologin for user fedora +sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc +sed -i 's/#AutoLoginUser=fred/AutoLoginUser=fedora/' /etc/kde/kdm/kdmrc + +# set up user fedora as default user and preselected user +sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc +sed -i 's/#DefaultUser=johndoe/DefaultUser=fedora/' /etc/kde/kdm/kdmrc + +# disable screensaver +sed -i 's/Enabled=true/Enabled=false/' /usr/share/kde-settings/kde-profile/default/share/config/kdesktoprc + +# workaround to put liveinst on desktop and in menu +sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop +EOF + +# and set up gnome-keyring to startup/shutdown in kde +mkdir -p /etc/skel/.kde/env /etc/skel/.kde/shutdown +cat > /etc/skel/.kde/env/start-custom.sh << EOF +#!/bin/sh +eval \`gnome-keyring-daemon\` +export GNOME_KEYRING_PID +export GNOME_KEYRING_SOCKET +EOF +chmod 755 /etc/skel/.kde/env/start-custom.sh + +cat > /etc/skel/.kde/shutdown/stop-custom.sh << EOF +#/bin/sh +if [-n "$GNOME_KEYRING_PID"];then +kill $GNOME_KEYRING_PID +fi +EOF +chmod 755 /etc/skel/.kde/shutdown/stop-custom.sh + +###### Fedora Electronic Lab #################################################### + +# FEL doesn't need these and boots slowly +/sbin/chkconfig --del anacron +/sbin/chkconfig --del sendmail +/sbin/chkconfig --del nfs +/sbin/chkconfig --del nfslock +/sbin/chkconfig --del rpcidmapd +/sbin/chkconfig --del rpcbind + +%end + diff --git a/config/livecd-fedora-8-games.ks b/config/livecd-fedora-8-games.ks new file mode 100644 index 0000000..014ce65 --- /dev/null +++ b/config/livecd-fedora-8-games.ks @@ -0,0 +1,155 @@ +%include /usr/share/livecd-tools/livecd-fedora-8-desktop.ks +part / --size 8000 + +# customize repo configuration for local builds +# repo --name=development --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch + + +%packages + +# games + +# traditional (big) + +bzflag +openarena +#croquet (pending) +#vdrift +nethack-vultures +freedoom +beneath-a-steel-sky-cd +flight-of-the-amazon-queen-cd +supertuxkart +scorched3d +neverball +lincity-ng +freeciv +pinball +asc +asc-music +vegastrike +FlightGear +nexuiz +torcs +tremulous +frozen-bubble +xpilot-ng +crossfire-client +wormux +wesnoth +gl-117 +supertux +manaworld +freedroidrpg +maniadrive +maniadrive-music +abuse +worminator +armacycles-ad +blobAndConquer +boswars +warzone2100 +widelands +freecol +astromenace +egoboo + +# traditional (small) + +nethack +openlierox +clanbomber +liquidwar +rogue +ularn +bsd-games +gnubg +gnugo +quarry +bombardier +ballz +blobwars +hedgewars +machineball +Ri-li +stormbaancoureur +quake3 +vavoom +rott-shareware +londonlaw +nazghul-haxima +scorchwentbonkers +seahorse-adventures + +# arcade classics(ish) (big) + +raidem +raidem-music +duel3 +lmarbles +trackballs +trackballs-music +auriferous + +# arcade classics(ish) (small) + +lacewing +njam +#(xgalaga renamed) +xgalaxy +ballbuster +tecnoballz +dd2 +KoboDeluxe +Maelstrom +methane +zasx +shippy +seahorse-adventures + +# falling blocks games (small) + +fbg +gemdropx +crystal-stacker +crack-attack + +# puzzles (big) +enigma +fillets-ng +pingus + +# puzzles (small) + +magicor +mirrormagic +rocksndiamonds +escape + +# card games + +poker2d + +# educational/simulation + +celestia +stellarium +tuxpaint +tuxpaint-stamps +tuxtype2 +gcompris +childsplay +bygfoot + +# kde based games +ksirk +taxipilot +poker2d-kde + +# utilities + +dosbox +games-menus +wget + +%end diff --git a/config/livecd-fedora-8-kde.ks b/config/livecd-fedora-8-kde.ks new file mode 100644 index 0000000..d58d735 --- /dev/null +++ b/config/livecd-fedora-8-kde.ks @@ -0,0 +1,98 @@ +%include livecd-fedora-8-base-desktop.ks + +%packages + at kde-desktop +kdegames +k3b +koffice-kword +koffice-kspread +koffice-kpresenter +koffice-filters +twinkle +filelight +krusader + + +# if it is enough space include koffice-krita (~40 megs) +koffice-krita + +# some other extra packages +gnupg +synaptics +hal-cups-utils +nss-mdns + +# ignore comps.xml and make sure these packages are included +kpowersave +rhgb +man-pages +smolt-firstboot +knetworkmanager + +#some changes that we don't want... +-specspo +-scribus +-kdeaddons +-kdemultimedia-extras +-kdeartwork-extras +-kmymoney2 +-basket +-speedcrunch +-autofs + +# try to remove some packages from livecd-fedora-base-desktop.ks +-scim* +-gdm +-authconfig-gtk +-m17n* +-PolicyKit-gnome +-gnome-doc-utils-stylesheets +-anthy +-kasumi +-pygtkglext +-python-devel +-libchewing + +# workaround for the moment (requirements of hplip) +python-imaging +python-reportlab + +%end + +%post +# create /etc/sysconfig/desktop (needed for installation) +cat > /etc/sysconfig/desktop <> /etc/rc.d/init.d/fedora-live << EOF + +if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then + # use image also for kdm + mkdir -p /usr/share/apps/kdm/faces + cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon +fi + +# make fedora user use KDE +echo "startkde" > /home/fedora/.xsession +chmod a+x /home/fedora/.xsession +chown fedora:fedora /home/fedora/.xsession + +# set up autologin for user fedora +sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc +sed -i 's/#AutoLoginUser=fred/AutoLoginUser=fedora/' /etc/kde/kdm/kdmrc + +# set up user fedora as default user and preselected user +sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc +sed -i 's/#DefaultUser=johndoe/DefaultUser=fedora/' /etc/kde/kdm/kdmrc + +# disable screensaver +sed -i 's/Enabled=true/Enabled=false/' /usr/share/kde-settings/kde-profile/default/share/config/kdesktoprc + +# workaround to put liveinst on desktop and in menu +sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop +EOF + +%end commit f5b1211c6fbaf607f7678aec0d594917e042d3ff Author: Jeremy Katz Date: Mon Oct 29 13:36:04 2007 -0400 make sure we don't leave any core files lying around diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks index 37ee979..3512538 100644 --- a/config/livecd-fedora-base-desktop.ks +++ b/config/livecd-fedora-base-desktop.ks @@ -159,6 +159,8 @@ chmod 755 /etc/rc.d/init.d/fedora-live # save a little bit of space at least... rm -f /boot/initrd* +# make sure there aren't core files lying around +rm -f /core* %end commit 1c3f1d375a067a1d15e1c1335d407cdc3497fe64 Author: Jeremy Katz Date: Sun Oct 28 14:26:17 2007 -0400 remove yum-priorities so that behavior is consistent (#354691) diff --git a/config/livecd-fedora-developer.ks b/config/livecd-fedora-developer.ks index 9849283..02f984d 100644 --- a/config/livecd-fedora-developer.ks +++ b/config/livecd-fedora-developer.ks @@ -68,7 +68,6 @@ livecd-tools mock rpmdevtools rpmlint -yum-priorities eclipse-demos commit e7fd47cd8f9a614100a841070bb1938832561d24 Author: Jeremy Katz Date: Thu Oct 25 14:44:06 2007 -0400 fix the obvious thinko diff --git a/creator/livecd-creator b/creator/livecd-creator index 1160077..a89ef64 100755 --- a/creator/livecd-creator +++ b/creator/livecd-creator @@ -1581,7 +1581,7 @@ def main(): target.unmount() - if not skip_minimize: + if not options.skip_minimize: target.cleanupDeleted() target.genMinInstDelta() commit f74092ee0c79f064279e1b41066ef2ec3cf6b327 Author: Jeremy Katz Date: Tue Oct 23 23:27:12 2007 -0400 allow kicking off the install from the kernel command line, including kickstart. include livecd-iso-to-disk on the image diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks index 6c66597..37ee979 100644 --- a/config/livecd-fedora-base-desktop.ks +++ b/config/livecd-fedora-base-desktop.ks @@ -92,6 +92,27 @@ if [ -b /dev/live ]; then mount -o ro /dev/live /mnt/live fi +# read some variables out of /proc/cmdline +for o in \`cat /proc/cmdline\` ; do + case \$o in + ks=*) + ks="\${o#ks=}" + ;; + xdriver=*) + xdriver="--set-driver=\${o#xdriver=}" + ;; + esac +done + + +# if liveinst or textinst is given, start anaconda +if strstr "\`cat /proc/cmdline\`" liveinst ; then + /usr/sbin/liveinst \$ks +fi +if strstr "\`cat /proc/cmdline\`" textinst ; then + /usr/sbin/liveinst --text \$ks +fi + # enable swaps unless requested otherwise swaps=\`blkid -t TYPE=swap -o device\` if ! strstr "\`cat /proc/cmdline\`" noswap -a [ -n "\$swaps" ] ; then @@ -101,14 +122,6 @@ if ! strstr "\`cat /proc/cmdline\`" noswap -a [ -n "\$swaps" ] ; then fi # configure X, allowing user to override xdriver -for o in \`cat /proc/cmdline\` ; do - case \$o in - xdriver=*) - xdriver="--set-driver=\${o#xdriver=}" - ;; - esac -done - exists system-config-display --noui --reconfig --set-depth=24 \$xdriver # add fedora user with no passwd @@ -153,4 +166,9 @@ rm -f /boot/initrd* %post --nochroot cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL cp $INSTALL_ROOT/usr/share/doc/HTML/readme-live-image/en_US/readme-live-image-en_US.txt $LIVE_ROOT/README + +# only works on x86, x86_64 +if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then + cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS +fi %end commit 75a70476fb85282553ef734e34d3c24e50d2aeb2 Author: Jeremy Katz Date: Tue Oct 23 22:48:26 2007 -0400 remove nss_db to save some space diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks index bbf6641..61d6d54 100644 --- a/config/livecd-fedora-desktop.ks +++ b/config/livecd-fedora-desktop.ks @@ -123,6 +123,7 @@ scim-pinyin -gimp-help -evolution-help -autofs +-nss_db -vino %end