[00:09] kees: ++ for "block rare net module autoloading: INPROGRESS" :) [00:12] ebroder: hehe :) [00:12] ebroder: https://lists.ubuntu.com/archives/kernel-team/2011-January/013990.html === russellb_ is now known as russellb [02:55] mathiaz: https://bugs.launchpad.net/launchpad/+bug/650487 [02:56] Ubuntu bug 650487 in Launchpad itself "Mark new revisions since superseeded merge proposal in code review" [Low,Triaged] === 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 [11:45] Hello [11:45] my program is using mysqld and stores data in user's home directories [11:46] so I have to add one rule to /etc/apparmor.d/usr.sbin.mysqld [11:46] but I'm afraid what happens after update apparmor. Will be this file restored with default values? [11:47] May I create my own rule file and put it somewhere? Where? [11:47] Thank you for help. === Lutin is now known as Guest13856 [11:57] PetrHH: Your changes won't be overwritten. [11:57] I think that you'll be offered to keep, replace or diff the changes [11:57] PetrHH: The user will be prompted about the changes. [11:57] PetrHH: What I recommend instead is a separate file. [11:57] PetrHH: That grants the additional privileges. [12:00] soren, 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. === almaisan-away is now known as al-maisan === lan3y is now known as Laney === al-maisan is now known as almaisan-away [12:10] PetrHH: I'd rather leave that to someone who's actually any good with apparmour. jdstrand, perhaps? ^^ === almaisan-away is now known as al-maisan [12:14] soren, Thank you for your help. I'll wait for jdstrand and will ask him. [12:28] PetrHH: /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] PetrHH: 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:29] (remember to do /etc/init.d/apparmor reload after making your changes) [12:29] sbeattie, I'm afraid whe user will be prompted, he will click to drop changes and it will be gone :-) [12:30] I'd like to have packages for version 10.04 and newer [12:30] and now using 10.04 [12:33] sbeattie: Is it possible to add a completely separate file that grants additional privileges to /usr/sbin/mysqld? [12:34] sbeattie: Or will whichever is loaded last take precedence or something like that? [12:34] sbeattie: ...since this doesn't really seem like "local" modifications. They're modifications that another package wants to make. [12:37] soren: 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:38] sbeattie: 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] soren: 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:40] soren: they'll be treated as separate profiles, and one will be loaded instead of the other (last one wins, probably) [12:40] sbeattie: Ok, that's what I thought. [12:40] sbeattie: Thanks! [12:40] soren: sure [12:41] PetrHH: 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] jdstrand: Never mind, we sorted it out. [12:43] I add this @{HOME}/.config/cqrlog/database/** rwk, line to usr.sbin.mysqld [12:44] I'm not sure what you mean. I should add bug to mysql package and ask for add my line to apparmor profile? [12:45] PetrHH: No. [12:45] PetrHH: 12:37 < sbeattie> soren: the shipped apparmor policy needs to be constructed to do that, but yes, it's possible to arrange things so that [12:45] additional packages can drop files into a .d/ directory that gets automatically included. [12:46] PetrHH: 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] PetrHH: after you file the bug, please add me as a subscriber to it (my launchpad id is the same as my irc nick) [12:50] sbeattie, I just tried to create new file called usr.sbin.mysqld-cqrlog and add my rules to it [12:50] and after that I restarted apparmor [12:51] and it is working [12:51] It looks like no bugs needed [12:52] PetrHH: 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:55] (also, if we ship a mysql update with an update to its apparmor profile, your copied profile won't get the changes.) [12:55] sbeattie, Now I understand. It works because my fire rewrites rules whis were set before === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [13:19] sbeattie, 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 me [13:20] I don't thing that is good. [13:22] I know that akonadi is also using mysqld [13:22] but it looks they have their own mysqld called mysqld-akonadi [13:23] so they just add their own rule to apparmor.d === smb` is now known as smb === yofel_ is now known as yofel [15:45] Any 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] doko: ^ === Quintasan_ is now known as Quintasan [15:56] Okay thanks, I got it [16:00] when preseeding, what's the difference between partman-partitioning/confirm_write_new_label and partman/confirm_write_new_label? === deryck is now known as deryck[lunch] [16:01] cr3: One writes a drive label, while the other a volume label. [16:02] JackyAlcine: thanks, exactly what I needed to know [16:02] No problem. [16:03] JackyAlcine: no, that is not correct. [16:03] cr3: the former exists, while the latter does not (any more). [16:03] cjwatson: since when? [16:04] cr3: partman-base 114, so hardy. [16:05] cjwatson: man, someone dropped the ball and that's me :) [16:05] in both cases, "label" refers to the partition table (traditionally called "disklabel" especially by the BSDs) [16:05] (I know they aren't quite the same thing but the abstraction is similar) [16:08] tseliot: 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:09] hallyn: I need to see the error [16:09] tseliot: he did symlink bcm43xx-0.fw under /lib/firmware/brcm [16:09] hm [16:09] tseliot: /var/lib/dkms/bcmwl/.../build/src/wl/sys/wl_linux.c: IN function 'wl_attach': [16:09] 487:3: error: implicit declaration of function 'init_MUTEX' [16:10] cdbs: look at the config.log? [16:10] doko: I got it. [16:10] hallyn: that happens without the patch that I uploaded [16:10] doko: it was a simple change, the CC var was being set improperly [16:10] he just updated this morning [16:10] nm, [16:10] tseliot: apparently he did not :) [16:10] tseliot: thanks [16:10] hallyn: np [16:11] tseliot: 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] tseliot: i just symlinked them and was back up, but assume i shouldn't have lost them [16:11] hallyn: firmware links? [16:12] /lib/firmware/brcm/bcm43xx-0.fw and bcm43xx_hdr-0.fw [16:12] after dpkg -r linux-image; dpkg -i /var/cache/apt/archive/linux-image....deb, they were gone [16:12] hallyn: what problem are you trying to solve? [16:13] tseliot: what do you mean? i had a custom linux-image that i wanted to revert (with higher version # than current kernel) [16:13] tseliot: point is just that 'dpkg -r; dpkg -i' seemed to kill my broadcom firwmare setup [16:14] tseliot: so someone might end up having problems, is all i'm saying [16:15] hallyn: the modules that dkms provides should override whatever the kernel has. I'm not sure about firmwares though [16:15] this is why I was asking [16:17] tseliot: 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:21] hallyn: 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:22] tseliot: i have no idea what removed that firmware file [16:23] if/when it happens again i'll try to pay more attention :) [16:24] ok [16:37] pitti, hey ... seems a huge hunk of kernel's WIs have gone missing: http://people.canonical.com/~platform/workitems/natty/canonical-kernel-team.html [16:37] pitti, aware of the cause ? [16:41] apw: I wasn't aware of that, no [16:41] apw: I added some extra textual "over time" report, but didn't change anything in the collector [16:42] pitti, hrm, i wonder if it happened to anyone else [16:42] so it wasn't just your team dropping WIs for natty [16:43] pitti, not that i am aware of, i see desktop has a smaller drop at the same time, much smaller [16:44] pitti, but perhaps someone broke a work item list during an update [16:44] pitti, so will investigate on that angle for now [16:48] pitti, ok it seems to be all of one of my team members items which are gone, it must be user error, panic over === beuno is now known as beuno-lunch [16:50] doko: a build error, foo is defined in DSO /usr/lib/bar.so is a no-add-needed error? [16:50] micahg: most likely, yes. build log? [16:50] doko: https://bugs.launchpad.net/ubuntu/+source/libxml++2.6/+bug/699897/+attachment/1787247/+files/last_operation.log [16:50] Ubuntu bug 699897 in libxml++2.6 (Ubuntu) "Packaging request for libxml++ 2.33.1" [Wishlist,In progress] [16:51] I just want to get the terminology right when upstreaming the patch [16:51] jdstrand, hey .. have you been post-poning work items on n-security-apparmor ? [16:51] Hm, so I just updated to natty and it seems like many of my gnome settings are being ignored [16:51] err. updated to the latest natty, been on natty a while now [16:52] keyboard settings.. gtk theme.. all stuck at default [16:52] micahg: "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.o [16:52] doko: yeah, that works, I just wanted to know what to call it [16:54] apw: did your team structure change recently? === deryck[lunch] is now known as deryck [17:00] pitti, 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 title [17:00] i think i need to get them to copy them back ... will poke === dendrobates is now known as dendro-afk [17:01] apw: ah, that explains it, thanks! [17:01] apw: right, we moved a huge chunk of future work out. we can dup it back as postponed if you want? [17:01] *phew* === dendro-afk is now known as dendrobates [17:04] ScottK, 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:17] apw: evo says "room to be announced" [17:24] doko, do you have any ideas about this symbol issue? ^^^ [17:25] robert_ancell: use the unmangled name? [17:26] doko, how do I do that? I tried the pkg-kde method but it didn't seem to work [17:26] robert_ancell: dpkg-gensymbols(1) === jam1 is now known as jam [17:28] * SpamapS just gives up and gets back to work on his ugly grey circa 1999 gnome desktop === akshat_ is now known as akshatj === akshatj is now known as Guest75278 [17:30] doko, thanks === Guest75278 is now known as akshatj [17:46] YokoZar, 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? === beuno-lunch is now known as beuno [18:18] RAOF: 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 flickery [18:20] slangasek: 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:22] I 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:25] ebroder: 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. === dmart_ is now known as dmart [18:45] jussi: you might try asking rickspencer3 [18:46] robbiew: ok, thanks! === dmart_ is now known as dmart [20:32] slangasek: ok I figured it out. The reason it works ok is that mountall blocks *before* forking to run the mount command. [20:36] apw: just noticed that magic sysrq appears to be enabled in natty, although /proc/sys/kern/sysrq is 0... ? [20:41] are there any ubuntu gnome devs channel? [20:42] hockebocke: most of the team responsible for gnome on Ubuntu sits in the #ubuntu-desktop [20:42] Daviey, 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 german [20:43] kklimonda: thanks! [20:43] Daviey, its operating on 868,35 MHz wireless [20:46] ogra, thanks! [20:48] cjwatson, 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] jhunt_, define enabled? which thing can you do which you expect to be disabled ?? [20:49] kamal: no truth AFAIK [20:49] apw: use magic sysrq keys (ie alt+sysrq+u) [20:49] cjwatson: ok thanks [20:49] jhunt_, doens't seem to work on mine ... sysrq h works when it is 1 and not when 0 [20:49] jhunt_, does h work for you? [20:49] kamal: the code explicitly checks both left and right shift [20:49] apw: The machine is sitting next to me if you're interested. [20:49] + if (mods >= 0 && [20:49] + (mods & (GRUB_TERM_STATUS_LSHIFT | GRUB_TERM_STATUS_RSHIFT)) != 0) [20:49] + return 1; [20:50] cjwatson: that's pretty convincing :-) [20:50] cjwatson, heh thanks [20:50] jhunt_, where are you [20:51] apw: alamo 1 [20:54] speaking of grub, is it possible for a system that is already using grub1 to migrate to grub2? [20:55] yes, just install grub-pc [20:56] https://help.ubuntu.com/community/Grub2#Upgrading%20to%20GRUB%202 [20:57] thank you [21:01] does 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 me [21:05] ah, narrowing in [21:06] achiang: /etc/apt/apt.conf.d/ somewhere IIRC [21:06] * achiang finds a write_config() method in software-properties that does indeed write to /etc/apt/apt.conf.d [21:06] thanks cjwatson [21:07] oh, and it writes to /etc/cron.daily/apt, etc. [21:07] no, it just makes sure that's executable [21:10] is there a public list of blacklisted packages ? [21:11] bigon: http://people.canonical.com/~ubuntu-archive/sync-blacklist.txt [21:11] thx [21:11] cjwatson: hm, yeah. actually, i wonder if i made any progress at all on this question [21:15] robert_ancell: So far it's worked for me. Not sure what's up. [21:20] jhunt_, yep after reboot i have the same, and the bug is obvious ... bah [21:20] thanks [21:21] apw: np === 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 [21:50] hey all [21:50] i have a question about cdbs, namely the autotools makefile [21:51] there's a flag called DEB_CONFIGURE_SCRIPT_ENV [21:51] where the options passed into that can get pushed through to the ./configure script [21:52] is there any way to set the flag without hardcoding it in debian/rules? [21:52] aka passing it into dpkg-buildpackage, pbuilder, etc. [21:52] ? [21:53] you can set an environment variable on calling dpkg-buildpackage and that may be passed through if you're lucky [21:53] what if i'm unlucky :/ [21:54] bigcx2: Good chances you aren't. [21:54] yea, i'm thinking i'm unlucky [21:54] i'm trying it right now, but i don't think it will work [21:55] i was also thinking of using dpatch, but i don't think that will work for patching debian/rules either... [21:55] no. why not just change debian/rules? [21:56] also, note that if you're using debuild then you have to pass environment variables in a special way; see its manual page [21:57] the 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 directory [21:57] i'd rather not have to have the package builder edit debian/rules if possible [21:58] looks like i'm unlucky [22:01] poop, i don't think there's any other way to get around it === almaisan-away is now known as al-maisan [22:47] pitti: do you know what happened to the verification tags? [22:48] cjwatson, 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] Launchpad bug 664115 in OEM Priority Project "chroot loop devices stall for extremely long periods" [High,Confirmed] https://launchpad.net/bugs/664115 [22:48] ? [22:48] sconklin: I think so; most bugs have them, but I found those which don't: bug 669279 bug 493156 [22:48] Launchpad 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/669279 [22:48] Launchpad bug 493156 in linux (Ubuntu Lucid) "Please enable CONFIG_TASK_DELAY_ACCT" [Undecided,Fix committed] https://launchpad.net/bugs/493156 [22:49] sconklin: the problem with those is that these bugs are filed against the wrong package [22:49] sconklin: the latter was fixed in linux-ec2, not linux [22:50] cody-somerville: not as such. the original change was for either LVM or RAID installs, possibly both. [22:50] it looks to me like none of the lucid ones have them. https://kernel-tools.canonical.com/srus.html [22:51] all the ones with the triangle logo don't have the tags [22:58] sconklin: unsure; I just might have forgotten to run the script for lucid, doing now [22:59] pitti, if you look at the url sconklin pointed you too, you can see that it needs to be run for maverick as well [23:00] sconklin, bjf: sorry, LP just pulled the rug underneath me; need to run maverick later [23:00] pitti, ack [23:00] cjwatson, can you let ti-omap4-software-channel-0.1 into the archive (its in NEW) so i can close the WI [23:03] I'd suggest that isn't now, due to LP being down [23:05] indeed [23:07] grmbl ... yeah, cant close WIs [23:08] (though the LP message is "will be down very soon") === al-maisan is now known as almaisan-away