IRC log for #fredlug on 20080514

00:56.55sticksterjsmith: Sorry I ran away earlier
00:56.57jsmithstickster: Another silly question, when you've got a second
00:57.06*** part/#fredlug jsmith (n=jsmith@72.21.36.138)
00:57.09*** join/#fredlug jsmith (n=jsmith@72.21.36.138)
00:57.13jsmithUgh...
00:57.15sticksterheh
00:57.17jsmithcurses his trackpad
00:57.32sticksterSo... I'm puzzled still by your first problem.
00:57.39jsmithI had to run to Scouts and teach a bunch of wild kids how to do first aid
00:57.50jsmithMe too... but for now I'll just mount the ISO locally instead
00:58.17*** part/#fredlug jsmith (n=jsmith@72.21.36.138)
00:58.24*** join/#fredlug jsmith (n=jsmith@72.21.36.138)
00:58.26jsmithUgh, again
00:58.29stickstero noez! gremlinz iz in ur box
00:58.41jsmithNo, it's something I'm hitting on this trackpad
00:58.51jsmithMy palms hit and somehow close the window
00:59.06sticksterBummer
00:59.06jsmithAnyhoo.. I've run into a more perplexing problem
00:59.26jsmithI'm up against the "SELinux wants the disk images in /var/lib/xen/images" problem
00:59.51jsmithI've got the disk image there, and I've run restorecon -R -V /var/lib/xen just to make sure everything is labeled correctly
01:00.00jsmithBut SELinux is still denying access
01:00.58sticksterjsmith: Can you pastebin the last dozen lines or so in the audit.log after hitting the images?
01:01.08jsmithAbsolutely!
01:02.26jsmithhttp://selinux.pastebin.com/d2fd6b8e1
01:04.33jsmithfeels as if the fates are out to get him today
01:11.35sticksterIt's funny that there's a whole separate subdomain for selinux on pastebin.com.
01:13.40sticksterjsmith: What if you move that image to /var/lib/libvirt/images?
01:14.08jsmithTrying that now...
01:14.10stickster(which should relabel it with type virt_image_t
01:14.13stickster)
01:16.35jsmithWell, I had to restorecon it again
01:16.38jsmithBut that appears to have worked
01:16.43jsmithI guess my docs were out of date
01:16.50jsmithUgh... now it can't read my ISO
01:17.16stickster?
01:17.31sticksterOh yeah.
01:17.35jsmithhost=localhost.localdomain type=AVC msg=audit(1210727702.399:75): avc: denied { read } for pid=4082 comm="qemu-kvm" name="Bootcamp.img" dev=dm-0 ino=206435 scontext=system_u:system_r:qemu_t:s0 tcontext=system_u:object_r:xen_image_t:s0 tclass=file host=localhost.localdomain type=SYSCALL msg=audit(1210727702.399:75): arch=40000003 syscall=5 success=no exit=-13 a0=bfd7f7e0 a1=8000 a2=0 a3=8000 items=0 ppid=2362 pid=4082 auid=4294967295 uid=0 gid=0 euid=0 suid
01:17.36jsmith=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="qemu-kvm" exe="/usr/bin/qemu-kvm" subj=system_u:system_r:qemu_t:s0 key=(null)
01:18.05sticksterAh. May not have relabeled it.  If you do 'ls -Z bootcamp.img' do you see xen_image_t still?
01:18.07jsmithOops, that was the old one
01:18.10sticksterah
01:18.12jsmithhost=localhost.localdomain type=AVC msg=audit(1210727830.494:82): avc: denied { getattr } for pid=4130 comm="qemu-kvm" path="/home/jsmith/Download/CentOS-5.1-i386-bin-DVD.iso" dev=dm-1 ino=272895 scontext=system_u:system_r:qemu_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file host=localhost.localdomain type=SYSCALL msg=audit(1210727830.494:82): arch=40000003 syscall=195 success=no exit=-13 a0=bff4b9b0 a1=bff49000 a2=9dfff4 a3=a369138 items=0
01:18.13jsmithppid=2362 pid=4130 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="qemu-kvm" exe="/usr/bin/qemu-kvm" subj=system_u:system_r:qemu_t:s0 key=(null)
01:18.16sticksteryup
01:18.31sticksterYou know, I'm sure there's a way to bind mounts or something that would work
01:18.43sticksterI didn't work hard enough at figuring it out.
01:18.53sticksterSo I just moved the image to /var/lib/libvirt/images alongside the HDD image.
01:19.01jsmithI'm not mounting that ISO... I'm just pointing virt-manager at it
01:19.06sticksters/moved the image/moved the ISO image/
01:19.11jsmithAh...
01:19.24jsmithAt this rate, I'll never get anything installed tonight :-(
01:19.35sticksterI *know* there's a way to solve that easier. I just haven't figured it out yet.
01:19.57sticksterWell, one way would be to create yourself a special policy module for ISOs in your home directory
01:20.07sticksterbasically allowing qemu-kvm to read stuff in the user_home_t type.
01:20.11jsmithUgh... like I'm smart enough to do that
01:20.16sticksterLet me see, where are the commands for that...
01:20.21jsmithShoot... I can't restorecon myself out of a wet paper bag
01:20.23sticksterIt's in the SELinux doc stuff
01:20.26sticksterNah, it's actually easy
01:20.34jsmithI'll just move the ISO
01:20.35sticksterWhat's silly is there are like five commands you have to run, like a recipe
01:20.45sticksterI wonder why there isn't a helper for it.
01:20.45jsmithIf it's something you don't know off the top of your head, it ain't worth me knowing how
01:20.59sticksterProbably they don't have a helper because this is, you know, *security* :-D
01:21.10sticksterNo! If it's easy you're Doing It Wrong
01:21.25stickster(the security guy's mantra)
01:30.30jsmithAnd, with that, we're off to the races.
01:30.50jsmithThanks for pulling me through... I was sorely tempted to just say "setenforce 0" and follow the path of least resistance
01:36.44sticksterjsmith: awesome
01:36.50sticksterI had to face this too.
01:36.58jsmithUgh... more problems ;-(
01:37.01*** join/#fredlug nmcbride (n=nmcbride@c-76-27-172-185.hsd1.va.comcast.net)
01:37.18sticksterjsmith: do tel
01:37.21jsmithSo I still had a network URL in my kickstart script
01:37.33jsmithAnd so anaconda barfed, and I had to restart the VM
01:37.48jsmithIs there an easy way to tell it "Hey, restart in install off the local media"?
01:37.55jsmiths/in install/an install/
01:37.59nmcbridestickster: if u ever get a free moment I could really use ur help troubleshooting my stupid network problem.  It's getting really frustrating.
01:38.10jsmithOr should I just go all the way through virt-manager again?
01:38.46sticksterjsmith: Hm, I'm not sure.  I thought if it can't find the install source it would drop back to a dialog asking you for one.
01:39.00jsmithOnly if it can't find the kickstart script
01:39.07sticksterOh right.
01:39.14sticksterYeah, restarting's probably the quickest cure.
01:39.14jsmithBut if it finds the kickstart script, gets the url, and the files aren't there...
01:39.17sticksternmcbride: what's up?
01:39.38nmcbridestickster: even on F9, wep / wpa keeps disconnecting after a few mintues...
01:39.54sticksternmcbride: Hm.
01:40.07sticksterI don't know what to tell you
01:40.12sticksterI'm using F9 here with iwl3945
01:40.35sticksterI've used WEP and WPA and they work for me.
01:40.51sticksternmcbride: What's the NIC?
01:41.00nmcbrideintel ipw2200 abg
01:43.42sticksterhrm
02:24.29nmcbridestickster: what can I do to watch it?  If I can find out what it's doing i can fix it.
02:25.04sticksterHmm, you could reinsert the module with debug=1
02:25.10stickster(or more)
02:25.20sticksterIt might be debug=255
02:25.22sticksterno idea.
02:25.25nmcbrideso like
02:25.40nmcbridemodprobe ipw2200 --debug=255?
02:25.42stickstersudo /sbin/modprobe -r ipw2200 ; sudo /sbin/modprobe ipw2200 debug=255
02:25.48sticksterno dashes, it's not a command line
02:25.49nmcbrideah
02:25.53sticksterer, CLI switch
02:26.07sticksterYou can find available flags like that with /sbin/modinfo <module_name>
02:26.14nmcbrideoh cool
02:26.24sticksteris beat, hitting the hay.
02:26.35sticksterUp till 1:30am one weeknight a week is my limit.
02:26.40nmcbridewow...
02:26.43nmcbridelog of wifi crap in dmesg
02:26.58nmcbridejust a short bit
02:26.59nmcbridewlan0: authenticate with AP 00:11:95:4b:53:9f
02:26.59nmcbridewlan0: RX authentication from 00:11:95:4b:53:9f (alg=0 transaction=2 status=0)
02:26.59nmcbridewlan0: authenticated
02:26.59nmcbridewlan0: associate with AP 00:11:95:4b:53:9f
02:26.59nmcbridewlan0: RX ReassocResp from 00:11:95:4b:53:9f (capab=0x431 status=0 aid=2)
02:27.00nmcbridewlan0: associated
02:27.02nmcbridewlan0: switched to short barker preamble (BSSID=00:11:95:4b:53:9f)
02:27.04nmcbridewlan0: disassociate(reason=3)
02:27.15nmcbrideoh >< ok
02:46.34*** join/#fredlug nmcbride (n=nmcbride@c-76-27-172-185.hsd1.va.comcast.net)
02:46.57*** part/#fredlug nmcbride (n=nmcbride@c-76-27-172-185.hsd1.va.comcast.net)
12:45.33*** join/#fredlug plarsen (n=plarsen@ip65-46-125-186.z125-46-65.customer.algx.net)
14:18.32*** join/#fredlug bit2man (n=plarsen@ip65-46-125-186.z125-46-65.customer.algx.net)
17:30.57*** join/#fredlug nombyte (n=nmcbride@ip65-46-125-186.z125-46-65.customer.algx.net)
20:10.17nombytestickster: sigh
20:10.27nombyte:D

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.