/srv/irclogs.ubuntu.com/2011/01/12/#ubuntu-devel.txt

ebroderkees: ++ for "block rare net module autoloading: INPROGRESS" :)00:09
keesebroder: hehe :)00:12
keesebroder: https://lists.ubuntu.com/archives/kernel-team/2011-January/013990.html00:12
=== russellb_ is now known as russellb
lifelessmathiaz: https://bugs.launchpad.net/launchpad/+bug/65048702:55
ubottuUbuntu bug 650487 in Launchpad itself "Mark new revisions since superseeded merge proposal in code review" [Low,Triaged]02:56
=== akshat_ is now known as akshatj
=== james is now known as Guest78408
=== solid_liquid is now known as solid_liq
=== _LibertyZero is now known as LibertyZero
=== almaisan-away is now known as al-maisan
=== hunger_ is now known as hunger
=== tkamppeter_ is now known as tkamppeter
=== ioerror is now known as Guest71251
=== al-maisan is now known as almaisan-away
PetrHHHello11:45
PetrHHmy program is using mysqld and stores data in user's home directories11:45
PetrHHso I have to add one rule to /etc/apparmor.d/usr.sbin.mysqld11:46
PetrHHbut I'm afraid what happens after update apparmor. Will be this file restored with default values?11:46
PetrHHMay I create my own rule file and put it somewhere? Where?11:47
PetrHHThank you for help.11:47
=== Lutin is now known as Guest13856
sorenPetrHH: Your changes won't be overwritten.11:57
shankaoI think that you'll be offered to keep, replace or diff the changes11:57
sorenPetrHH: The user will be prompted about the changes.11:57
sorenPetrHH: What I recommend instead is a separate file.11:57
sorenPetrHH: That grants the additional privileges.11:57
PetrHHsoren, Thank you. Separate file will be better. Do you have any idea where to place it and the name of file? I tried to find it in apparmor documentation but is is huge and very complicated.12:00
=== almaisan-away is now known as al-maisan
=== lan3y is now known as Laney
=== al-maisan is now known as almaisan-away
sorenPetrHH: I'd rather leave that to someone who's actually any good with apparmour. jdstrand, perhaps? ^^12:10
=== almaisan-away is now known as al-maisan
PetrHHsoren, Thank you for your help. I'll wait for jdstrand and will ask him.12:14
sbeattiePetrHH: /etc/apparmor.d/usr.sbin.mysqld is a conf file, and so on updates you'd be prompted to keep or drop your changes to that file.12:28
sbeattiePetrHH: if you're running maverick, you can make your changes to /etc/apparmor.d/local/usr.sbin.mysqld and it will keep them and avoid prompting you on updates.12:28
sbeattie(remember to do /etc/init.d/apparmor reload after making your changes)12:29
PetrHHsbeattie, I'm afraid whe user will be prompted, he will click to drop changes and it will be gone :-)12:29
PetrHHI'd like to have packages for version 10.04 and newer12:30
PetrHHand now using 10.0412:30
sorensbeattie: Is it possible to add a completely separate file that grants additional privileges to /usr/sbin/mysqld?12:33
sorensbeattie: Or will whichever is loaded last take precedence or something like that?12:34
sorensbeattie: ...since this doesn't really seem like "local" modifications. They're modifications that another package wants to make.12:34
sbeattiesoren: the shipped apparmor policy needs to be constructed to do that, but yes, it's possible to arrange things so that additional packages can drop files into a .d/ directory that gets automatically included.12:37
sorensbeattie: Hm... Ok. What were to happen if I just added another file in /etc/apparmor.d/ that also tried to set some rules for a file that was covered by another file?12:38
sbeattiesoren: we do this right now for the example apache2 profile we ship in (I think) the apparmor-profiles package; it automatically imports stuff from /etc/apparmor.d/apache2.d/12:38
sbeattiesoren: they'll be treated as separate profiles, and one will be loaded instead of the other (last one wins, probably)12:40
sorensbeattie: Ok, that's what I thought.12:40
sorensbeattie: Thanks!12:40
sbeattiesoren: sure12:40
sorenPetrHH: So, it seems you want to file a bug against the mysql packages, asking for such a directory, and then you'd provide such a file in your package.12:41
sorenjdstrand: Never mind, we sorted it out.12:41
PetrHHI add this @{HOME}/.config/cqrlog/database/** rwk, line to usr.sbin.mysqld12:43
PetrHHI'm not sure what you mean. I should add bug to mysql package and ask for add my line to apparmor profile?12:44
sorenPetrHH: No.12:45
sorenPetrHH: 12:37 < sbeattie> soren: the shipped apparmor policy needs to be constructed to do that, but yes, it's possible to arrange things so that12:45
soren                  additional packages can drop files into a .d/ directory that gets automatically included.12:45
sorenPetrHH: So, you file a bug asking for such a .d/ directory, and then you adjust your package to drop a file into that directory, granting this additional privilege to mysqld.12:46
sbeattiePetrHH: after you file the bug, please add me as a subscriber to it (my launchpad id is the same as my irc nick)12:46
PetrHHsbeattie, I just tried to create new file called usr.sbin.mysqld-cqrlog and add my rules to it12:50
PetrHHand after that I restarted apparmor12:50
PetrHHand it is working12:51
PetrHHIt looks like no bugs needed12:51
sbeattiePetrHH: no, the bug is still needed; in your case, your mysql profile with the added rules happens to be winning (or really, losing) a "race" and if the apparmor int script decides to load the policies in a different order in the future, it will stop working.12:52
sbeattie(also, if we ship a mysql update with an update to its apparmor profile, your copied profile won't get the changes.)12:55
PetrHHsbeattie, Now I understand. It works because my fire rewrites rules whis were set before12:55
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
PetrHHsbeattie, Is there any way how to do it? I have ask for that directory all distributions using apparmor and wait if they agree and add directory for me13:19
PetrHHI don't thing that is good.13:20
PetrHHI know that akonadi is also using mysqld13:22
PetrHHbut it looks they have their own mysqld called mysqld-akonadi13:22
PetrHHso they just add their own rule to apparmor.d13:23
=== smb` is now known as smb
=== yofel_ is now known as yofel
cdbsAny idea why this FTBFS is happening? http://launchpadlibrarian.net/62113228/buildlog_ubuntu-natty-amd64.haveged_0.9-3ubuntu1_FAILEDTOBUILD.txt.gz Is GCC broken in natty?15:45
cdbsdoko: ^15:45
=== Quintasan_ is now known as Quintasan
cdbsOkay thanks, I got it15:56
cr3when preseeding, what's the difference between partman-partitioning/confirm_write_new_label and partman/confirm_write_new_label?16:00
=== deryck is now known as deryck[lunch]
JackyAlcinecr3: One writes a drive label, while the other a volume label.16:01
cr3JackyAlcine: thanks, exactly what I needed to know16:02
JackyAlcineNo problem.16:02
cjwatsonJackyAlcine: no, that is not correct.16:03
cjwatsoncr3: the former exists, while the latter does not (any more).16:03
cr3cjwatson: since when?16:03
cjwatsoncr3: partman-base 114, so hardy.16:04
cr3cjwatson: man, someone dropped the ball and that's me :)16:05
cjwatsonin both cases, "label" refers to the partition table (traditionally called "disklabel" especially by the BSDs)16:05
cjwatson(I know they aren't quite the same thing but the abstraction is similar)16:05
hallyntseliot: SpamapS is having broadcom troubles - dkms failed to build the module.  what manual steps can he take to get it up so he can run?16:08
tseliothallyn: I need to see the error16:09
hallyntseliot: he did symlink bcm43xx-0.fw under /lib/firmware/brcm16:09
hallynhm16:09
hallyntseliot: /var/lib/dkms/bcmwl/.../build/src/wl/sys/wl_linux.c: IN function 'wl_attach':16:09
hallyn487:3: error: implicit declaration of function 'init_MUTEX'16:09
dokocdbs: look at the config.log?16:10
cdbsdoko: I got it.16:10
tseliothallyn: that happens without the patch that I uploaded16:10
cdbsdoko: it was a simple change, the CC var was being set improperly16:10
hallynhe just updated this morning16:10
hallynnm,16:10
hallyntseliot: apparently he did not :)16:10
hallyntseliot: thanks16:10
tseliothallyn: np16:10
hallyntseliot: however, i did a dpkg -i of the kernel package this morning (to revert some test changes), and lost the firwmare links again.16:11
hallyntseliot: i just symlinked them and was back up, but assume i shouldn't have lost them16:11
tseliothallyn: firmware links?16:11
hallyn/lib/firmware/brcm/bcm43xx-0.fw and bcm43xx_hdr-0.fw16:12
hallynafter dpkg -r linux-image; dpkg -i /var/cache/apt/archive/linux-image....deb, they were gone16:12
tseliothallyn: what problem are you trying to solve?16:12
hallyntseliot: what do you mean?  i had a custom linux-image that i wanted to revert (with higher version # than current kernel)16:13
hallyntseliot: point is just that 'dpkg -r; dpkg -i' seemed to kill my broadcom firwmare setup16:13
hallyntseliot: so someone might end up having problems, is all i'm saying16:14
tseliothallyn: the modules that dkms provides should override whatever the kernel has. I'm not sure about firmwares though16:15
tseliotthis is why I was asking16:15
hallyntseliot: after wireless wasn't working i tried to remove and install 'linux-firmware', but that didn't do it.  So basically I have no idea (a) why the firmware first disappeared, or (b) where it is *supposed* to come from  (am i supposed to do some dkms command?)16:17
tseliothallyn: wait a second, the broadcom package shouldn't have anything to do with that firmware file. It only blacklists bcm43xx when you install it (it also does modprobe -r)16:21
hallyntseliot: i have no idea what removed that firmware file16:22
hallynif/when it happens again i'll try to pay more attention :)16:23
tseliotok16:24
apwpitti, hey ... seems a huge hunk of kernel's WIs have gone missing: http://people.canonical.com/~platform/workitems/natty/canonical-kernel-team.html16:37
apwpitti, aware of the cause ?16:37
pittiapw: I wasn't aware of that, no16:41
pittiapw: I added some extra textual "over time" report, but didn't change anything in the collector16:41
apwpitti, hrm, i wonder if it happened to anyone else16:42
pittiso it wasn't just your team dropping WIs for natty16:42
apwpitti, not that i am aware of, i see desktop has a smaller drop at the same time, much smaller16:43
apwpitti, but perhaps someone broke a work item list during an update16:44
apwpitti, so will investigate on that angle for now16:44
apwpitti, ok it seems to be all of one of my team members items which are gone, it must be user error, panic over16:48
=== beuno is now known as beuno-lunch
micahgdoko: a build error, foo is defined in DSO /usr/lib/bar.so is a no-add-needed error?16:50
dokomicahg: most likely, yes. build log?16:50
micahgdoko: https://bugs.launchpad.net/ubuntu/+source/libxml++2.6/+bug/699897/+attachment/1787247/+files/last_operation.log16:50
ubottuUbuntu bug 699897 in libxml++2.6 (Ubuntu) "Packaging request for libxml++ 2.33.1" [Wishlist,In progress]16:50
micahgI just want to get the terminology right when upstreaming the patch16:51
apwjdstrand, hey .. have you been post-poning work items on n-security-apparmor ?16:51
SpamapSHm, so I just updated to natty and it seems like many of my gnome settings are being ignored16:51
SpamapSerr. updated to the latest natty, been on natty a while now16:51
SpamapSkeyboard settings.. gtk theme.. all stuck at default16:52
dokomicahg: "so try adding it to the linker command line" together with the information that the referenced symbol is not in a library but in examples/dom_build/main.o16:52
micahgdoko: yeah, that works, I just wanted to know what to call it16:52
pittiapw: did your team structure change recently?16:54
=== deryck[lunch] is now known as deryck
apwpitti, turns out it is security ... they have posponed a bunch of stuff without marking them postponed, but by moving them over to a new invalid title17:00
apwi think i need to get them to copy them back ... will poke17:00
=== dendrobates is now known as dendro-afk
pittiapw: ah, that explains it, thanks!17:01
keesapw: right, we moved a huge chunk of future work out. we can dup it back as postponed if you want?17:01
pitti*phew*17:01
=== dendro-afk is now known as dendrobates
robert_ancellScottK, The recent WebKit build failed due to differing C++ symbols (there is one .symbols file in the WebKit debian/ dir).  I tried the instructions in http://pkg-kde.alioth.debian.org/symbolfiles.html, but it only modifies one symbol and the build failures show multiple symbols that conflict.  Do you know a method of making the .symbols file work in natty?17:04
pittiapw: evo says "room to be announced"17:17
robert_ancelldoko, do you have any ideas about this symbol issue? ^^^17:24
dokorobert_ancell: use the unmangled name?17:25
robert_ancelldoko, how do I do that?  I tried the pkg-kde method but it didn't seem to work17:26
dokorobert_ancell: dpkg-gensymbols(1)17:26
=== jam1 is now known as jam
* SpamapS just gives up and gets back to work on his ugly grey circa 1999 gnome desktop17:28
=== akshat_ is now known as akshatj
=== akshatj is now known as Guest75278
robert_ancelldoko, thanks17:30
=== Guest75278 is now known as akshatj
mptYokoZar, hi, I'm doing the Wine-in-USC spec now. Is there a name for that standard you've come up with for finding+removing "managed" Wine applications?17:46
=== beuno-lunch is now known as beuno
ebroderRAOF: by the way, having dug more deeply into the g-s-d code, it does set a mode when it launches, it just does so using completely different logic from when a monitor gets hotplugged. so the X patch would not be strictly necessary, but would likely make the transition a bit less flickery18:18
SpamapSslangasek: I tried 8 nfs mounts with the new portmap/statd and delays inserted in fsck/statd/portmap .. seems to work though I'm not sure why.18:20
jussiI remember Scott Remnant was working on android apps natively in ubuntu - does anyone know what happened to this? do they work, are the bits available somewhere?18:22
RAOFebroder: The g-s-d modeset-on-startup is kinda a bug - seb patched it (in Maverick?) to check a gconf key to determine whether or not to actually do that.18:25
=== dmart_ is now known as dmart
robbiewjussi: you might try asking rickspencer318:45
jussirobbiew: ok, thanks!18:46
=== dmart_ is now known as dmart
SpamapSslangasek: ok I figured it out. The reason it works ok is that mountall blocks *before* forking to run the mount command.20:32
jhunt_apw: just noticed that magic sysrq appears to be enabled in natty, although /proc/sys/kern/sysrq is 0... ?20:36
hockebockeare there any ubuntu gnome devs channel?20:41
kklimondahockebocke: most of the team responsible for gnome on Ubuntu sits in the #ubuntu-desktop20:42
ograDaviey, http://www.grawert.net:81/rooms/, http://fhem.de/fhem.html and the hw is http://www.elv.de/Sensoren/x.aspx/cid_74/detail_1/detail2_1738 and http://www.elv.de/output/controller.aspx?cid=74&detail=10&detail2=28194&flv=1&bereich=&marke= .... sorry, all german20:42
hockebockekklimonda: thanks!20:43
ograDaviey, its operating on 868,35 MHz wireless20:43
Davieyogra, thanks!20:46
kamalcjwatson, or other GRUB2 folk:  Various references claim that you need to hold the *left* shift key to get the GRUB2 menu to come up, but I find that the right shift key works just as well on the couple of machines I've tried.   Is there any truth to that "left shift only" requirement?20:48
apwjhunt_, define enabled?  which thing can you do which you expect to be disabled ??20:48
cjwatsonkamal: no truth AFAIK20:49
jhunt_apw: use magic sysrq keys (ie alt+sysrq+u)20:49
kamalcjwatson: ok thanks20:49
apwjhunt_, doens't seem to work on mine ... sysrq h works when it is 1 and not when 020:49
apwjhunt_, does h work for you?20:49
cjwatsonkamal: the code explicitly checks both left and right shift20:49
jhunt_apw: The machine is sitting next to me if you're interested.20:49
cjwatson+  if (mods >= 0 &&20:49
cjwatson+      (mods & (GRUB_TERM_STATUS_LSHIFT | GRUB_TERM_STATUS_RSHIFT)) != 0)20:49
cjwatson+    return 1;20:49
kamalcjwatson: that's pretty convincing :-)20:50
apwcjwatson, heh thanks20:50
apwjhunt_, where are you20:50
jhunt_apw: alamo 120:51
achiangspeaking of grub, is it possible for a system that is already using grub1 to migrate to grub2?20:54
cjwatsonyes, just install grub-pc20:55
cjwatsonhttps://help.ubuntu.com/community/Grub2#Upgrading%20to%20GRUB%20220:56
achiangthank you20:57
achiangdoes anyone know where software-properties stores its configuration information, such as frequency of updates, etc.? i'm poking around in there and in python-apt, but nothing is jumping out at me21:01
achiangah, narrowing in21:05
cjwatsonachiang: /etc/apt/apt.conf.d/ somewhere IIRC21:06
* achiang finds a write_config() method in software-properties that does indeed write to /etc/apt/apt.conf.d21:06
achiangthanks cjwatson21:06
achiangoh, and it writes to /etc/cron.daily/apt, etc.21:07
cjwatsonno, it just makes sure that's executable21:07
bigonis there a public list of blacklisted packages ?21:10
micahgbigon: http://people.canonical.com/~ubuntu-archive/sync-blacklist.txt21:11
bigonthx21:11
achiangcjwatson: hm, yeah. actually, i wonder if i made any progress at all on this question21:11
ScottKrobert_ancell: So far it's worked for me.  Not sure what's up.21:15
apwjhunt_, yep after reboot i have the same, and the bug is obvious ... bah21:20
apwthanks21:20
jhunt_apw: np21:21
=== mbarnett changed the topic of #ubuntu-devel to: **Launchpad down/read-only from 23:00 - 00:30 UTC for a code update** Archive: Open | Development of Ubuntu (not support, not app development) | #ubuntu for support and general discussion for dapper -> maverick | #ubuntu-app-devel for application development on Ubuntu | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://wiki.ubuntu.com/HelpingWithBugs | Current Friend
bigcx2hey all21:50
bigcx2i have a question about cdbs, namely the autotools makefile21:50
bigcx2there's a flag called DEB_CONFIGURE_SCRIPT_ENV21:51
bigcx2where the options passed into that can get pushed through to the ./configure script21:51
bigcx2is there any way to set the flag without hardcoding it in debian/rules?21:52
bigcx2aka passing it into dpkg-buildpackage, pbuilder, etc.21:52
bigcx2?21:52
cjwatsonyou can set an environment variable on calling dpkg-buildpackage and that may be passed through if you're lucky21:53
bigcx2what if i'm unlucky :/21:53
JackyAlcinebigcx2: Good chances you aren't.21:54
bigcx2yea, i'm thinking i'm unlucky21:54
bigcx2i'm trying it right now, but i don't think it will work21:54
bigcx2i was also thinking of using dpatch, but i don't think that will work for patching debian/rules either...21:55
cjwatsonno.  why not just change debian/rules?21:55
cjwatsonalso, note that if you're using debuild then you have to pass environment variables in a special way; see its manual page21:56
bigcx2the way the source of the package works is you have to pass a special environment variable to ./configure to set it up based on a given directory21:57
bigcx2i'd rather not have to have the package builder edit debian/rules if possible21:57
bigcx2looks like i'm unlucky21:58
bigcx2poop, i don't think there's any other way to get around it22:01
=== almaisan-away is now known as al-maisan
sconklinpitti: do you know what happened to the verification tags?22:47
cody-somervillecjwatson, re: LP #664115, is there a test case I can perform to verify that removing the 'udevadm settle' call doesn't break whatever it was originally added in for.22:48
ubottuLaunchpad bug 664115 in OEM Priority Project "chroot loop devices stall for extremely long periods" [High,Confirmed] https://launchpad.net/bugs/66411522:48
cody-somerville?22:48
pittisconklin: I think so; most bugs have them, but I found those which don't: bug 669279 bug 49315622:48
ubottuLaunchpad bug 669279 in alsa-driver (Ubuntu) "[ICH4 - Intel ICH6] Dell Latitude D610 - Master mixer doesn't affect headphone output" [Low,Fix committed] https://launchpad.net/bugs/66927922:48
ubottuLaunchpad bug 493156 in linux (Ubuntu Lucid) "Please enable CONFIG_TASK_DELAY_ACCT" [Undecided,Fix committed] https://launchpad.net/bugs/49315622:48
pittisconklin: the problem with those is that these bugs are filed against the wrong package22:49
pittisconklin: the latter was fixed in linux-ec2, not linux22:49
cjwatsoncody-somerville: not as such.  the original change was for either LVM or RAID installs, possibly both.22:50
sconklinit looks to me like none of the lucid ones have them. https://kernel-tools.canonical.com/srus.html22:50
sconklinall the ones with the triangle logo don't have the tags22:51
pittisconklin: unsure; I just might have forgotten to run the script for lucid, doing now22:58
bjfpitti, if you look at the url sconklin pointed you too, you can see that it needs to be run for maverick as well22:59
pittisconklin, bjf: sorry, LP just pulled the rug underneath me; need to run maverick later23:00
bjfpitti, ack23:00
ogracjwatson, can you let ti-omap4-software-channel-0.1 into the archive (its in NEW) so i can close the WI23:00
StevenKI'd suggest that isn't now, due to LP being down23:03
cjwatsonindeed23:05
ogragrmbl ... yeah, cant close WIs23:07
ogra(though the LP message is "will be down very soon")23:08
=== al-maisan is now known as almaisan-away

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