[Fedora-livecd-list] selinux alerts and livecd doesn't boot

Douglas McClendon dmc.fedora at filteredperception.org
Tue Oct 2 09:19:01 UTC 2007


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 <module>
    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
>   




More information about the Fedora-livecd-list mailing list