From Fedora Project Wiki

(added irc logs)
m (internal link cleaning)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
=== Fedora Classroom - Introduction to Bugzilla - Jon Stanley - Saturday, November 7, 2008 ===
=== Fedora Classroom - Introduction to Bugzilla - Jon Stanley - Saturday, November 8, 2008 ===


==== IRC Log of the Class ====
==== IRC Log of the Class ====


  21:00 -!- nirik changed the topic of #fedora-classroom to: Fedora Classroom - An Introduction to Bugzilla with your teacher: jds2001 -  
{|
  See https://fedoraproject.org/wiki/Communicate/IRC/Classroom for more info
|- id="t21:00"
  21:00 < domg472_> bye and thanks
| colspan="2" | -!- nirik changed the topic of #fedora-classroom to: Fedora Classroom - An Introduction to Bugzilla with your teacher: jds2001 - See [[Communicate/IRC/Classroom]] for more info
  21:00 < linuxguru> thanks herlo
|| [[#t21:00|21:00]]
  21:00 < jds2001> hey guys :)
|- id="t21:00"
  21:00 < linuxguru> hi jds2001 ;)
! style="background-color: #407a40" |  domg472_
  21:00 < fengshaun> jds2001, hiii
| style="color: #407a40" | bye and thanks
  21:01 < Ineluctable> hello
|| [[#t21:00|21:00]]
  21:01 < jds2001> so I don't have any slides or anything fancy like that.
|- id="t21:00"
  21:01 < fengshaun> I need this classroom actually!
! style="background-color: #42427e" |  linuxguru
  21:01 < fengshaun> jds2001, don't worry!
| style="color: #42427e" | thanks herlo
  21:01 < jds2001> I figured I'd let this be the format that I like, real loose. :)
|| [[#t21:00|21:00]]
  21:01 < SSlater> thanks herlo
|- id="t21:00"
  21:02 < jds2001> so what do people want to know? There's so much, I just couldn't distill it all into an hour on IRC if I wanted to.
! style="background-color: #818144" |  jds2001
  21:02 < jds2001> When I'm giving bugzilla presentations *in person* it's hard to keep it to an hour :)
| style="color: #818144" | hey guys :)
  21:02 < fengshaun> jds2001, how can we find known bugs?
|| [[#t21:00|21:00]]
  21:02 < Ineluctable> yes
|- id="t21:00"
  21:02 < jds2001> excellent question.
! style="background-color: #42427e" | linuxguru
  21:03 < jds2001> the bugzilla search form looks really intimidating, but it's not.
| style="color: #42427e" | hi jds2001 ;)
  21:03 < jds2001> 99% of it can be ignored.
|| [[#t21:00|21:00]]
  21:03 < jds2001> so the first thing is components in bugzilla.
|- id="t21:00"
  21:03 < jds2001> there is a component for each SOURCE RPM in the distribution.
! style="background-color: #854685" |  fengshaun
  21:03 < VileGent> jon wake us through looking for existing bugs and maybe even how to file bugs
| style="color: #854685" | jds2001, hiii
  21:03 < fengshaun> sorry, can you give us the link to bugzilla so we have it hands on?
|| [[#t21:00|21:00]]
  21:04 < ivazquez> I have the next question.
|- id="t21:01"
  21:04 * VileGent points AlL to https://bugzilla.redhat.com/bugzilla
! style="background-color: #488888" |  Ineluctable
  21:04 < jds2001> Source RPM's can have subpackages that seemingly have nothing to do with the package at hand
| style="color: #488888" | hello
  21:04 < jds2001> thx VileGent :)
|| [[#t21:01|21:01]]
  21:05 < jds2001> so to find what SRPM maps to the binary RPM you have, you can use rpm -qi <rpm name>
|- id="t21:01"
  21:05 < jds2001> in the right column, there's a field that says "Soruce RPM"
! style="background-color: #818144" |  jds2001
  21:05 < jds2001> the name of that is the component that you want to look for.
| style="color: #818144" | so I don't have any slides or anything fancy like that.
  21:06 < jds2001> err, minor network issues :P
|| [[#t21:01|21:01]]
  21:07 < jds2001> so when you've found the name of the component, select it in the component list, and select
|- id="t21:01"
  Fedora in the product list.
! style="background-color: #854685" |  fengshaun
  21:07 <@nirik> so for example, 'rpm -qi firefox' will have 'Source RPM: firefox-3.0.2-1.fc10.src.rpm' in the output
| style="color: #854685" | I need this classroom actually!
  21:07 < fengshaun> nirik, yes
|| [[#t21:01|21:01]]
  21:08 < jds2001> There's no need to select anything from the classification, that just narrows down the selection and is an  
|- id="t21:01"
  expensive client-side javascript nonsense.
! style="background-color: #854685" | fengshaun
  21:09 < jds2001> sometimes i don't even select Fedora as the product, but beware that you'll get Fedora and RHEL bugs for
| style="color: #854685" | jds2001, don't worry!
  the component (if applicable)
|| [[#t21:01|21:01]]
  21:09 < jds2001> then the top box on the search page searches the summary of a bug for something
|- id="t21:01"
  21:10 < jds2001> any questions so far?
! style="background-color: #818144" |  jds2001
  21:10 < fengshaun> nope
| style="color: #818144" | I figured I'd let this be the format that I like, real loose. :)
  21:10  * vwbusguy- joins late
|| [[#t21:01|21:01]]
  21:10 < jds2001> ivazquez: you had a question?
|- id="t21:01"
  21:10 < Abd4llA> What's the convention for submitting a bug report ?
! style="background-color: #8c4a4a" |  SSlater
  21:11 < ivazquez> I do, actually.
| style="color: #8c4a4a" | thanks herlo
  21:11 < jds2001> Abd4llA: we're actually going to submit one :)
|| [[#t21:01|21:01]]
  21:11 < fengshaun> jds2001, also, what should we put as the "component"?
|- id="t21:02"
  21:11 < jds2001> against the SELinux policy of all things :)
! style="background-color: #818144" |  jds2001
  21:11 < fengshaun> jds2001, lol
| style="color: #818144" | so what do people want to know?  There's so much, I just couldn't distill it all into an hour on IRC if I wanted to.
  21:11 < herlo> :)
|| [[#t21:02|21:02]]
  21:11  * jds2001 has been too lazy to submit this one, but it's perfect and clear-cut.
|- id="t21:02"
  21:11 < Abd4llA> jds2001 loll
! style="background-color: #818144" |  jds2001
  21:12 < erinlea80> :)
| style="color: #818144" | When I'm giving bugzilla presentations *in person* it's hard to keep it to an hour :)
  21:12 < ivazquez> Why should the average person care about Bugzilla? Filling out bug reports takes time and energy, and no
|| [[#t21:02|21:02]]
  one seems to look at the bug reports anyways.
|- id="t21:02"
  21:12 < fengshaun> ivazquez, they do look at them :S
! style="background-color: #854685" |  fengshaun
  21:12 < jds2001> ivazquez: we're trying to change the "no one looks at them" (and they do), and it helps to make Fedora better.
| style="color: #854685" | jds2001, how can we find known bugs?
  21:12 < fengshaun> ivazquez, and it's a way of care for the community!
|| [[#t21:02|21:02]]
  21:13 < jds2001> I've had a few bugs that haven't gotten looked at.
|- id="t21:02"
  21:13 < erinlea80> In summary, this is something an average user can do to help the community without expansive knowlege?
! style="background-color: #488888" |  Ineluctable
  21:13 < jds2001> And I've have bugs which were open and closed in 30 minutes
| style="color: #488888" | yes
  21:13 < jds2001> erinlea80: yes
|| [[#t21:02|21:02]]
  21:14 < fengshaun> jds2001, so, which one of the fields are the most important ones?
|- id="t21:02"
  21:14 < fengshaun> in the advanced search?
! style="background-color: #818144" |  jds2001
  21:14 < jds2001> the product, component, and summary (and maybe the comment search)
| style="color: #818144" | excellent question.
  21:15 < fengshaun> jds2001, so we put the name of the application for component?
|| [[#t21:02|21:02]]
  21:15 < jds2001> yes, the name of the SRPM (which is most often the name of the application)
|- id="t21:03"
  21:16 < fengshaun> so for example, vim-X11, the component name would be vim only!
! style="background-color: #818144" |  jds2001
  21:16 < brunowolff> For a lot of components there aren't that many bugs and just using that is good enough.
| style="color: #818144" | the bugzilla search form looks really intimidating, but it's not.
  21:16 < fengshaun> that's what the source rpm gives me
|| [[#t21:03|21:03]]
  21:16 < jds2001> fengshaun: right! :)
|- id="t21:03"
  21:16 < fengshaun> got it!
! style="background-color: #818144" |  jds2001
  21:17 < jds2001> there's also another interface that I use
| style="color: #818144" | 99% of it can be ignored.
  21:17 < jds2001> bugz.fedoraproject.org/<component>
|| [[#t21:03|21:03]]
  21:17 < fengshaun> oh
|- id="t21:03"
  21:17 < jds2001> will give you a listing of all bugs open against that component.
! style="background-color: #818144" |  jds2001
  21:17 < thomasj> interesting..
| style="color: #818144" | so the first thing is components in bugzilla.
  21:17 < fengshaun> wow, nice!
|| [[#t21:03|21:03]]
  21:17 < kdn> neat!
|- id="t21:03"
  21:18 < jds2001> for the technically interested that's just pkgdb pulling them via xmlrpc from bugzilla :)
! style="background-color: #818144" |  jds2001
  21:18 < EvilBob> ok now it's cool
| style="color: #818144" | there is a component for each SOURCE RPM in the distribution.
  21:19 < thomasj> :D
|| [[#t21:03|21:03]]
  21:19 < jds2001> there's also a link to directly enter a bug against that component from that page :)
|- id="t21:03"
  21:20 < fengshaun> "report"?
! style="background-color: #4b904b" |  VileGent
  21:20 < jds2001> yeah
| style="color: #4b904b" | jon wake us through looking for existing bugs and maybe even how to file bugs
  21:20 < thomasj> now it's really cool
|| [[#t21:03|21:03]]
  21:21 < fengshaun> jds2001, so how do we file a bug with the least amount of time consumed?
|- id="t21:03"
  21:21 < jds2001> abadger1999: you're getting mega-props in here :)
! style="background-color: #854685" |  fengshaun
  21:21 < Abd4llA> so, can't wait to open that SELinux bug :)
| style="color: #854685" | sorry, can you give us the link to bugzilla so we have it hands on?
  21:21 < abadger1999> heh :-)
|| [[#t21:03|21:03]]
  21:21 < fengshaun> hahaha
|- id="t21:04"
  21:21 < abadger1999> wwoods should get most of the props --pkgdb just makes use of python-bugzilla.
! style="background-color: #4d4d93" |  ivazquez
  21:22  * thomasj just tested it.. awesome
| style="color: #4d4d93" | I have the next question.
  21:22 < jds2001> fengshaun: i would use the pkgdb interface.
|| [[#t21:04|21:04]]
  21:22 < fengshaun> jds2001, how?
|- id="t21:04"
  21:23 < jds2001> fengshaun: that makes a number of selections for you.
| colspan="2" | * VileGent points AlL to https://bugzilla.redhat.com/bugzilla
  21:23 < jds2001> the "report" link on that bugz.fp.o page
|| [[#t21:04|21:04]]
  21:23 < fengshaun> oh
|- id="t21:04"
  21:23 < fengshaun> that is the pkgdb interface!
! style="background-color: #818144" |  jds2001
  21:23 < fengshaun> got it now!
| style="color: #818144" | Source RPM's can have subpackages that seemingly have nothing to do with the package at hand
  21:24 < fengshaun> so let's start opening some bugs :D
|| [[#t21:04|21:04]]
  21:24 < jds2001> alrigthy :)
|- id="t21:04"
  21:25 < jds2001> there's also another tool if you're more advanced....at the commandline, in the python-bugzilla that
! style="background-color: #818144" |  jds2001
  abadger1999 just mentioned, there's a CLI client
| style="color: #818144" | thx VileGent :)
  21:25 < fengshaun> jds2001, to find bugs?
|| [[#t21:04|21:04]]
  21:25 < fengshaun> how do we use that?
|- id="t21:05"
  21:25 < jds2001> I use it for searching sometimes
! style="background-color: #818144" |  jds2001
  21:25 < jds2001> yep
| style="color: #818144" | so to find what SRPM maps to the binary RPM you have, you can use rpm -qi &lt;rpm name&gt;
  21:26 < jds2001> yum install python-bugzilla
|| [[#t21:05|21:05]]
  21:26 < Abd4llA> herlo should watch this SELinux bug
|- id="t21:05"
  21:26 < herlo> Abd4llA: hehe, yeah
! style="background-color: #818144" |  jds2001
  21:26 < fengshaun> jds2001, already installed.
| style="color: #818144" | in the right column, there's a field that says "Soruce RPM"
  21:26  * ivazquez would like to point out to any GNOME users that Deskbar Applet in Fedora has a handler to open Fedora bugs
|| [[#t21:05|21:05]]
  given the bug number
|- id="t21:05"
  21:27 < jds2001> fengshaun: cool, there's a command called bugzilla
! style="background-color: #818144" |  jds2001
  21:27 < fengshaun> ok!
| style="color: #818144" | the name of that is the component that you want to look for.
  21:27 < zless> interesting. i'll have to check that cli search out. waiting ~30+ seconds for the javascript bz search to renarrow
|| [[#t21:05|21:05]]
  when you go Back, to search again, is... aggravating
|- id="t21:06"
  21:27 < fengshaun> yea
! style="background-color: #818144" |  jds2001
  21:27 < jds2001> and if you do like bugzilla query --help, it'll give you what you can query on
| style="color: #818144" | err, minor network issues :P
  21:27 < fengshaun> bugzilla command is much nicer
|| [[#t21:06|21:06]]
  21:29 < fengshaun> so
|- id="t21:07"
  21:29 < fengshaun> let's file something :)
! style="background-color: #818144" |  jds2001
  21:29 < jds2001> alrighty :)
| style="color: #818144" | so when you've found the name of the component, select it in the component list, and select
  21:30 < fengshaun> "Enter a new bug report"
|| [[#t21:07|21:07]]
  21:30 < jds2001> so I have this Sprint mobile broadband card that doesn't work with SELinux enabled.
|-
  21:30 < jds2001> if I turn SELinux off it works fine
| colspan="3" | Fedora in the product list.
  21:30 < fengshaun> LOL
|- id="t21:07"
  21:30 < fengshaun> ok
! style="background-color: #97974f" | @nirik
  21:31 < jds2001> and it's really cool, since NM automatically detects it, and then....FAIL
| style="color: #97974f" | so for example, 'rpm -qi firefox' will have 'Source RPM: firefox-3.0.2-1.fc10.src.rpm' in the output
  21:32 < domg472_> no need to turn it off , details? join #fedora-selinux
|| [[#t21:07|21:07]]
  21:32 < jds2001> so anyhow, we're going to file this against selinux-policy, not NetworkManager.  There's nothing that
|- id="t21:07"
  Dan Williams (NM maintainer) can do about this, it's in the policy
! style="background-color: #854685" |  fengshaun
  21:32 <@nirik> domg472_: very true, but if the default policy can be fixed, it will work for everyone.
| style="color: #854685" | nirik, yes
  21:33 < jds2001> the problem is that networkmanager can't execute pppd (which is required to establish the connection)
|| [[#t21:07|21:07]]
  21:33 < brunowolff> But if you aren't sure (that its policy not the app) then you can file against the app and cc dwalsh@redhat.com
|- id="t21:08"
  21:34 < jds2001> so what we need is the full AVC message.
! style="background-color: #818144" |  jds2001
  21:34 < jds2001> we can get that via ausearch -m svc -sv no
| style="color: #818144" | There's no need to select anything from the classification, that just narrows down the selection and is an
  21:34 < jds2001> err, -m avc
|| [[#t21:08|21:08]]
  21:35 < jds2001> there are lots of other search options with ausearch
|-
  21:35 < jds2001> including timeframes, etc.
| colspan="3" | expensive client-side javascript nonsense.
  21:36 < jds2001> so doing that, I get this:
|- id="t21:09"
  21:36 < jds2001> time->Sat Oct 18 17:23:54 2008
! style="background-color: #818144" |  jds2001
  21:36 < jds2001> type=SYSCALL msg=audit(1224365034.450:19): arch=c000003e syscall=59 success=no exit=-13 a0=1c5c200 a1=1c56730 a2=7fff61953660
| style="color: #818144" | sometimes i don't even select Fedora as the product, but beware that you'll get Fedora and RHEL bugs for
  a3=0 items=0 ppid=2346 pid=3701 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295
|| [[#t21:09|21:09]]
  comm="NetworkManager" exe="/usr/sbin/NetworkManager" subj=system_u:system_r:NetworkManager_t:s0 key=(null)
|-
  21:36 < jds2001> type=AVC msg=audit(1224365034.450:19): avc:  denied  { execute } for  pid=3701 comm="NetworkManager" name="pppd"  
| colspan="3" | the component (if applicable)
  dev=dm-1 ino=1763556 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:pppd_exec_t:s0 tclass=file
|- id="t21:09"
  21:36 < jds2001> so that's going to be critical information in hte bug report
! style="background-color: #818144" |  jds2001
  21:37 < jds2001> we can go further and actually include a policy module to fix it, by using audit2allow
| style="color: #818144" | then the top box on the search page searches the summary of a bug for something
  21:37 < Abd4llA> jds2001, herlo didn't mention anything about that :)
|| [[#t21:09|21:09]]
  21:38 < EvilBob> way to show up the other teachers jds2001
|- id="t21:10"
  21:38 < jds2001> lol
! style="background-color: #818144" |  jds2001
  21:38 < domg472_> so a quick fix could be: semanage permissive -a NetWorkManager_t
| style="color: #818144" | any questions so far?
  21:38 < domg472_> untill it gets fixed upstream
|| [[#t21:10|21:10]]
  21:39 < jds2001> so now I've done that, I can enter the bug report
|- id="t21:10"
  21:40 < jds2001> so now we wait for insane javascript (yes, I hate it to sometimes)
! style="background-color: #854685" |  fengshaun
  21:41 <@nirik> jds2001: for everyone, what link are you following here?
| style="color: #854685" | nope
  21:41 < jds2001> shttps://bugzilla.redhat.com/enter_bug.cgi?product=Fedora
|| [[#t21:10|21:10]]
  21:41 < Abd4llA> jds2001 maybe u should use chrome :)
|- id="t21:10"
  21:41 < brunowolff> How long is the cookie good for when using bugzilla from the command line?
| colspan="2" | * vwbusguy- joins late
  21:42 * nirik notes everyone can follow along and then cancel at the last minute before filing to see what things look like.
|| [[#t21:10|21:10]]
  21:42 < jds2001> then i just realized (that i never did before) that there's a ton of fields here that are meaningless
|- id="t21:10"
  (I'd just ignored them, really)
! style="background-color: #818144" |  jds2001
  21:42 < jds2001> severity and priority don't mean anything, don't use them :)
| style="color: #818144" | ivazquez: you had a question?
  21:43  * kdn thanks nirik
|| [[#t21:10|21:10]]
  21:43 * fengshaun thanks nirik too
|- id="t21:10"
  21:43 < jds2001> no need to put anything in any of the assigned to/etc boxes, they'll be defaulted for the component.
! style="background-color: #9b519b" |  Abd4llA
  21:45 <@nirik> just as an aside as a consumer of bug reports, I find it nice to put the package name in the Summary,
| style="color: #9b519b" | What's the convention for submitting a bug report ?
  like "selinux-policy: NetworkManager denied execute for pppd"
|| [[#t21:10|21:10]]
  21:46 <@nirik> component, version, summary and description are the only ones you really need to fill in.
|- id="t21:11"
  21:46 < fengshaun> nirik, hmm thanks!
! style="background-color: #4d4d93" |  ivazquez
  21:47 < jds2001> so the only fields that I've filled in here are component, version (I'm running F9 on this box) and summary
| style="color: #4d4d93" | I do, actually.
  21:47 < jds2001> and nirik beat me to it :)
|| [[#t21:11|21:11]]
  21:47 < jds2001> well description too :)
|- id="t21:11"
  21:48 < jds2001> so now I'm going to submit that bug!
! style="background-color: #818144" |  jds2001
  21:48 < jds2001> and we have https://bugzilla.redhat.com/show_bug.cgi?id=470689
| style="color: #818144" | Abd4llA: we're actually going to submit one :)
  21:49 < fengshaun> jds2001, hmmm easier than I thought!
|| [[#t21:11|21:11]]
  21:50  * nirik wishes they were as easy to fix as they are to file. ;)
|- id="t21:11"
  21:50 < thomasj> hehe
! style="background-color: #854685" |  fengshaun
  21:50 < fengshaun> nirik, I agree! :)
| style="color: #854685" | jds2001, also, what should we put as the "component"?
  21:51 < jds2001> nirik maintains pretty much the entire Xfce stack in Fedora, so that's likely why he prefers the package name.
|| [[#t21:11|21:11]]
  21:51 < jds2001> though what nirik probably doesn't know is that at the bottom of search results, there's an option to change columns :)
|- id="t21:11"
  21:52 <@nirik> it's just easier in emails bugzilla sends. You don't have to load the page to see what it was talking about... but thats just an aside.
! style="background-color: #818144" |  jds2001
  21:52 < fengshaun> Oh My God!!! :O
| style="color: #818144" | against the SELinux policy of all things :)
  21:53  * jds2001 is one of his loyal converts on one of his machines, but not the one i'm using now
|| [[#t21:11|21:11]]
  21:53 < jds2001> it's GNOME :P
|- id="t21:11"
  21:53 < domg472> jds2001
! style="background-color: #854685" |  fengshaun
  21:54  * nirik sees about 8 min left. Perhaps time for some Q&A?
| style="color: #854685" | jds2001, lol
  21:54 < fengshaun> convert to what?
|| [[#t21:11|21:11]]
  21:54 < domg472> one important note is t first check to see if a bug for his already exists
|- id="t21:11"
  21:54 < jds2001> fengshaun: Xfce, the desktop environment.
! style="background-color: #539e9e" |  herlo
  21:54 < fengshaun> jds2001, oh
| style="color: #539e9e" | :)
  21:54 < thomasj> domg472, good point
|| [[#t21:11|21:11]]
  21:54 < domg472> thers like 3 of them already
|- id="t21:11"
  21:54 < jds2001> doh!
| colspan="2" | * jds2001 has been too lazy to submit this one, but it's perfect and clear-cut.
  21:55 < jds2001> i *did* search, but not as thourghly as I may have otherwise (not in a time crunch)
|| [[#t21:11|21:11]]
  21:55 < domg472> https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&classification=Fedora&product=Fedora&component=selinux-policy&version=9&bug_status=NEW&bug_status=ASSIGNED&bug_status=MODIFIED
|- id="t21:11"
  21:56 < jds2001> indeed
! style="background-color: #9b519b" |  Abd4llA
  21:56 < jds2001> i suck.
| style="color: #9b519b" | jds2001 loll
  21:56 < domg472> naw just mentioning
|| [[#t21:11|21:11]]
  21:56 < zless> and in that case, leave a me too comment on the existing bug, to give it more value, and have updates CC'd to you
|- id="t21:12"
  21:56 < domg472> so that others know to
! style="background-color: #a25555" |  erinlea80
  21:56 < kdn> Not at all,  jds2001.
| style="color: #a25555" | :)
  21:57 < kdn> You demo'ed the question I was about to ask, perfectly :)
|| [[#t21:12|21:12]]
  21:57  * fengshaun thanks jds2001 for this classroom. He thinks it was a brilliant and helpful class!
|- id="t21:12"
  21:57 < jds2001> so what I'm going to do now is close-dup mine.
! style="background-color: #4d4d93" |  ivazquez
  21:57 < zless> and speaking up dupe bugs, i think the "better" bugs should be kept (even if newer), and the others closed
| style="color: #4d4d93" | Why should the average person care about Bugzilla? Filling out bug reports takes time and energy, and no  
  21:57 * kdn standing-o
|| [[#t21:12|21:12]]
  21:57 < zless> s/up/of/
|-
  21:57 < domg472> thanks
| colspan="3" | one seems to look at the bug reports anyways.
  21:58 < jds2001> i thought that i had pretty much updated this box, but i guess not for awhile :)
|- id="t21:12"
  21:58 < jds2001> 451M of updates, one of which will fix this :)
! style="background-color: #854685" |  fengshaun
  21:58  * kdn thanks jds2001 for the presentation!
| style="color: #854685" | ivazquez, they do look at them :S
  21:58 < Ineluctable> thank you
|| [[#t21:12|21:12]]
  21:59 * fengshaun enjoyed the class, and applauds
|- id="t21:12"
  21:59 <@nirik> thanks jds2001 !
! style="background-color: #818144" |  jds2001
  21:59 < thomasj> jds2001, thanks for this class, very good job
| style="color: #818144" | ivazquez: we're trying to change the "no one looks at them" (and they do), and it helps to make Fedora better.
  21:59 < erinlea80> thanks jds2001! :)
|| [[#t21:12|21:12]]
  21:59 < jds2001> np!
|- id="t21:12"
  21:59 < Bugz> Thanks jds2001
! style="background-color: #854685" |  fengshaun
  21:59 < herlo> thanks jds2001
| style="color: #854685" | ivazquez, and it's a way of care for the community!
  21:59 * nirik notes that next up is Paul W. Frields ( stickster ) - Beginner's guide to getting involved
|| [[#t21:12|21:12]]
  21:59 < jds2001> and there was really no damage doen filing that bug, what I did is at the top, selecting 'mark as duplicate'
|- id="t21:13"
  and entered the bug that it was a duplicate of.
! style="background-color: #818144" |  jds2001
  22:00 < fengshaun> oh yes, I really really need that!
| style="color: #818144" | I've had a few bugs that haven't gotten looked at.
  23:00 < mattia> Thanks jds2001
|| [[#t21:13|21:13]]
|- id="t21:13"
! style="background-color: #a25555" |  erinlea80
| style="color: #a25555" | In summary, this is something an average user can do to help the community without expansive knowlege?
|| [[#t21:13|21:13]]
|- id="t21:13"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | And I've have bugs which were open and closed in 30 minutes
|| [[#t21:13|21:13]]
|- id="t21:13"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | erinlea80: yes
|| [[#t21:13|21:13]]
|- id="t21:14"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | jds2001, so, which one of the fields are the most important ones?
|| [[#t21:14|21:14]]
|- id="t21:14"
! style="background-color: #854685" | fengshaun
| style="color: #854685" | in the advanced search?
|| [[#t21:14|21:14]]
|- id="t21:14"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | the product, component, and summary (and maybe the comment search)
|| [[#t21:14|21:14]]
|- id="t21:15"
! style="background-color: #854685" | fengshaun
| style="color: #854685" | jds2001, so we put the name of the application for component?
|| [[#t21:15|21:15]]
|- id="t21:15"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | yes, the name of the SRPM (which is most often the name of the application)
|| [[#t21:15|21:15]]
|- id="t21:16"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | so for example, vim-X11, the component name would be vim only!
|| [[#t21:16|21:16]]
|- id="t21:16"
! style="background-color: #57a657" |  brunowolff
| style="color: #57a657" | For a lot of components there aren't that many bugs and just using that is good enough.
|| [[#t21:16|21:16]]
|- id="t21:16"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | that's what the source rpm gives me
|| [[#t21:16|21:16]]
|- id="t21:16"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | fengshaun: right! :)
|| [[#t21:16|21:16]]
|- id="t21:16"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | got it!
|| [[#t21:16|21:16]]
|- id="t21:17"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | there's also another interface that I use
|| [[#t21:17|21:17]]
|- id="t21:17"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | bugz.fedoraproject.org/&lt;component&gt;
|| [[#t21:17|21:17]]
|- id="t21:17"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | oh
|| [[#t21:17|21:17]]
|- id="t21:17"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | will give you a listing of all bugs open against that component.
|| [[#t21:17|21:17]]
|- id="t21:17"
! style="background-color: #5959a9" |  thomasj
| style="color: #5959a9" | interesting..
|| [[#t21:17|21:17]]
|- id="t21:17"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | wow, nice!
|| [[#t21:17|21:17]]
|- id="t21:17"
! style="background-color: #adad5b" |  kdn
| style="color: #adad5b" | neat!
|| [[#t21:17|21:17]]
|- id="t21:18"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | for the technically interested that's just pkgdb pulling them via xmlrpc from bugzilla :)
|| [[#t21:18|21:18]]
|- id="t21:18"
! style="background-color: #b15db1" |  EvilBob
| style="color: #b15db1" | ok now it's cool
|| [[#t21:18|21:18]]
|- id="t21:19"
! style="background-color: #5959a9" | thomasj
| style="color: #5959a9" | :D
|| [[#t21:19|21:19]]
|- id="t21:19"
! style="background-color: #818144" | jds2001
| style="color: #818144" | there's also a link to directly enter a bug against that component from that page :)
|| [[#t21:19|21:19]]
|- id="t21:20"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | "report"?
|| [[#t21:20|21:20]]
|- id="t21:20"
! style="background-color: #818144" | jds2001
| style="color: #818144" | yeah
|| [[#t21:20|21:20]]
|- id="t21:20"
! style="background-color: #5959a9" |  thomasj
| style="color: #5959a9" | now it's really cool
|| [[#t21:20|21:20]]
|- id="t21:21"
! style="background-color: #854685" | fengshaun
| style="color: #854685" | jds2001, so how do we file a bug with the least amount of time consumed?
|| [[#t21:21|21:21]]
|- id="t21:21"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | abadger1999: you're getting mega-props in here :)
|| [[#t21:21|21:21]]
|- id="t21:21"
! style="background-color: #9b519b" |  Abd4llA
| style="color: #9b519b" | so, can't wait to open that SELinux bug :)
|| [[#t21:21|21:21]]
|- id="t21:21"
! style="background-color: #5fb4b4" |  abadger1999
| style="color: #5fb4b4" | heh :-)
|| [[#t21:21|21:21]]
|- id="t21:21"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | hahaha
|| [[#t21:21|21:21]]
|- id="t21:21"
! style="background-color: #5fb4b4" |  abadger1999
| style="color: #5fb4b4" | wwoods should get most of the props --pkgdb just makes use of python-bugzilla.
|| [[#t21:21|21:21]]
|- id="t21:22"
| colspan="2" | * thomasj just tested it.. awesome
|| [[#t21:22|21:22]]
|- id="t21:22"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | fengshaun: i would use the pkgdb interface.
|| [[#t21:22|21:22]]
|- id="t21:22"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | jds2001, how?
|| [[#t21:22|21:22]]
|- id="t21:23"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | fengshaun: that makes a number of selections for you.
|| [[#t21:23|21:23]]
|- id="t21:23"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | the "report" link on that bugz.fp.o page
|| [[#t21:23|21:23]]
|- id="t21:23"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | oh
|| [[#t21:23|21:23]]
|- id="t21:23"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | that is the pkgdb interface!
|| [[#t21:23|21:23]]
|- id="t21:23"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | got it now!
|| [[#t21:23|21:23]]
|- id="t21:24"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | so let's start opening some bugs :D
|| [[#t21:24|21:24]]
|- id="t21:24"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | alrigthy :)
|| [[#t21:24|21:24]]
|- id="t21:25"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | there's also another tool if you're more advanced....at the commandline, in the python-bugzilla that
|| [[#t21:25|21:25]]
|-
| colspan="3" | abadger1999 just mentioned, there's a CLI client
|- id="t21:25"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | jds2001, to find bugs?
|| [[#t21:25|21:25]]
|- id="t21:25"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | how do we use that?
|| [[#t21:25|21:25]]
|- id="t21:25"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | I use it for searching sometimes
|| [[#t21:25|21:25]]
|- id="t21:25"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | yep
|| [[#t21:25|21:25]]
|- id="t21:26"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | yum install python-bugzilla
|| [[#t21:26|21:26]]
|- id="t21:26"
! style="background-color: #9b519b" |  Abd4llA
| style="color: #9b519b" | herlo should watch this SELinux bug
|| [[#t21:26|21:26]]
|- id="t21:26"
! style="background-color: #539e9e" |  herlo
| style="color: #539e9e" | Abd4llA: hehe, yeah
|| [[#t21:26|21:26]]
|- id="t21:26"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | jds2001, already installed.
|| [[#t21:26|21:26]]
|- id="t21:26"
| colspan="2" | * ivazquez would like to point out to any GNOME users that Deskbar Applet in Fedora has a handler to open Fedora bugs
|| [[#t21:26|21:26]]
|-
| colspan="3" | given the bug number
|- id="t21:27"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | fengshaun: cool, there's a command called bugzilla
|| [[#t21:27|21:27]]
|- id="t21:27"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | ok!
|| [[#t21:27|21:27]]
|- id="t21:27"
! style="background-color: #b86161" |  zless
| style="color: #b86161" | interesting. i'll have to check that cli search out. waiting ~30+ seconds for the javascript bz search to renarrow
|| [[#t21:27|21:27]]
|-
| colspan="3" | when you go Back, to search again, is... aggravating
|- id="t21:27"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | yea
|| [[#t21:27|21:27]]
|- id="t21:27"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | and if you do like bugzilla query --help, it'll give you what you can query on
|| [[#t21:27|21:27]]
|- id="t21:27"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | bugzilla command is much nicer
|| [[#t21:27|21:27]]
|- id="t21:29"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | so
|| [[#t21:29|21:29]]
|- id="t21:29"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | let's file something :)
|| [[#t21:29|21:29]]
|- id="t21:29"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | alrighty :)
|| [[#t21:29|21:29]]
|- id="t21:30"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | "Enter a new bug report"
|| [[#t21:30|21:30]]
|- id="t21:30"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so I have this Sprint mobile broadband card that doesn't work with SELinux enabled.
|| [[#t21:30|21:30]]
|- id="t21:30"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | if I turn SELinux off it works fine
|| [[#t21:30|21:30]]
|- id="t21:30"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | LOL
|| [[#t21:30|21:30]]
|- id="t21:30"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | ok
|| [[#t21:30|21:30]]
|- id="t21:31"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | and it's really cool, since NM automatically detects it, and then....FAIL
|| [[#t21:31|21:31]]
|- id="t21:32"
! style="background-color: #407a40" |  domg472_
| style="color: #407a40" | no need to turn it off , details? join #fedora-selinux
|| [[#t21:32|21:32]]
|- id="t21:32"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so anyhow, we're going to file this against selinux-policy, not NetworkManager.  There's nothing that
|| [[#t21:32|21:32]]
|-
| colspan="3" | Dan Williams (NM maintainer) can do about this, it's in the policy
|- id="t21:32"
! style="background-color: #97974f" | @nirik
| style="color: #97974f" | domg472_: very true, but if the default policy can be fixed, it will work for everyone.
|| [[#t21:32|21:32]]
|- id="t21:33"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | the problem is that networkmanager can't execute pppd (which is required to establish the connection)
|| [[#t21:33|21:33]]
|- id="t21:33"
! style="background-color: #57a657" |  brunowolff
| style="color: #57a657" | But if you aren't sure (that its policy not the app) then you can file against the app and cc dwalsh@redhat.com
|| [[#t21:33|21:33]]
|- id="t21:34"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so what we need is the full AVC message.
|| [[#t21:34|21:34]]
|- id="t21:34"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | we can get that via ausearch -m svc -sv no
|| [[#t21:34|21:34]]
|- id="t21:34"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | err, -m avc
|| [[#t21:34|21:34]]
|- id="t21:35"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | there are lots of other search options with ausearch
|| [[#t21:35|21:35]]
|- id="t21:35"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | including timeframes, etc.
|| [[#t21:35|21:35]]
|- id="t21:36"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so doing that, I get this:
|| [[#t21:36|21:36]]
|- id="t21:36"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | time-&gt;Sat Oct 18 17:23:54 2008
|| [[#t21:36|21:36]]
|- id="t21:36"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | type=SYSCALL msg=audit(1224365034.450:19): arch=c000003e syscall=59 success=no exit=-13 a0=1c5c200 a1=1c56730 a2=7fff61953660
|| [[#t21:36|21:36]]
|-
| colspan="3" | a3=0 items=0 ppid=2346 pid=3701 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295
|-
| colspan="3" | comm="NetworkManager" exe="/usr/sbin/NetworkManager" subj=system_u:system_r:NetworkManager_t:s0 key=(null)
|- id="t21:36"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | type=AVC msg=audit(1224365034.450:19): avc:  denied  { execute } for  pid=3701 comm="NetworkManager" name="pppd"
|| [[#t21:36|21:36]]
|-
| colspan="3" | dev=dm-1 ino=1763556 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:pppd_exec_t:s0 tclass=file
|- id="t21:36"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so that's going to be critical information in hte bug report
|| [[#t21:36|21:36]]
|- id="t21:37"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | we can go further and actually include a policy module to fix it, by using audit2allow
|| [[#t21:37|21:37]]
|- id="t21:37"
! style="background-color: #9b519b" |  Abd4llA
| style="color: #9b519b" | jds2001, herlo didn't mention anything about that :)
|| [[#t21:37|21:37]]
|- id="t21:38"
! style="background-color: #b15db1" |  EvilBob
| style="color: #b15db1" | way to show up the other teachers jds2001
|| [[#t21:38|21:38]]
|- id="t21:38"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | lol
|| [[#t21:38|21:38]]
|- id="t21:38"
! style="background-color: #407a40" |  domg472_
| style="color: #407a40" | so a quick fix could be: semanage permissive -a NetWorkManager_t
|| [[#t21:38|21:38]]
|- id="t21:38"
! style="background-color: #407a40" |  domg472_
| style="color: #407a40" | untill it gets fixed upstream
|| [[#t21:38|21:38]]
|- id="t21:39"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so now I've done that, I can enter the bug report
|| [[#t21:39|21:39]]
|- id="t21:40"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so now we wait for insane javascript (yes, I hate it to sometimes)
|| [[#t21:40|21:40]]
|- id="t21:41"
! style="background-color: #97974f" | @nirik
| style="color: #97974f" | jds2001: for everyone, what link are you following here?
|| [[#t21:41|21:41]]
|- id="t21:41"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | shttps://bugzilla.redhat.com/enter_bug.cgi?product=Fedora
|| [[#t21:41|21:41]]
|- id="t21:41"
! style="background-color: #9b519b" |  Abd4llA
| style="color: #9b519b" | jds2001 maybe u should use chrome :)
|| [[#t21:41|21:41]]
|- id="t21:41"
! style="background-color: #57a657" |  brunowolff
| style="color: #57a657" | How long is the cookie good for when using bugzilla from the command line?
|| [[#t21:41|21:41]]
|- id="t21:42"
| colspan="2" | * nirik notes everyone can follow along and then cancel at the last minute before filing to see what things look like.
|| [[#t21:42|21:42]]
|- id="t21:42"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | then i just realized (that i never did before) that there's a ton of fields here that are meaningless
|| [[#t21:42|21:42]]
|-
| colspan="3" | (I'd just ignored them, really)
|- id="t21:42"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | severity and priority don't mean anything, don't use them :)
|| [[#t21:42|21:42]]
|- id="t21:43"
| colspan="2" | * kdn thanks nirik
|| [[#t21:43|21:43]]
|- id="t21:43"
| colspan="2" | * fengshaun thanks nirik too
|| [[#t21:43|21:43]]
|- id="t21:43"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | no need to put anything in any of the assigned to/etc boxes, they'll be defaulted for the component.
|| [[#t21:43|21:43]]
|- id="t21:45"
! style="background-color: #97974f" | @nirik
| style="color: #97974f" | just as an aside as a consumer of bug reports, I find it nice to put the package name in the Summary,
|| [[#t21:45|21:45]]
|-
| colspan="3" | like "selinux-policy: NetworkManager denied execute for pppd"
|- id="t21:46"
! style="background-color: #97974f" | @nirik
| style="color: #97974f" | component, version, summary and description are the only ones you really need to fill in.
|| [[#t21:46|21:46]]
|- id="t21:46"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | nirik, hmm thanks!
|| [[#t21:46|21:46]]
|- id="t21:47"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so the only fields that I've filled in here are component, version (I'm running F9 on this box) and summary
|| [[#t21:47|21:47]]
|- id="t21:47"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | and nirik beat me to it :)
|| [[#t21:47|21:47]]
|- id="t21:47"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | well description too :)
|| [[#t21:47|21:47]]
|- id="t21:48"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so now I'm going to submit that bug!
|| [[#t21:48|21:48]]
|- id="t21:48"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | and we have https://bugzilla.redhat.com/show_bug.cgi?id=470689
|| [[#t21:48|21:48]]
|- id="t21:49"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | jds2001, hmmm easier than I thought!
|| [[#t21:49|21:49]]
|- id="t21:50"
| colspan="2" | * nirik wishes they were as easy to fix as they are to file. ;)
|| [[#t21:50|21:50]]
|- id="t21:50"
! style="background-color: #5959a9" |  thomasj
| style="color: #5959a9" | hehe
|| [[#t21:50|21:50]]
|- id="t21:50"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | nirik, I agree! :)
|| [[#t21:50|21:50]]
|- id="t21:51"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | nirik maintains pretty much the entire Xfce stack in Fedora, so that's likely why he prefers the package name.
|| [[#t21:51|21:51]]
|- id="t21:51"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | though what nirik probably doesn't know is that at the bottom of search results, there's an option to change columns :)
|| [[#t21:51|21:51]]
|- id="t21:52"
! style="background-color: #97974f" | @nirik
| style="color: #97974f" | it's just easier in emails bugzilla sends. You don't have to load the page to see what it was talking about... but thats just an aside.
|| [[#t21:52|21:52]]
|- id="t21:52"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | Oh My God!!! :O
|| [[#t21:52|21:52]]
|- id="t21:53"
| colspan="2" | * jds2001 is one of his loyal converts on one of his machines, but not the one i'm using now
|| [[#t21:53|21:53]]
|- id="t21:53"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | it's GNOME :P
|| [[#t21:53|21:53]]
|- id="t21:53"
! style="background-color: #62bb62" |  domg472
| style="color: #62bb62" | jds2001
|| [[#t21:53|21:53]]
|- id="t21:54"
| colspan="2" | * nirik sees about 8 min left. Perhaps time for some Q&amp;A?
|| [[#t21:54|21:54]]
|- id="t21:54"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | convert to what?
|| [[#t21:54|21:54]]
|- id="t21:54"
! style="background-color: #62bb62" |  domg472
| style="color: #62bb62" | one important note is t first check to see if a bug for his already exists
|| [[#t21:54|21:54]]
|- id="t21:54"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | fengshaun: Xfce, the desktop environment.
|| [[#t21:54|21:54]]
|- id="t21:54"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | jds2001, oh
|| [[#t21:54|21:54]]
|- id="t21:54"
! style="background-color: #5959a9" |  thomasj
| style="color: #5959a9" | domg472, good point
|| [[#t21:54|21:54]]
|- id="t21:54"
! style="background-color: #62bb62" |  domg472
| style="color: #62bb62" | thers like 3 of them already
|| [[#t21:54|21:54]]
|- id="t21:54"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | doh!
|| [[#t21:54|21:54]]
|- id="t21:55"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | i *did* search, but not as thourghly as I may have otherwise (not in a time crunch)
|| [[#t21:55|21:55]]
|- id="t21:55"
! style="background-color: #62bb62" |  domg472
| style="color: #62bb62" | https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&amp;classification=Fedora&amp;product=Fedora&amp;component=selinux-policy&amp;version=9&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=MODIFIED
|| [[#t21:55|21:55]]
|- id="t21:56"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | indeed
|| [[#t21:56|21:56]]
|- id="t21:56"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | i suck.
|| [[#t21:56|21:56]]
|- id="t21:56"
! style="background-color: #62bb62" |  domg472
| style="color: #62bb62" | naw just mentioning
|| [[#t21:56|21:56]]
|- id="t21:56"
! style="background-color: #b86161" |  zless
| style="color: #b86161" | and in that case, leave a me too comment on the existing bug, to give it more value, and have updates CC'd to you
|| [[#t21:56|21:56]]
|- id="t21:56"
! style="background-color: #62bb62" |  domg472
| style="color: #62bb62" | so that others know to
|| [[#t21:56|21:56]]
|- id="t21:56"
! style="background-color: #adad5b" |  kdn
| style="color: #adad5b" | Not at all,  jds2001.
|| [[#t21:56|21:56]]
|- id="t21:57"
! style="background-color: #adad5b" |  kdn
| style="color: #adad5b" | You demo'ed the question I was about to ask, perfectly :)
|| [[#t21:57|21:57]]
|- id="t21:57"
| colspan="2" | * fengshaun thanks jds2001 for this classroom.  He thinks it was a brilliant and helpful class!
|| [[#t21:57|21:57]]
|- id="t21:57"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | so what I'm going to do now is close-dup mine.
|| [[#t21:57|21:57]]
|- id="t21:57"
! style="background-color: #b86161" |  zless
| style="color: #b86161" | and speaking up dupe bugs, i think the "better" bugs should be kept (even if newer), and the others closed
|| [[#t21:57|21:57]]
|- id="t21:57"
| colspan="2" | * kdn standing-o
|| [[#t21:57|21:57]]
|- id="t21:57"
! style="background-color: #b86161" |  zless
| style="color: #b86161" | s/up/of/
|| [[#t21:57|21:57]]
|- id="t21:57"
! style="background-color: #62bb62" |  domg472
| style="color: #62bb62" | thanks
|| [[#t21:57|21:57]]
|- id="t21:58"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | i thought that i had pretty much updated this box, but i guess not for awhile :)
|| [[#t21:58|21:58]]
|- id="t21:58"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | 451M of updates, one of which will fix this :)
|| [[#t21:58|21:58]]
|- id="t21:58"
| colspan="2" | * kdn thanks jds2001 for the presentation!
|| [[#t21:58|21:58]]
|- id="t21:58"
! style="background-color: #488888" |  Ineluctable
| style="color: #488888" | thank you
|| [[#t21:58|21:58]]
|- id="t21:59"
| colspan="2" | * fengshaun enjoyed the class, and applauds
|| [[#t21:59|21:59]]
|- id="t21:59"
! style="background-color: #97974f" | @nirik
| style="color: #97974f" | thanks jds2001 !
|| [[#t21:59|21:59]]
|- id="t21:59"
! style="background-color: #5959a9" |  thomasj
| style="color: #5959a9" | jds2001, thanks for this class, very good job
|| [[#t21:59|21:59]]
|- id="t21:59"
! style="background-color: #a25555" |  erinlea80
| style="color: #a25555" | thanks jds2001! :)
|| [[#t21:59|21:59]]
|- id="t21:59"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | np!
|| [[#t21:59|21:59]]
|- id="t21:59"
! style="background-color: #6464bf" |  Bugz
| style="color: #6464bf" | Thanks jds2001
|| [[#t21:59|21:59]]
|- id="t21:59"
! style="background-color: #539e9e" |  herlo
| style="color: #539e9e" | thanks jds2001
|| [[#t21:59|21:59]]
|- id="t21:59"
| colspan="2" | * nirik notes that next up is Paul W. Frields ( stickster ) - Beginner's guide to getting involved
|| [[#t21:59|21:59]]
|- id="t21:59"
! style="background-color: #818144" |  jds2001
| style="color: #818144" | and there was really no damage doen filing that bug, what I did is at the top, selecting 'mark as duplicate'
|| [[#t21:59|21:59]]
|-
| colspan="3" | and entered the bug that it was a duplicate of.
|- id="t22:00"
! style="background-color: #854685" |  fengshaun
| style="color: #854685" | oh yes, I really really need that!
|| [[#t22:00|22:00]]
|- id="t23:00"
! style="background-color: #c3c366" |  mattia
| style="color: #c3c366" | Thanks jds2001
|| [[#t23:00|23:00]]
|}
 
Generated by irclog2html.py 2.7 by [mailto:marius@pov.lt Marius Gedminas] - find it at [http://mg.pov.lt/irclog2html mg.pov.lt]!
[[Category:Classroom]]

Latest revision as of 07:57, 18 September 2016

Fedora Classroom - Introduction to Bugzilla - Jon Stanley - Saturday, November 8, 2008

IRC Log of the Class

-!- nirik changed the topic of #fedora-classroom to: Fedora Classroom - An Introduction to Bugzilla with your teacher: jds2001 - See Communicate/IRC/Classroom for more info 21:00
domg472_ bye and thanks 21:00
linuxguru thanks herlo 21:00
jds2001 hey guys :) 21:00
linuxguru hi jds2001 ;) 21:00
fengshaun jds2001, hiii 21:00
Ineluctable hello 21:01
jds2001 so I don't have any slides or anything fancy like that. 21:01
fengshaun I need this classroom actually! 21:01
fengshaun jds2001, don't worry! 21:01
jds2001 I figured I'd let this be the format that I like, real loose. :) 21:01
SSlater thanks herlo 21:01
jds2001 so what do people want to know? There's so much, I just couldn't distill it all into an hour on IRC if I wanted to. 21:02
jds2001 When I'm giving bugzilla presentations *in person* it's hard to keep it to an hour :) 21:02
fengshaun jds2001, how can we find known bugs? 21:02
Ineluctable yes 21:02
jds2001 excellent question. 21:02
jds2001 the bugzilla search form looks really intimidating, but it's not. 21:03
jds2001 99% of it can be ignored. 21:03
jds2001 so the first thing is components in bugzilla. 21:03
jds2001 there is a component for each SOURCE RPM in the distribution. 21:03
VileGent jon wake us through looking for existing bugs and maybe even how to file bugs 21:03
fengshaun sorry, can you give us the link to bugzilla so we have it hands on? 21:03
ivazquez I have the next question. 21:04
* VileGent points AlL to https://bugzilla.redhat.com/bugzilla 21:04
jds2001 Source RPM's can have subpackages that seemingly have nothing to do with the package at hand 21:04
jds2001 thx VileGent :) 21:04
jds2001 so to find what SRPM maps to the binary RPM you have, you can use rpm -qi <rpm name> 21:05
jds2001 in the right column, there's a field that says "Soruce RPM" 21:05
jds2001 the name of that is the component that you want to look for. 21:05
jds2001 err, minor network issues :P 21:06
jds2001 so when you've found the name of the component, select it in the component list, and select 21:07
Fedora in the product list.
@nirik so for example, 'rpm -qi firefox' will have 'Source RPM: firefox-3.0.2-1.fc10.src.rpm' in the output 21:07
fengshaun nirik, yes 21:07
jds2001 There's no need to select anything from the classification, that just narrows down the selection and is an 21:08
expensive client-side javascript nonsense.
jds2001 sometimes i don't even select Fedora as the product, but beware that you'll get Fedora and RHEL bugs for 21:09
the component (if applicable)
jds2001 then the top box on the search page searches the summary of a bug for something 21:09
jds2001 any questions so far? 21:10
fengshaun nope 21:10
* vwbusguy- joins late 21:10
jds2001 ivazquez: you had a question? 21:10
Abd4llA What's the convention for submitting a bug report ? 21:10
ivazquez I do, actually. 21:11
jds2001 Abd4llA: we're actually going to submit one :) 21:11
fengshaun jds2001, also, what should we put as the "component"? 21:11
jds2001 against the SELinux policy of all things :) 21:11
fengshaun jds2001, lol 21:11
herlo :) 21:11
* jds2001 has been too lazy to submit this one, but it's perfect and clear-cut. 21:11
Abd4llA jds2001 loll 21:11
erinlea80 :) 21:12
ivazquez Why should the average person care about Bugzilla? Filling out bug reports takes time and energy, and no 21:12
one seems to look at the bug reports anyways.
fengshaun ivazquez, they do look at them :S 21:12
jds2001 ivazquez: we're trying to change the "no one looks at them" (and they do), and it helps to make Fedora better. 21:12
fengshaun ivazquez, and it's a way of care for the community! 21:12
jds2001 I've had a few bugs that haven't gotten looked at. 21:13
erinlea80 In summary, this is something an average user can do to help the community without expansive knowlege? 21:13
jds2001 And I've have bugs which were open and closed in 30 minutes 21:13
jds2001 erinlea80: yes 21:13
fengshaun jds2001, so, which one of the fields are the most important ones? 21:14
fengshaun in the advanced search? 21:14
jds2001 the product, component, and summary (and maybe the comment search) 21:14
fengshaun jds2001, so we put the name of the application for component? 21:15
jds2001 yes, the name of the SRPM (which is most often the name of the application) 21:15
fengshaun so for example, vim-X11, the component name would be vim only! 21:16
brunowolff For a lot of components there aren't that many bugs and just using that is good enough. 21:16
fengshaun that's what the source rpm gives me 21:16
jds2001 fengshaun: right! :) 21:16
fengshaun got it! 21:16
jds2001 there's also another interface that I use 21:17
jds2001 bugz.fedoraproject.org/<component> 21:17
fengshaun oh 21:17
jds2001 will give you a listing of all bugs open against that component. 21:17
thomasj interesting.. 21:17
fengshaun wow, nice! 21:17
kdn neat! 21:17
jds2001 for the technically interested that's just pkgdb pulling them via xmlrpc from bugzilla :) 21:18
EvilBob ok now it's cool 21:18
thomasj :D 21:19
jds2001 there's also a link to directly enter a bug against that component from that page :) 21:19
fengshaun "report"? 21:20
jds2001 yeah 21:20
thomasj now it's really cool 21:20
fengshaun jds2001, so how do we file a bug with the least amount of time consumed? 21:21
jds2001 abadger1999: you're getting mega-props in here :) 21:21
Abd4llA so, can't wait to open that SELinux bug :) 21:21
abadger1999 heh :-) 21:21
fengshaun hahaha 21:21
abadger1999 wwoods should get most of the props --pkgdb just makes use of python-bugzilla. 21:21
* thomasj just tested it.. awesome 21:22
jds2001 fengshaun: i would use the pkgdb interface. 21:22
fengshaun jds2001, how? 21:22
jds2001 fengshaun: that makes a number of selections for you. 21:23
jds2001 the "report" link on that bugz.fp.o page 21:23
fengshaun oh 21:23
fengshaun that is the pkgdb interface! 21:23
fengshaun got it now! 21:23
fengshaun so let's start opening some bugs :D 21:24
jds2001 alrigthy :) 21:24
jds2001 there's also another tool if you're more advanced....at the commandline, in the python-bugzilla that 21:25
abadger1999 just mentioned, there's a CLI client
fengshaun jds2001, to find bugs? 21:25
fengshaun how do we use that? 21:25
jds2001 I use it for searching sometimes 21:25
jds2001 yep 21:25
jds2001 yum install python-bugzilla 21:26
Abd4llA herlo should watch this SELinux bug 21:26
herlo Abd4llA: hehe, yeah 21:26
fengshaun jds2001, already installed. 21:26
* ivazquez would like to point out to any GNOME users that Deskbar Applet in Fedora has a handler to open Fedora bugs 21:26
given the bug number
jds2001 fengshaun: cool, there's a command called bugzilla 21:27
fengshaun ok! 21:27
zless interesting. i'll have to check that cli search out. waiting ~30+ seconds for the javascript bz search to renarrow 21:27
when you go Back, to search again, is... aggravating
fengshaun yea 21:27
jds2001 and if you do like bugzilla query --help, it'll give you what you can query on 21:27
fengshaun bugzilla command is much nicer 21:27
fengshaun so 21:29
fengshaun let's file something :) 21:29
jds2001 alrighty :) 21:29
fengshaun "Enter a new bug report" 21:30
jds2001 so I have this Sprint mobile broadband card that doesn't work with SELinux enabled. 21:30
jds2001 if I turn SELinux off it works fine 21:30
fengshaun LOL 21:30
fengshaun ok 21:30
jds2001 and it's really cool, since NM automatically detects it, and then....FAIL 21:31
domg472_ no need to turn it off , details? join #fedora-selinux 21:32
jds2001 so anyhow, we're going to file this against selinux-policy, not NetworkManager. There's nothing that 21:32
Dan Williams (NM maintainer) can do about this, it's in the policy
@nirik domg472_: very true, but if the default policy can be fixed, it will work for everyone. 21:32
jds2001 the problem is that networkmanager can't execute pppd (which is required to establish the connection) 21:33
brunowolff But if you aren't sure (that its policy not the app) then you can file against the app and cc dwalsh@redhat.com 21:33
jds2001 so what we need is the full AVC message. 21:34
jds2001 we can get that via ausearch -m svc -sv no 21:34
jds2001 err, -m avc 21:34
jds2001 there are lots of other search options with ausearch 21:35
jds2001 including timeframes, etc. 21:35
jds2001 so doing that, I get this: 21:36
jds2001 time->Sat Oct 18 17:23:54 2008 21:36
jds2001 type=SYSCALL msg=audit(1224365034.450:19): arch=c000003e syscall=59 success=no exit=-13 a0=1c5c200 a1=1c56730 a2=7fff61953660 21:36
a3=0 items=0 ppid=2346 pid=3701 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295
comm="NetworkManager" exe="/usr/sbin/NetworkManager" subj=system_u:system_r:NetworkManager_t:s0 key=(null)
jds2001 type=AVC msg=audit(1224365034.450:19): avc: denied { execute } for pid=3701 comm="NetworkManager" name="pppd" 21:36
dev=dm-1 ino=1763556 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:pppd_exec_t:s0 tclass=file
jds2001 so that's going to be critical information in hte bug report 21:36
jds2001 we can go further and actually include a policy module to fix it, by using audit2allow 21:37
Abd4llA jds2001, herlo didn't mention anything about that :) 21:37
EvilBob way to show up the other teachers jds2001 21:38
jds2001 lol 21:38
domg472_ so a quick fix could be: semanage permissive -a NetWorkManager_t 21:38
domg472_ untill it gets fixed upstream 21:38
jds2001 so now I've done that, I can enter the bug report 21:39
jds2001 so now we wait for insane javascript (yes, I hate it to sometimes) 21:40
@nirik jds2001: for everyone, what link are you following here? 21:41
jds2001 shttps://bugzilla.redhat.com/enter_bug.cgi?product=Fedora 21:41
Abd4llA jds2001 maybe u should use chrome :) 21:41
brunowolff How long is the cookie good for when using bugzilla from the command line? 21:41
* nirik notes everyone can follow along and then cancel at the last minute before filing to see what things look like. 21:42
jds2001 then i just realized (that i never did before) that there's a ton of fields here that are meaningless 21:42
(I'd just ignored them, really)
jds2001 severity and priority don't mean anything, don't use them :) 21:42
* kdn thanks nirik 21:43
* fengshaun thanks nirik too 21:43
jds2001 no need to put anything in any of the assigned to/etc boxes, they'll be defaulted for the component. 21:43
@nirik just as an aside as a consumer of bug reports, I find it nice to put the package name in the Summary, 21:45
like "selinux-policy: NetworkManager denied execute for pppd"
@nirik component, version, summary and description are the only ones you really need to fill in. 21:46
fengshaun nirik, hmm thanks! 21:46
jds2001 so the only fields that I've filled in here are component, version (I'm running F9 on this box) and summary 21:47
jds2001 and nirik beat me to it :) 21:47
jds2001 well description too :) 21:47
jds2001 so now I'm going to submit that bug! 21:48
jds2001 and we have https://bugzilla.redhat.com/show_bug.cgi?id=470689 21:48
fengshaun jds2001, hmmm easier than I thought! 21:49
* nirik wishes they were as easy to fix as they are to file. ;) 21:50
thomasj hehe 21:50
fengshaun nirik, I agree! :) 21:50
jds2001 nirik maintains pretty much the entire Xfce stack in Fedora, so that's likely why he prefers the package name. 21:51
jds2001 though what nirik probably doesn't know is that at the bottom of search results, there's an option to change columns :) 21:51
@nirik it's just easier in emails bugzilla sends. You don't have to load the page to see what it was talking about... but thats just an aside. 21:52
fengshaun Oh My God!!! :O 21:52
* jds2001 is one of his loyal converts on one of his machines, but not the one i'm using now 21:53
jds2001 it's GNOME :P 21:53
domg472 jds2001 21:53
* nirik sees about 8 min left. Perhaps time for some Q&A? 21:54
fengshaun convert to what? 21:54
domg472 one important note is t first check to see if a bug for his already exists 21:54
jds2001 fengshaun: Xfce, the desktop environment. 21:54
fengshaun jds2001, oh 21:54
thomasj domg472, good point 21:54
domg472 thers like 3 of them already 21:54
jds2001 doh! 21:54
jds2001 i *did* search, but not as thourghly as I may have otherwise (not in a time crunch) 21:55
domg472 https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&classification=Fedora&product=Fedora&component=selinux-policy&version=9&bug_status=NEW&bug_status=ASSIGNED&bug_status=MODIFIED 21:55
jds2001 indeed 21:56
jds2001 i suck. 21:56
domg472 naw just mentioning 21:56
zless and in that case, leave a me too comment on the existing bug, to give it more value, and have updates CC'd to you 21:56
domg472 so that others know to 21:56
kdn Not at all, jds2001. 21:56
kdn You demo'ed the question I was about to ask, perfectly :) 21:57
* fengshaun thanks jds2001 for this classroom. He thinks it was a brilliant and helpful class! 21:57
jds2001 so what I'm going to do now is close-dup mine. 21:57
zless and speaking up dupe bugs, i think the "better" bugs should be kept (even if newer), and the others closed 21:57
* kdn standing-o 21:57
zless s/up/of/ 21:57
domg472 thanks 21:57
jds2001 i thought that i had pretty much updated this box, but i guess not for awhile :) 21:58
jds2001 451M of updates, one of which will fix this :) 21:58
* kdn thanks jds2001 for the presentation! 21:58
Ineluctable thank you 21:58
* fengshaun enjoyed the class, and applauds 21:59
@nirik thanks jds2001 ! 21:59
thomasj jds2001, thanks for this class, very good job 21:59
erinlea80 thanks jds2001! :) 21:59
jds2001 np! 21:59
Bugz Thanks jds2001 21:59
herlo thanks jds2001 21:59
* nirik notes that next up is Paul W. Frields ( stickster ) - Beginner's guide to getting involved 21:59
jds2001 and there was really no damage doen filing that bug, what I did is at the top, selecting 'mark as duplicate' 21:59
and entered the bug that it was a duplicate of.
fengshaun oh yes, I really really need that! 22:00
mattia Thanks jds2001 23:00

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!