OK, we seem to have a serious problem. Even the vanilla Fedora Live
CD
won't build.
The root cause is that several RPMs are failing because they can't write
to /etc/group (which is installed in the "setup" RPM, which appears to
install correctly). I get several complaints like this:
Installing: cryptsetup-python ###################
[ 637/1200]groupadd: failure while writing changes to /etc/group
So initscripts is not the root of the problem, but it is where the
symptom shows up: it won't install for the same reason, and so inittab
is missing, and so kickstart.py gives up.
I am totally lost on why nothing would be able to write changes
to /etc/group. And I know it's not something I'm doing wrong, because it
happens even when building the vanilla Live CD.
Help!
James
On Wed, 2012-11-14 at 10:20 +0000, James Heather wrote:
> Well, the file does still exist on a Fedora system, but it consists
> entirely of comments. It's no longer in active use. But the file of
> comments gets installed by initscripts.
>
> But kickstart.py is still trying to open inittab, and it can't, because
> initscripts failed to install. If it does open it, it'll just open a
> file of comments, but livecd-creator is giving up because it can't open
> inittab.
>
> This line is causing the trouble. How this is happening, I've no idea.
> I'll investigate.
>
> error: %pre(initscripts-9.37.1-1.fc17.x86_64) scriptlet failed,
> exit status 10
>
> James
>
> On Tue, 2012-11-13 at 21:39 +0000, David Both wrote:
> > The inittab file no longer exists, having been replaced, along with most
> > initscripts, by systemd (systemctl command). Any problems you are having are
not
> > due to missing inittab or initscripts.
> >
> >
> > On 11/13/2012 02:10 PM, James Heather wrote:
> > > Anyone else getting this kind of thing?
> > >
> > > It looks to be because initscripts didn't get installed. I have no
idea
> > > why that would be happening. (I can send the kickstart file round if
> > > it's not a general problem, but I'm also installing a few custom
RPMs so
> > > it wouldn't be easy to provide a complete way of reproducing my
build.)
> > >
> > > James
> > >
> > > --------------------
> > >
> > > Installing: probe ###################
> > > [2445/2444]
> > > akmods-0.4.0-4.fc17.noarch was supposed to be installed but is not!
> > > wireshark-1.6.10-1.fc17.x86_64 was supposed to be installed but is not!
> > > cyrus-sasl-2.1.23-31.fc17.x86_64 was supposed to be installed but is
> > > not!
> > > rpcbind-0.2.0-19.fc17.x86_64 was supposed to be installed but is not!
> > > openvpn-2.2.2-7.fc17.x86_64 was supposed to be installed but is not!
> > > initscripts-9.37.1-1.fc17.x86_64 was supposed to be installed but is
> > > not!
> > >
> > > option --service: invalid service 'sshd'.
> > > Note: Forwarding request to 'systemctl enable sshd.service'.
> > > error reading information on service network: No such file or directory
> > > Note: Forwarding request to 'systemctl disable sshd.service'.
> > > rm '/etc/systemd/system/multi-user.target.wants/sshd.service'
> > > Unmounting directory /var/tmp/imgcreate-LxYJ5U/install_root
> > > Losetup remove /dev/loop0
> > > Traceback (most recent call last):
> > > File "/usr/bin/livecd-creator", line 221, in <module>
> > > sys.exit(main())
> > > File "/usr/bin/livecd-creator", line 205, in main
> > > creator.configure()
> > > File "/usr/lib/python2.7/site-packages/imgcreate/creator.py",
line
> > > 728, in configure
> > > kickstart.XConfig(self._instroot).apply(ksh.xconfig)
> > > File
"/usr/lib/python2.7/site-packages/imgcreate/kickstart.py", line
> > > 244, in apply
> > > f = open(self.path("/etc/inittab"), "rw+")
> > > IOError: [Errno 2] No such file or directory:
> > > '/var/tmp/imgcreate-LxYJ5U/install_root/etc/inittab'
> > > [root@barry ~]#
> > >
> > >
> > > --
> > > livecd mailing list
> > > livecd(a)lists.fedoraproject.org
> > >
https://admin.fedoraproject.org/mailman/listinfo/livecd
> >
You need to disable SELinux when buildung LiveCDs. Then everything is
fine. I think this is even written somewhere in the docs...
--
--joshua