/srv/irclogs.ubuntu.com/2013/03/07/#ubuntu-devel.txt

=== wedgwood is now known as wedgwood_away
=== vibhav is now known as Guest48005
=== Guest48005 is now known as vibhav
=== jono is now known as Guest19637
psusicjwatson, last time uds was in Orlando and I met you in person you were on a laptop, but watching the videos this uds, I wonder... do you use a "real fucking keyboard"?  I keep hearing loud key clicks and it seems to be you.03:36
infinitypsusi: He just types very violently.03:44
=== marrusl is now known as marrusl_afk
m4n1shev: ping, have a question related to whoopsie04:14
pittiGood morning05:48
pittiGood morning05:49
dokoslangasek, online?06:10
slangasekdoko: heya06:10
pittislangasek: AFAIK the pkexec patch in http://launchpadlibrarian.net/105173889/policykit-1_0.104-2_0.104-2ubuntu1.diff.gz should be upstreamed, too, right?06:17
pittior is that Debian/Ubuntu specific somehow?06:17
slangasekpitti: hmm, I can't think of any way that it's Debian/Ubuntu-specific.  I'd say it should be upstreamed, yeah06:18
pittislangasek: do you want to send that bugs.fd.o-wards with some background, or shall I file it and CC you in case there's further questions?06:23
pittislangasek, stgraber: what did you do to make logind create the user cgroups properly? when I install logind and the pam module, logind errors wit "Failed to create cgroup name=systemd:/user/joe: No such file or directory", and passes that error to the PAM module which then aborts, too06:56
pitti(I don't see any relevant failure in strace)06:58
dholbachgood morning07:44
YokoZarCan someone illuminate how gstreamer0.10-plugins-ugly managed to get multiarched before one of its dependencies? (libcdio)  From what I can tell it's never been coinstallable, and I'm wondering how such a thing could get past -proposed07:53
SunStarthe -ugly07:58
=== tkamppeter_ is now known as tkamppeter
tjaaltontkamppeter_: hey, cups is not cleaning up it's old conffiles, like with the introduction of cups-daemon I now have two logrotate files for cups, and cron is spamming me because of that. there's also /etc/pam.d/cups left over08:13
OdyXtjaalton: please report a bug against cups-daemon on Debian/experimental, that's certainly valid there.08:20
OdyXtjaalton: ah, wait, that's handled by 666367fc1d9fcdf18b71abf2254f8c12edc67f6b already, by tkamppeter08:23
tjaaltonOdyX: oh, cool08:25
=== slacker_1l is now known as slacker_nl
OdyXtjaalton: the problem I guess is that Ubuntu got intermediary versions08:45
pabs3anyone know why the samba update hasn't been accepted into precise-updates? its two weeks past the date on https://launchpad.net/ubuntu/precise/+queue?queue_state=1&queue_text=samba08:49
=== smb` is now known as smb
olyhi, can anyone tell me if there is a way to test why webapp icons are not loaded ?09:00
olyit a common problem i have hit, where i put .png files on the system but just get a placeholder image on the left bar,09:01
olyi have no idea why, or if this is logged some where from what i can tell the paths are all correct, and i have compared against other webapps like the bbc one but mine does not work09:02
pittistgraber, slangasek: ah, we need to mount a tmpfs on /sys/fs/cgroup, so that logind can write into it09:03
pittistgraber, slangasek: I guess that woudl go into /lib/init/fstab ?09:03
infinitypabs3: I was about to apologize for not reviewing it, then realized I uploaded it.09:05
pabs3infinity: yeah, its uploaded but not accepted09:07
tjaaltonlooks like the hotkey for enabling wifi on a dell laptop I have doesn't work on raring, and it defaults to being off. is there a way to fake the key so I could enable wifi again?09:43
tjaaltonhmm according to dmesg the key works..09:44
tjaaltonoh hell, now it's working :P09:45
tjaaltoni'll get me coat..09:45
pittislangasek, stgraber: with http://paste.ubuntu.com/5592725/ it works OOTB, but needs a fix to udev to suppress udev-acl; we could also add /sys/fs/cgroup/ mounting to /lib/init/fstab, WDYT?10:01
mbiebl# systemd replaces udev-acl entirely, skip if active10:08
mbieblTEST=="/sys/fs/cgroup/systemd", TAG=="uaccess", GOTO="acl_end"10:08
mbieblpitti: that's in the latest 70-udev-acl.rules10:09
pittimbiebl: yes I know, but with above dynamic mounting in logind's upstart job /sys/fs/cgroup/ appears too late10:09
pittimbiebl: that's what I mean: if we mount it in /lib/init/fstab, it's early enough and that rule works10:09
pittimbiebl: and if we keep the late mounting, I'll drop the TEST from that rules10:09
mbieblcouldn't you just mount the cgroups in logind itself10:10
pittisame thing -- udev coldplugging happens before, and coldplugged devices get tagged with both10:10
pittialso, systemd already mounts it, I don't want to create incompatibilities; so that patch only mounts it if it isn't already10:11
mbieblpitti: maybe we could convince rleigh to add similar bits to mountkernfs.sh10:28
jamespageLaney, thanks for fixing oslo-config10:28
Laneynps10:28
pittimbiebl: systemd mounts that directory by itself, though10:28
mbieblsure10:28
pittimbiebl: so it only becomes relevant with a split, and then we need to check that systemd's mounting doesn't collide with that10:29
mbieblim talking about the sysvinit+logind part10:29
pittimbiebl: oh, mountkernfs.sh wouldn't be run by systemd I guess10:29
mbieblcorrect10:29
mbieblso if upstart does the mount in /lib/init/fstab10:29
mbieblsysvinit in mountkernfs.sh10:29
pittithen everything should work indeed10:30
mbiebland systemd itself10:30
mbieblall should be fine10:30
mbiebl(in theory)10:30
yofelcjwatson: hi, I just did a sanity check on the kubuntu packageset and noticed  that nepomuk-widgets is missing there even though it's on our images (libnepomukwidgets4). Does that need a manual override?10:40
yofelI also added plasmate to supported if you could refresh the set10:40
cjwatsonit's in desktop-core, presumably bindings10:41
cjwatsonI guess both that and nepomuk-widgets are functionally maintained by Kubuntu so should be overridden10:41
yofelit's part of the KDE SC, so it is maintained by us10:42
cjwatsons/nepomuk-widgets/nepomuk-core/ - but that's actually already overridden10:43
yofelno, those are 2 different things10:43
cjwatsoner yes I know10:43
cjwatsonI was saying that both belong in the kubuntu packageset10:43
yofelhm, I got the set with "./edit-acl -P kubuntu -S raring query"10:44
yofeland that doesn't show nepomuk-widgets10:44
cjwatsonsorry I'm being confusing due to not enough coffee and unfamiliar keyboard10:44
cjwatsonI understand your request and am acting on it10:44
yofelhehe10:44
cjwatsonnepomuk-widgets moved10:45
yofelthanks!10:45
cjwatsonand I'll refresh the autogenerated data now10:45
xnox"your call is important to us, please hold the line, while we familiarise ourself with a new keyboard." =)))))))))))10:51
cjwatsonat least it isn't French layout :-P10:53
seb128\o/ azerty :p10:53
seb128you guys just don't know what you are missing ;-)10:54
cjwatsonthe ability not to type numbers?10:54
seb128that's what the keypad is for :p10:54
cjwatsonI'd use UK layout on this US keyboard except of course it has one fewer key and it's kind of useful to be able to type \|10:55
ogra_so french people dont use laptops ? or are french laptops extra wide to fi a numpad on ?10:58
didrockson an US keyboard with an azerty layout, you are missing * and µ. The latter, well, don't really used it since I finished my study. The first one is more worrying :)10:58
ogra_*fit10:58
didrocksogra_: I always use "shift"10:58
seb128ogra_, numbers are overrated :p10:58
ogra_and then a numpad magically slides out of the side of your laptop ?10:59
ogra_:)10:59
=== Sweetsha1k is now known as Sweetshark
cjwatsonogra_: subscribe11:00
xnoxogra_: it's in the cd-tray ;-)11:02
ogra_haha11:04
evm4n1sh: pong11:06
zequenceI'm having some trouble debugging why the Ubuntu Studio ISO is not building. Was wondering if anyone could take a look, and perhaps point me in the right direction. Ever since I edited the seeds (I did some restructuring - and I'm new at this) we get these type of build logs http://people.canonical.com/~ubuntu-archive/livefs-build-logs/raring/ubuntustudio-dvd/20130306/livecd-20130306-amd64.out11:15
zequencethe seeds are at lp:~ubuntustudio-dev/ubuntu-seeds/ubuntustudio.raring11:16
cjwatsonodd.  easiest way to debug it is probably going to be to attempt a matching local build11:19
cjwatsonI'll have a go at that11:19
yofelcjwatson: hm, did the auto-refresh finish? nepomuk-widgets got added fine (and emacs24 for some reason), but plasmate not and if I did a mistake I don't see it.11:20
zequencecjwatson: Thanks a bunch11:21
cjwatsonyofel: the data generation did, but actually putting it into LP needs another step11:21
* cjwatson runs that11:22
yofelah ok, sorry for impatient then ^^11:22
yofel*for being11:22
pabs3infinity: so, who should I ping about the samba update?11:23
cjwatsonyofel: done now11:26
yofelcjwatson: perfect, thanks a lot!11:28
infinitypabs3: Someone in ubuntu-sru who isn't me, since we don't self-review our own uploads.11:29
infinitypabs3: But I'll work on the queue tomorrow to shrink it, so the ones left over become more obvious to others. :P11:29
mlankhorst:D11:29
pabs3infinity: cool, thanks :)11:29
zequencecjwatson: Do you have some nice resources on how to set up a local build system, that matches Ubuntus'?12:14
cjwatsonhttps://lists.ubuntu.com/archives/ubuntu-devel/2011-June/033458.html12:14
zequencecjwatson: Ah, great!12:14
=== MacSlow is now known as MacSlow|lunch
=== _salem is now known as salem_
zequencecjwatson: I suspect that /usr/share/livecd-rootfs/live-build/auto/config has something to with it. Didn't realize that needed to be adjusted in case of a restructuring of the seeds.13:20
zequenceI've removed some seed files, and restructured13:20
zequenceAlso changed the metas13:21
zequenceAll though.. I've kept the old metas as transitional13:22
zequenceSo, I guess that was not it then..13:22
zequenceForgot about the transitional metas13:23
cjwatsonzequence: It'll be about task names rather than metapackages.  I'll take care of it13:25
cjwatsonIt's trying to look up the ubuntustudio-audio-plugins task and failing13:25
zequencecjwatson: Aha. Ok. Yes, I removed it as a task.13:26
cjwatsonMicah half-fixed it but didn't quite do it all13:26
jdstrandxnox: re consolekit> ack. search started, though it'll take a while13:27
zequencecjwatson: What I was trying to do was to make sure ubuntustudio-audio-plugins did not show up on the alternate installer as a task13:27
xnoxjdstrand: awesome, thanks.13:27
cjwatsonzequence: Yes, I updated tasksel the other day to match your changes13:27
zequencecjwatson: So, the seeds are correct then? Where is the error?13:28
xnoxjdstrand: do we not have hadoop cluster of the unpacked sources?13:28
cjwatsonzequence: livecd-rootfs 2.110 (just uploaded) should fix it13:28
zequencecjwatson: Thanks.13:28
xnoxjdstrand: i recompressed all debs of all the archive in about 8 hours using tiny instances and juju.13:29
xnoxi guess it would still take a while for grepping.13:29
jdstrandxnox: not that I'm aware of13:29
xnoxok. and spinning one up just for consolekit sounds a bit over-engineered =)13:30
jdstrandit has been a goal to have the ability for anyone to do this sort of grep without a local mirror, but alas, long todo list13:30
xnoxjdstrand: well in the cloud one does have almost infinite bandwidth to a mirror on the same network. So in my case I was doing `apt-get download` well one could be doing `apt-get source` and do a grep.13:31
=== MacSlow|lunch is now known as MacSlow
xnoxand then it's just a question of how many instances one has available and partitioning the job between them.13:32
* jdstrand nods13:32
jdstrandit would probably be fun to work on (please refer to previous said long todo list :)13:33
xnox=))))))13:33
pittislangasek, stgraber: FYI, these systemd modifications plus my embarassing hack, plus a logind-ified polkit are in https://launchpad.net/~ubuntu-core-dev/+archive/logind13:33
* xnox ELOOPDETECTED13:33
jdstrandhehe13:33
ogra_yay embarassing hacks !13:35
zuldidrocks: ping13:45
njinxnox, are you working on the new ubiquity ?13:53
njinhallo, sorry ^^13:54
xnoxnjin: i'm hacking on ubiquity, what's up? =)13:57
njinI'm writing the testcase for upgrade ubuntu step from cd , but when I run it , it requre everything (timezone, layout,ecc.) are you planning to adjust this step '13:59
njinxnox:^^13:59
njinhmmm, it require password too14:00
njin* '/?14:00
xnoxnjin: yes, it does at the moment. Since you are reinstalling afresh, while preserving some data.14:02
njinxnox, then is not planned any modification on these steps ?14:03
xnoxnjin: i'm not working on that part of the installer at the moment. Our preffered way to upgrade people is via upgrade-manager / do-release-upgrade.14:05
xnoxand it's not high priority at the moment either for others on the installer team.14:05
xnoxnjin: do you have thoughts on how to improve it?14:05
njinxnox: jump directly to the upgrade without asking nothing , but well, if it is not an urgent thing i can write down the testcase without problems, Thanks14:09
xnoxnjin: ok.14:09
infinityxnox: All that data should be easily scrapable from the installed system with minimal effort.  user/password being the only sticky one, but surely in-place upgrades preserve passwd/shadow/group/gshadow anyway, or it's not much of an "upgrade"...14:14
stgraberpitti: ah right, here I've got cgroup-lite installed so /sys/fs/cgroup is already a tmpfs as cgroup-lite mounts it as one14:15
pittistgraber: ah, that explains it14:15
stgraberpitti: if we decide to mount a tmpfs on /sys/fs/cgroup from mountall, we'd need to make sure we don't break cgroup-lite in the process14:15
stgraber(which may try to double-mount the path)14:16
pittiright, we need to avoid that14:16
* xnox we have volunteer to fix up ubiquity-ugprade. Thanks a lot infinity =)))))14:16
pittistgraber: but we need to check that also if logind mounts it in the upstart job14:16
pittistgraber: i. e. if logind's job starts before cgroup-lite's14:16
pittistgraber: I take it it mounts it in cgroup-lite's upstart/init script?14:16
xnoxinfinity: true, but there are tweaks and bugfixes needed, apperantly we were wiping mythtv mysql database on in-place upgrade and other similar bugs.14:16
xnoxit is fragile at the moment.14:17
infinityxnox: Yeah, the "fix" for the mythtv bug highlighted a massive design flaw, really.14:17
pittistgraber: it's a race condition either way, of course14:17
infinityxnox: The assumption that none of /var is valuable, except a few whitelisted directories is bound to be very fragile.14:17
xnoxinfinity: i haven't looked into it to be honest. Where was the fix? Oh =)14:18
infinityxnox: Honestly, I'd be happier if we just removed the option from the installer, but others may disagree.14:18
xnoxbdmurray wants to remove it =)14:18
stgraberpitti: I think both should check if /sys/fs/cgroup is already mounted and only mount it if it's not. There still could be a race if both check+mount run at the exact same time, but that should be very unlikely14:19
xnoxinfinity: i'd be happy to remove it, if we have a way to preseed "keep /home partition unformatted" and or "wipe everything, but preserve /home" but it's more or less same can of warms.14:19
xnoxs/warms/worms/14:19
infinityxnox: Of course, the irony is that, for all the reasons it's an awful way to upgrade a complex desktop system, code very very similar to that may be an ideal way to upgrade phone/tablet installations.14:19
stgraberpitti: though I'm not opposed to having this part of our default mountpoints, configured as a very small tmpfs (similar to /run/lock) and mounted by mountall (/lib/init/fstab) so that it's done before anything else14:19
pittiif [ -n "`grep /sys/fs/cgroup /proc/mounts`" ]; then14:20
pittiurgh14:20
xnoxinfinity: well at the single-image-update session we are leaning to limit our self and make the core-os image read-only, that is less fragile to update, yet still can break the rest of the user-space.14:20
pittistgraber: ^ that's what /bin/cgroups-mount does14:20
pittistgraber: mountpoint -q would certainly be more efficient, but it does the job14:20
stgraberpitti: ah good, so cgroup-lite DTRT. So we could simply copy/paste that to the pre-start for logind I guess14:21
infinityxnox: Hrm?  Running a union filesystem, then?14:21
pittistgraber: see the pastebin, I do something liek that14:21
infinityxnox: That brings in a bunch of other bugs.14:21
xnoxinfinity: no, no unions. But the handwaving technology will teach dpkg about multiple databases of installed packages such that it all just works (tm)14:23
xnoxps. duct tape sold separately.14:23
infinityxnox: That doesn't instill confidence.  But, uhm.  Okay.14:23
stgraberpitti: I remember having some weirdness happening with mountpoint disagreeing on whether something was actually a mountpoint, but /sys/fs/cgroup isn't one of those weird cases, so it's definitely cleaner than the grep14:23
xnoxinfinity: stgraber is assignee, so expect lxc technology and edubuntu logo to sneak in.14:24
* infinity notes that having UDS double-booked with another conference on the other side of the planet was less than ideal for him.14:25
infinityI'll catch up next week, I guess.14:25
psusisay, who do you talk to about the single signon service being broken?  even when I click the support link and select problems logging on, I just get a submit link that doesn't take any information and just goes straight to thanks, we'll be in touch shortly...  wtf?14:29
dobeypsusi: #canonical-isd14:30
mitya57Laney: for the record, pyxdg cannot be in sync with Debian because don't have set_default_menu.diff, but Debian should have it14:45
mitya57*we don't have14:46
=== wedgwood_away is now known as wedgwood
* mitya57 wonders if we are freezing today14:50
xnoxmitya57: i believe we are. standard time.14:51
Laneymitya57: hmm, its dropping wasn't mentioned in the merge - that's weird14:51
LaneyI can't see why that patch would cause Ubuntu any problems though14:51
mitya57Laney: it is mentioned in seb128's earlier changelog entry14:52
Laneyso the "remaining changes" missed that one14:52
mitya57yes14:52
mitya57looks like you are right, it just adds a fallback so shouldn't cause any harm14:53
Laneybut the menu-xdg dep is gone now14:53
Laneyin Debian14:53
mitya57dholbach: looks like we missed the chance to upload the new ubuntu-packaging-guide :)14:55
mitya57apart from that, I'm ready to the freeze14:55
mitya57ah, and I also have bug 1152007 ...14:55
ubottubug 1152007 in python-secretstorage (Ubuntu) "Sync python-secretstorage 0.9.0-1 (universe) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/115200714:55
seb128Laney, mitya57: sorry, I tend to copy the previous merge's summary as a start point, I must have forgotten to update it with the extra diff added in between14:56
tumbleweedmitya57: you have until 8pm14:57
Laneymitya57: I generally tend to like it when sync requests say /why/ the sync is being requested14:58
Laneylike some compelling new features / bug fixes / ...14:58
evbdmurray: heads up: https://bugs.launchpad.net/daisy/+bug/115220614:58
ubottuLaunchpad bug 1152206 in Daisy "Repair overcounts" [Undecided,New]14:58
mitya57tumbleweed: it has NEW binaries, so we missed it14:59
tumbleweedmitya57: in the queue before freeze is ok (historically)14:59
Laneyyeah, should be fine14:59
tumbleweedoh, debian New queue. historically, that was OK too14:59
tumbleweedbut of course, the debian new queue is MASSIVE atm14:59
mitya57tumbleweed: we can upload it to Ubuntu, and later make a Debian upload15:00
Laneys/later/simultaneously/15:00
xnoxyeah, I'd like boost1.53 =)15:00
tumbleweedbuy your favorite ftp-master beer :P15:00
mitya57Laney: s/simultaneously/when I finish the Python 3 port/15:01
Laneyis that more of a blocker for debian than us?15:01
=== chuck_ is now known as zul
=== kentb-out is now known as kentb
mitya57Laney: it's a blocker for "upstream" release, but yes, we can upload it to Debian if we find Andrew SB15:02
* Laney decides to try sponsor-patch again (does it work for syncs?)15:02
tumbleweedyes15:02
* mitya57 is updating the bug description15:02
* tumbleweed debates uploading a pypy pre-2.0 snapshot (it gained ARM JIT support)15:04
* mitya57 updated the description15:08
Laneymerci15:09
=== marrusl_afk is now known as marrusl
mitya57Laney: thanks!15:10
zulmterry:  hey15:10
cjwatsonpsusi: keyboard> I have a new laptop that has a rather clickier keyboard than the previous one15:21
psusilol15:21
cjwatsonand yeah, I'm not the most delicate of typists :-)15:22
mterryzul, hi15:25
zulmterry:  we should be good for python-json-patch now15:25
mterryzul, I thought we were already good (I approved it yesterday)15:28
zulmterry:  cool thanks15:30
mitya57Laney: thanks again, and enjoy http://anonscm.debian.org/viewvc/python-modules/packages/pyxdg/?view=log15:39
LaneyI *do* enjoy!15:39
bdmurraybarry: did you ever look at bug 1094218?  the most recent comment is interesting.15:43
ubottubug 1094218 in lsb (Ubuntu) "lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No child processes" [Medium,Confirmed] https://launchpad.net/bugs/109421815:43
sforsheeslangasek, cjwatson: do either of you have any idea why we'd hang while booting when efivarfs fails to mount?15:48
barrybdmurray: i'll take a look now15:59
mitya57dholbach: I've ported add-languages to Python 3, feel free to upload :)16:10
barrymitya57: \o/16:10
dholbachmitya57, good work! :)16:11
dholbachmitya57, I'm in the middle of 5 things right now - mind pinging somebody else to sponsor it?16:11
* dholbach hugs mitya5716:11
mitya57anybody able to upload ubuntu-packaging-guide? ^^16:15
* mitya57 hugs dholbach back16:16
mitya57bdrung ^^16:16
=== Tonio__ is now known as Tonio_aw
barrybdmurray: comments added16:32
bdmurraybarry: thanks16:42
barrybdmurray: let's see what they say ;)16:42
brendanddo we not patch dch to allow specifying launchpad bugs for --closes?16:45
brendandor is there an alternative version available? like 'uch', heh16:46
* tumbleweed has a shell wrapper around dch, called uch :P16:51
user99999hello17:29
BenCcyphermox: Re: NM bug, the driver is not at fault17:42
BenCIt is a static 10G connection, doesn't support auto-negotiation, not does it report link status (if it's up, it's carrier is reported as linked)17:42
BenCMany other drivers also do this because the underlying hardware doesn't have link detection17:42
xnoxBenC: we love powerpc =) would you want to push for lts hwe? or are you interested in raring only?17:44
BenCxnox: If raring releases next month, I'm not too concerned about back-porting :)17:44
xnoxBenC: =) heh, touche.17:45
BenCxnox: precise would need lots of extras (qemu, installer, cdimage updates) to be worth it, and I'm not sure the effort is warranted17:45
=== stokachu_ is now known as stokachu
xnoxsure.17:45
BenCxnox: but I appreciate the support17:46
=== directhe` is now known as directhex
xnoxBenC: =) np, yw.17:47
slangaseksforshee: because a missing mount point for an optional mount is ignorable, but a failed mount is an error; mountall doesn't know which virtual mounts are "important" or not, and indeed if you're booting under efi and you don't mount efivarfs, bootloader installs / upgrades won't DTRT18:03
slangaseksforshee: what made the mount fail for you?18:03
sforsheeslangasek, it's a kernel bug in 3.9 that also got into 3.8 stable18:05
* slangasek nods18:05
sforsheethere's a fix coming down the pipe, just wondered why the machines couldn't continue booting18:05
slangaseksforshee: because mountall doesn't presume to know which mounts are important; consider if /proc failed to mount and it carried on booting18:06
slangasek /proc is more important than efivarfs, but they're both important and mountall doesn't play favorites18:06
sforsheeslangasek, okay. When this happened to me I got nothing but a blank screen. Shouldn't we at least display some kind of error message?18:06
slangasek(TBH, if you told me that we *should* play favorites, I'm not sure I have a way to do that in mountall today; but if you think efivarfs failures should be non-fatal, I could look into that)18:08
slangaseksforshee: well, that's tricky, because the dependency chain for showing prompts to the user is virtualfs -> udev -> plymouth18:08
slangasekwe probably *should* say something on console too18:08
sforsheeslangasek, I definitely think what happens now isn't very good18:09
sforsheeI don't feel qualified to say whether or not efivarfs is critical, but it seems to me like it wouldn't be18:10
slangasekfor comparison, here's the full list of 'optional' filesystems that mountall deals with in this particular way; none of which have been reported as a problem before now: http://paste.ubuntu.com/5593851/18:10
slangasekI do think we want a message on console.  Can you file a bug against mountall for this?18:11
sforsheeslangasek, sure18:11
cjwatsonAs slangasek says, there are some hidden issues if you then try to upgrade the boot loader - in particular if you're running in secure boot mode the lack of efivarfs will (currently) have the effect that a boot loader upgrade will silently install an unsigned boot loader and your *next* attempt to boot will crash and burn18:12
sforsheecjwatson, yeah that would be a problem18:12
cjwatsonI say "currently" because this is something we've agreed to change anyway, but ...18:12
slangaseksforshee: related bug: bug #61086918:14
ubottubug 610869 in mountall (Ubuntu) "mountall ignores nofail mount option" [Medium,Triaged] https://launchpad.net/bugs/61086918:14
slangasek(so, if we really wanted to ignore the failure, we would need to fix that bug first)18:15
slangasekpitti: polkit forwarding to bugs.fd.o> I would be grateful if you would file that bug and CC me18:16
sforsheeslangasek, bug #115227418:17
ubottubug 1152274 in mountall (Ubuntu) "filesystem mount failures during boot halt boot with a blank screen" [Undecided,New] https://launchpad.net/bugs/115227418:17
slangaseksforshee: cheers18:17
=== deryck is now known as deryck[lunch]
=== zyga_ is now known as zyga
smoserpsusi, ping.18:36
psusismoser: pong18:37
smoserhey.18:37
smosermy query today is reguarding your comments on eatmydata18:37
smoserdo you have that work collected anywhere?18:37
psusiI filed a bug report... let me see18:38
smosermy interest is for use in cloud-images.  when a stock cloud-image is booted, quite often the first thing that is done is a slew of packages installed...18:38
psusibug #112631418:38
ubottubug 1126314 in debootstrap (Ubuntu) "Debootstrap is very slow. Please use eatmydata to fix this." [Undecided,New] https://launchpad.net/bugs/112631418:38
smoserand often that is orchestrated by cloud-init. if it was easy to do, cloud-init could utilize that path to make that initial install happen faster (as nothing user-data worrysome has happened at that point)18:39
psusiyep, that's the idea18:39
smoserat very least, i guess cloud-init should invoke apt-get update with --force-unsafe-io18:39
slangasekI thought we were using dpkg --force-unsafe-io for install/bootstrap?18:39
slangasekah, for apt-get18:39
psusiwe do, but that does very little18:39
jtaylorits less effective18:39
smoserwe do for install and bootstrap.18:39
mlankhorsteven with --force-unsafe-io it still flushes some updates synchronously18:40
psusistill flushes /most/... that option gets rid of rather few syncs18:40
slangasekhmm18:40
cyphermoxBenC: ok, then with the logs you added to the bug I'll circle back and send it upstream for fixin'18:41
smoserpsusi, did you (or is there already) a obvious/easy way to use eatmydata?18:41
psusiI tried to post a patch a year or two back to fix it and it was rejected by the dpkg maintainers and they said to use eatmydata instead, since that would also get rid of any syncs that happen as a result of the maintainer scripts18:41
slangasekwell, that's true, but dpkg is the main offender :P18:41
smoserah. i see more data in debian bug18:42
slangasekI guess cjwatson may weigh in on the bug18:42
psusiI'm not sure what you mean... I patched debootstrap to forcibly add the package to the required list so it gets unpacked right away, then set the LD_PRELOAD environment variable so it gets used during the rest of the bootstrap18:42
psusicjwatson suggested adding the LD_PRELOAD to in-target for the rest of d-i to leverage it18:42
* smoser chuckles at the idea of filing MIR for eatmydata, but that would be necessary for cloud-image usage.18:43
jtaylorI use eatmydata for all my installs since its available, it significantly reduces the time, usually takes longer to type in your credentials and stuff18:43
psusialso required for the debootstrap patch18:44
psusito be priority:required ( or forced there by debootstrap ) it has to be in main18:45
smoserok. so heres an opportunity for everyone to laugh at the ignorance of smoser.18:46
smoserbut if i have an install and have data i care about on a different filesystem than my OS (where dpkg is writing to)18:47
smoserthen why would i want or care for dpkg to call fsync for me.18:47
smosermostly its just ensuring that 100% reproducible data gets written to its target in that case.18:47
psusithe idea is that if the power goes out while you are installing or upgrading, you don't corrupt your dpkg database, or end up with packages that are partially upgraded and thus, horribly broken18:48
smoseryeah, that makes sense. but if i've separated OS data (extremely reproducible) from non-OS data, i have increased risk of data i cannot reproduce by using eatmydata for apt.18:50
psusithat reminds me, I guess the next step to that MIR is to add it to a seed18:51
psusiI'm not following18:52
marruslhello!  i have a question about old gnome libraries (specifically: libgnome-desktop-2-17 and libgnomeprint (and printui)).  Can one safely assume they'll at least be in the archives (if not main) for a very long time?18:52
psusiwhat does apt have to do with your music and video collection? ;)18:52
smoserpsusi, it has nothing to do with it. thats what i'm saying.18:53
lifelesspsusi: if this is for image creation why not do it on tmpfs?18:53
smoseri dont really care about fsync() on data that i can reproduce.18:53
psusilifeless: this is for normal installation in my case, and cloud images in smoser's18:53
smoseroutside of time recovering, i dont lose anything.18:53
psusiyou can't readily reproduce the dpkg status database without reinstalling, and a half upgraded package can leave the system unbootable, so your average user wants to make sure those don't happen...18:54
smoserlifeless, interesting comment at http://glandium.org/blog/?p=116918:56
smoser" It might just be btrfs. And the best part yet is that since sync() is global, even when running pbuilder over, say, tmpfs, it doesn’t change a damn thing."18:56
smoserbut i think that might be wrong.18:57
psusidpkg doesn't yse sync()... it uses fsync() and sync_file_range()18:58
smoserpsusi, yeah, thats what iw oudl have thought18:58
lifelessso something else might be calling sync18:58
lifelessit only takes on maintainer script :)18:59
lifelessor say updating a database that calls sync18:59
psusiI think someone at some point a few years back suggested having it use one sync() instead of a dozen fsyncs() and the response to that was no, since sync() is global it would flush a bunch of unrelated writes18:59
lifelessprobably want to instrument it and find out where it is coming from18:59
psusiit's coming from dpkg ;)18:59
lifelesswhat dpkg actually needs is barriers18:59
psusiright, but there's no user space api for them18:59
lifelessyeah. sadface.19:00
lifelesspsusi: I thought dpkg uses fsync and sync_file_range.19:00
lifelesspsusi: so I'm saying that that blog author is on crack, or has something *else* calling sync() :)19:00
smoserlifeless, thats what i think too.19:01
psusilifeless: or it may have been written when they were trying to use sync() in dpkg instead of fsync and sync_file_range19:01
lifelesspsusi: 2010-10, we can check that19:06
psusiI also found a kernel bug the other day that is hurting things too... iirc, dpkg uses sync_file_range to attempt to initiate background writeout early, then calls it later with the flag to wait until the writeout has finished... seems the kernel implementation was still doing a synchronous write without the wait flag19:06
psusiI think the hope was that it could unpack all of the files in a single pakcage, initiating writeout on each file, then doing one wait at the end, and this was supposed to be the best way to get both speed and safety... but with the kernel treating every individual file's non blocking sync_file_range as a blocking sync, that's got to hurt the performance considerably19:08
psusilet's see here, what seed should eatmydata be added to?19:10
slangasekpsusi, lifeless: or we could just declare the kernel filesystem designers to be on crack, and require data=ordered semantics for all filesystems we support in Ubuntu? :)19:18
psusidata=ordered *is* the default19:21
lifelessslangasek: its metadata out of order that hurts isn't it?19:22
slangasekpsusi: data=ordered is the *default*, but all the stupid tricks that userspace software is using these days to enforce syncing (including dpkg, and firefox) is effectively a workaround for filesystems *not* using that default19:23
slangaseklifeless: data=ordered is what ensures that the data is written before the metadata19:23
slangasek(in ext4 terminology)19:23
psusislangasek: no... filesystems do use that default, and the workarounds are to deal with the fact that there is no api to express to the kernel that this file should be synced first, *then* renamed19:24
slangasekbut this is only a default for ext4, users have the ability to change it; and xfs and btrfs don't give this guarantee19:24
slangasekpsusi: you don't *need* to express "sync, then rename" if data=ordered is in effect19:24
slangasekwhich is why I'm saying we should renegotiate this contract with the kernel19:24
psusiyea, you do, that's why dpkg is doing so much syncing19:25
slangasekno, it's not19:25
slangasekdpkg is doing this *because it can't rely on the default filesystem options*19:25
lifelessping, pong, ping, pong19:25
lifelessso did ext4, during the terror release, not have that default?19:25
psusithere are no nfilesystem options to fix it19:25
lifelesswhat was with the 0 length files...19:25
lifelessIIRC it was directory content being considered not file metadata, and not being ordered.19:26
psusithe zero length files happened when people were using data=writeback19:26
slangasekso what we should do, instead of making this the userspace's problem and making everything slower as a result, is to enforce data=ordered as an architecture requirement for the OS and homedir filesystem19:26
slangaseklifeless: correct; for a brief period, data=ordered was not the default19:26
psusino slangasek, data=ordered does not fix the problem19:27
psusinow I would argue that it *should*, but it doesn't...19:27
slangasekpsusi: you admit that dpkg is trying to ensure that the data is written to disk before the rename.  This is exactly what data=ordered gives you, with no further userspace acrobatics.19:28
psusinope, it doesn't19:28
slangasekpsusi: that is the DEFINITION of data=ordered.  Prove otherwise.19:29
psusisee the big huge arguments between ted tso and the dpkg maintainers 2 years back ;)19:29
SunStarnothing you can paste?19:29
slangasekI was there for the argument; I'm not going to waste my time rereading it19:30
slangasekI'm quoting the definition of data=ordered from the manpage, the burden of proof is yours19:30
* SpamapS wonders if the solution isn't just "cheaper SSDs"19:31
slangasekSpamapS: that's a bandaid19:31
psusislangasek: I agree that it how it should work, but the reason they added all the syncing to dpkg is because it doesn't19:31
slangasekpsusi: citation needed.19:32
SpamapSslangasek: a pretty good one :)19:32
lifelesspsusi: https://www.kernel.org/doc/Documentation/filesystems/ext4.txt19:32
lifelesspsusi: auto_da_alloc19:32
slangasekSpamapS: except for all the cases where an SSD isn't fit for purpose, or you have so much data that the I/O itself (rather than the disk write) becomes a bottleneck19:33
lifelesspsusi: thats the thing ted added19:33
lifelesspsusi: after every developer everywhere called ext4 crack :)19:33
slangasekSpamapS: and "cheaper" != "free"; it's still a crap situation for all your existing hardware19:33
psusilifeless: yea, and then the dpkg devs complained because it didn't work, and ted told them they were doing it wrong, add more syncs19:34
SpamapSone might view existing hardware as a liability if it complicates one's software.19:34
lifelesspsusi: I don't recall that; can you point me at the thread?19:34
psusilooking for it now...19:34
slangasekSpamapS: we don't need to complicate the software, we just need to get a sane contract for userspace19:36
slangasekdata=ordered, which Linux userspace had assumed for over a decade *was* that contract because it was the only behavior ext{2,3} provided, would be sane19:36
slangasekleave data=$other for domain-specific usage, but keep it the heck away from the OS filesystem19:37
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== ajmitch_ is now known as ajmitch
=== deryck[lunch] is now known as deryck
frafuHi, I am a member of the onboard development team. We just released an update of Onboard, the onscreen keyboard shipping by default with Ubuntu, that includes new features  also targeted to the nexus 7. I have packaged it for raring. Could anybody with the necessary upload rights please put it into main before feature freeze kicks in? The necessary files are all available here:19:50
frafuhttps://bugs.launchpad.net/ubuntu/+source/onboard/+bug/115228219:50
ubottuLaunchpad bug 1152282 in onboard (Ubuntu) "Onboard update (version 0.99~alpha2~tr1371) available for raring" [Undecided,New]19:50
micahgfrafu: I was going to ask, any reason why you're not at beta since today is feature freeze, or is the alpha effectively feature frozen?19:51
frafuWe are calling it alpha because it still misses a few features like the possibility to select a different language than the system language.19:54
frafuBut you can consider it as feature frozen, as we intend to provide updates to it without adding new features.19:56
micahgfrafu: ok, I was just concerned with someone not release quality ending up in raring19:57
psusislangasek, lifeless: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605009#14719:58
ubottuDebian bug 605009 in dpkg "serious performance regression with ext4" [Important,Fixed]19:58
slangasekpsusi: he's not talking about data=ordered.19:59
slangasekhe's *explicitly* talking about things that aren't data=ordered.19:59
psusino, he's saying that no matter what mount option you use, you can not rely on rename() to leave you with either before or after file over a crash, unless you fsync first, which is why that's what dpkg does now... a fwe comments above, the dpkg maintainer was hoping to just make nodelalloc the default and take all the syncs back out20:00
slangasek"fsync() has always been the only guarantee that files would be on disk" - absolutely correct, and absolutely irrelevant to the question at hand.20:01
psusithe question at hand is how to make sure rename doesn't leave you with the new, empty file20:01
psusithe answer is you fsync, not you use data=ordered20:01
slangasekyes, and *data=ordered does that*20:01
slangasekand nothing in the mail you link to contradicts this20:01
psusithe mail is ted saying you have to use fsync, full stop... not use data=ordered20:02
slangasekNO20:02
slangasekyou have to use fsync IF YOU WANT TO ENSURE THE DATA IS WRITTEN TO DISK20:02
slangasekwhich is NOT what we are trying to ensure20:03
slangasekwe are trying to ensure that the metadata is not changed BEFORE the data is written to disk20:03
slangasekthis is exactly what Ted has gotten wrong - he's failed to understand what userspace apps actually need in the common case20:04
psusia few comments up from there, the dpk gmaintanier said what we require is that after a crash, the file is either the old version, or the new version... not the new version, but with all zeros because the data has not been flushed yet20:04
slangasekcorrect20:05
slangasekfulfilling this requirement in no way involves a guarantee that the file has been written to disk20:05
slangasekit only involves a guarantee of the *order* of writing things to disk20:05
psusiright... that's all dpkg cares about... but according to ted, there is no way to do that other than to fsync20:06
micahgfrafu: I"ll try to upload it if no one beats me to it, but I have 4 things in my queue ahead of it20:06
slangasekpsusi: no, that's not what Ted said20:06
psusii.e. data=ordered doesn't take care of it20:06
frafu<micahg> There are still a few points that might be a bit rough, like the Small layout, that needs a bit of rework to call it really ready for release, but generally, this release represents a good improvement compared to the version currently available in main.20:06
slangasekfsync() is a guarantee that the file gets written to disk, which we explicitly /don't/ care about20:07
psusislangasek: right.. so you get more than you want with fsync()... ted's saying too bad... a rename() without the fsync does NOT give the required behavior, except as an accident on ext3...20:07
micahgfrafu: ok, well, keep in mind that you still have about 6 weeks for polish before final freeze20:08
slangasekpsusi: "except as an accident on ext3 because ext3 had data=ordered semantics"20:08
slangasekthis is the key point20:08
psusiand so does ext4, yet you still have to fsync20:08
slangasekTed doesn't *want* to give a data=ordered guarantee, therefore he's discounting that in the argument20:08
slangasekno, you don't have to fsync if you have ext4 with data=ordered20:09
slangasekbut you have to fsync because you don't *know* if you have data=ordered20:09
psusithen why did ted not say you either have to fsync, OR use data=ordered?  he said you have to fsync, period. on any fs, with any mount options.20:09
slangasekno, he said "you have to use fsync, period" because he doesn't want userspace apps making assumptions about filesystem options20:10
slangasekwhich is a reasonable position for him to take20:11
slangasekprovided that we actually agree on what the baseline filesystem semantics should be, which we do not. :)20:11
psusithen why did the dpkg maintainers not just say to hell with it, if people use data=writeback, that's their problem?20:11
slangasekbecause the dpkg maintainers are equally conservative20:11
slangasekand it's not the dpkg maintainers' purview to try to make that decision20:12
psusihe sure seemed to want to just set the default mount options to sane values and take out the syncs20:12
slangasekit needs to be a system-level decision, not an application-level decision20:12
lifelesspsusi: thats what the option I pointed you at is for, it's the 'workaround' Ted put in.20:12
psusilifeless: nodelalloc just makes sure you don't end up with a zero byte file... you still end up with a file full of garbage20:13
lifelesspsusi: thats not the option20:13
psusiwhihc one are you talking about then?20:13
lifelesspsusi: auto_da_alloc is the option20:13
lifelesspsusi: its the one that ties rename + file contents together.20:14
lifelesspsusi: that + data=ordered gives you file data + rename or no file data and no rename20:14
lifelesspsusi: as a logical consequence20:14
psusiI seem to rmeember some discussion about it not being reliable20:15
psusii.e. didn't always work20:15
slangasekand AIUI from that, auto_da_alloc is the default20:15
lifelessslangasek: that is my understanding too20:17
frafu<micahg> Sorry, we just found a bug entering the password in unity-greeter for the nexus. If you have not uploaded it already, it might be better to wait and try to get it in through a feature freeze exception.20:20
smoserpsusi, so with eatmydata...20:20
psusihttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605009#15720:20
ubottuDebian bug 605009 in dpkg "serious performance regression with ext4" [Important,Fixed]20:20
smoserif i: eatmydata apt-get install postgres20:20
psusihe seemed to interpret ted the way I did... thuogh there was no reply to that...20:20
smoserpostgres will start on installation, right? and be running with eatmydata preload. right?20:20
frafuSorry for any inconvenience.20:20
micahgfrafu: up to you, if you can make it feature frozen in a day or two might be worth waiting for the exception (I'm down to 3 ahead of it ATM)20:20
psusismoser: hrm... the postinst doesn't spawn the daemon directly thoguh right?  it has upstart do it20:21
smoserand startstopdaemon probably does similar20:21
smoseroh wait.20:22
smoserhm..20:22
psusithough I guess the old sysv init scripts did directly spawn the daemon didn't they?20:22
frafu<micahg> What do you mean by waiting for the exception? That is better going through the exception process in one or two days?20:23
micahgfrafu: I mean requesting an exception if you're close in a few days rather than waiting weeks to request it20:24
micahgIANA release team member, but they said they'd be more strict this time around since feature freeze was much later, but the closer to feature freeze you are, the better the chance you have of an approval20:25
slangaseksmoser: right... any long-running services spawned by a postinst would have eatdata in the preload environment20:25
slangaseksmoser: so this would be ok for bootstrapping where you know you're rebooting before you actually start services, but not so great for apt-get on a prod system20:25
slangasek(but upstart magically avoids this problem, yay ;)20:26
ScottKmicahg: Personally, I'm more inclined to go easy this time than I had planned on since I think the whole "rolling" discussion threw things off plan for many people.20:26
slangasekScottK: I think that's a good position to take, though if we're going to get to 13.04 we will still need to get the freeze formally instated to get back on track20:27
frafu<micahg> Ok; cancel the upload. We will try to fix the bug and request an exception in the next days. Sorry for any inconvenience.20:27
psusithat does seem to be a pretty good argument against using eatmydata for upgrades though, and instead having dpkg get the --i-really-mean-no-bloody-syncs type option I proposed a while back20:28
ScottKslangasek: Agreed.  I think no formal decision has been made to change the plan, FF is still today.20:28
ScottKfrafu: If it's just fixing a bug, it can go in much later.20:28
micahgfrafu: sure, no problem, as Xubuntu uses onboard, I'd prefer a more solid version anyways20:29
psusismoser: did you get around to the growfs thing yet?20:32
smoserpsusi, i'm about to land it...20:33
psusismoser: did you end up using parted, or sfdisk?20:33
smosercloud-init should have support for using growpart *or* parted partresize20:33
slangasekbarry: bug #1094218> I suspected the -Es problem myself, but having looked in the teamviewer package, upstream isn't providing any python stuff that would override.  Also, from the errors.u.c page this is definitely being hit with -Es: https://errors.ubuntu.com/oops/3bdeab54-8766-11e2-b117-e4115b0f8a4a20:33
ubottubug 1094218 in lsb (Ubuntu) "lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No child processes" [Medium,Confirmed] https://launchpad.net/bugs/109421820:33
smoserwhichever it finds.20:33
barryslangasek: ack20:34
barryslangasek: okay, i'll look into it again20:34
psusismoser: so you got around the sfdisk complaining about BLKRRPART problem?20:35
smoserwith that ugly hack that i showed you20:35
psusiahh20:36
frafu<micahg> The problem we found just occurs at the login screen on the nexus in portrait mode. But, it might nevertheless be better to wait and test a few more days. So we decided to ask you cancel the upload.20:37
micahgfrafu: ok, just mark the bug accordingly, I see sponsors was already unsubscribed20:37
frafu<micahg> done20:42
=== salem_` is now known as _salem
dobey/usr/lib/x86_64-linux-gnu/qt5/bin/qmake <- what a weird path for the qmake bin to be installed to. why is it in there and not installed as /usr/bin/qmake-qt5 ?20:50
xnoxdobey: that is wrong. no-preference on the name, but yeah it should be under /usr/bin/20:54
dobeyxnox: oh, it seems this weird 'qtchooser' thing is a wrapper20:57
dobeyxnox: only after i installed ubuntu-sdk did it do anything useful though, so i wonder what specifically was missing there :(20:57
slangasekdobey, xnox: the 'qtchooser' only affects /usr/bin/qmake, AFAIK; at least for qt4-qmake, /usr/bin/qmake-qt4 exists, though it's also a symlink into /usr/lib/aardvark21:06
slangasekI don't know why the files are shipped under /usr/lib, that seems pointless to me21:07
slangasekthis is a recent change; as of quantal, /usr/bin/qmake-qt4 was a real file21:13
YokoZarslangasek: Do you know the rough amount of default install library packages still waiting on multi-arch transition?21:29
slangasekYokoZar: not at all21:30
YokoZarslangasek: does libcdio count?21:30
slangasekYokoZar: you could test by grabbing a default install, and looking at /lib/*.so.* /usr/lib/*.so.*?21:30
YokoZarmmm yeah21:30
slangasekYokoZar: however, I've never considered "all libs in the default install converted to multiarch" to be an interesting target; being installed by default says little about whether you need to cross-install it21:31
YokoZarslangasek: I suppose because the default install packages depending on them doesn't really mean that there's another package that might depend on a cross-arch version21:31
slangasekmore interesting targets are "all the common libs used by binary-only software that we know about", and "being able to cross-build everything in the default system with multiarch (no self-conflicts in the build-deps)21:32
slangasek"21:32
slangasekYokoZar: exactly21:32
slangasekfor instance, the only libs left in /lib on my system are libcryptsetup, and libraries internal to iptables21:32
slangaseknot terribly interesting targets21:33
YokoZarYeah that makes sense21:33
YokoZarI stumbled on https://bugs.launchpad.net/ubuntu/+source/libcdio/+bug/1151565  recently (needed -ugly plugins for a wine game)21:34
ubottuLaunchpad bug 1151565 in libcdio (Ubuntu) "Please transition libcdio to multi-arch" [Undecided,New]21:34
slangasekoh -ugly, always living up to your name21:35
slangasekYokoZar: so my recollection was that we had previously multiarched all the libs used by all of good, bad, and ugly in support of wine; I'm guessing this is a recently added library dependency?21:36
YokoZarslangasek: http://packages.ubuntu.com/precise/gstreamer0.10-plugins-ugly  seems to say precise depended on it21:37
YokoZardid software center depend on it in precise?21:37
slangasekdid software center depend on what?21:37
slangasek-ugly is in universe and always has been21:38
YokoZardid software center depend on libcdio I mean21:39
slangasekno idea21:40
YokoZarwe might not have noticed if it didn't, I mean, because installing foreign -ugly wouldn't have removed software center.21:42
YokoZarIt seems like precise software-center doesn't pull in libcdio13 but raring does21:43
slangasekI'm struggling with the idea of software center requiring libcdio21:43
YokoZarIt's a transitive dependency21:44
slangasekah, via gvfs-backends; yes, that dep was there in precise too21:45
YokoZarPrecise software center didn't depend on gvfs-backends21:46
roaksoaxslangasek: still around?22:18
roaksoaxslangasek: i was wondering if you could help me out with an upgrade issue described here: http://pastebin.ubuntu.com/5594451/22:18
=== Laney changed the topic of #ubuntu-devel to: Ubuntu 12.10 released | Archive: Feature Freeze | Dev' of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of hardy -> quantal | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
barryslangasek: bug 115235922:38
ubottubug 1152359 in zeroinstall-injector (Ubuntu) "[FFe] sync 2.0-1 from debian/sid" [Undecided,New] https://launchpad.net/bugs/115235922:38
tkamppeterslangasek, hi22:43
slangasekroaksoax: can you post the output when running apt-get with -oDebug::pkgProblemResolver=1?22:44
ogra_stgraber, you dont inspect real snapshot capable filesystems for the single-image-update spec ?22:45
roaksoaxslangasek: sure, give me just one sec22:45
slangasektkamppeter: hi22:45
roaksoaxslangasek: btw.. I uploaded again the python-django changes for maas as ubuntu1.7, sinced the previous upload got rejected because a security fix landed with ubuntu1.622:45
stgraberogra_: it was mentioned during the session but cjwatson and some others expressed concern regarding the reliability of using snapshotting (block snapshotting with LVM at least)22:46
ogra_well, i was referring to nilfs222:46
slangasekroaksoax: ok, thanks for the info - and sorry for not getting to that one yet22:47
ogra_which additionally gives a massive performance boots on mmc22:47
tkamppeterslangasek, due to all the discussion about rolling release, the UDS placed a day before FF, I was not counting on the FF actually taking place and so I missed FF with some important packages. HPLIP 3.13.2 and an update of foomatic-db. Could there be made an exception for these? They are mainly about updated hardware support.22:47
roaksoaxslangasek: no worries :)22:47
slangasekxnox did some nilfs2 investigation previously, IIRC22:47
ogra_yep i pushed for that as well :)22:48
ogra_for the nexus7 ... but thats was only to make sure it works as rootfs22:48
ScottKslangasek: I took care of python-django.  You can mark that off you list.22:48
ogra_(there were initrd hooks not working etc)22:48
slangasekScottK: ah, alrighty then22:48
slangasektkamppeter: if the packages are ready to go today or tomorrow, then that's fine22:49
slangasektkamppeter: if it's going to be next week, we may want to dig into the details more22:50
tkamppeterslangasek, hplip is nearly ready and foomatic-db is trivial.22:50
xnoxogra_: explain what part of the job you envision to use fs snapshoting for? (as in nilfs2 for example)22:51
xnoxogra_: in nil2fs you cannot remove the base snapshot, nor replace it with something else, nor merge them to recover space.22:51
xnoxif files are deleted one needs to garbage collect. The assumptions so far was that we will not have space for two base images.22:52
stgraberogra_: seems interesting. Only shortcoming that may be problematic is the lack of extended attribute support. IIRC we now have some software (I recall gnome-keyring at least) using those to store capabilities22:52
ogra_oh, yeah, that would need to be added22:53
xnoxstgraber: so we did start using extended attributes?! =) nice. i was still under the assumption that nothing yet uses extended attributes on linux.22:54
ogra_xnox, well, would btrfs offer that we pull in a newer snapshot ?22:54
stgraberxnox: pretty much nothing is as tarballs can't store them (in a format compatible way anyway), but I know that gnome-keyring uses maintainer script to set some capabilities as xattr22:54
ogra_to actually apply a system update in one file22:55
stgraberstgraber@castiana:~/data/code/lxc/stgraber-lxc-git$ getcap /usr/bin/gnome-keyring-daemon22:55
stgraber/usr/bin/gnome-keyring-daemon = cap_ipc_lock+ep22:55
ogra_(i thought nilfs2 actually handles snapshots in userspace ... i would expect that to be modifyable to support what we need)22:55
xnoxogra_: i still don't understand what are you after. I have base image, create snapshot, update all files in the snapshot, then what?22:56
xnoxogra_: nil2fs can mount older snapshots readonly, up to the point where it's past the log horizon.22:57
ogra_xnox, send a zipped snapshot to the user to apply as system update22:57
roaksoaxslangasek: ok here's the output: http://pastebin.ubuntu.com/5594529/22:57
xnoxogra_: since there is no block level deduplication it will be same as sending a zip of any files that have changed + filesystem overhead.22:58
xnox(for nil2fs)22:58
ogra_right22:58
xnoxogra_: for btrfs, it might be smaller than sending a zip of any files that have changed.22:59
ogra_well, essentially we woudl want it to be a diff indeed22:59
ogra_between original install and update122:59
xnoxogra_: btrfs has file-level deduplication only as well (but that's from 3.6 kernel info, things may have changed)23:00
xnoxogra_: a zip of xdeltas ;-)23:00
ogra_well, btrfs is sadly extremely underperforming on MMCs23:00
ogra_unless that recently changed23:00
xnoxogra_: somebody on github was working on a delta format for binaries that are encapsulated in an fs image. but it sounded very experimental.23:01
ogra_hmm23:01
ogra_the prob is that i dont think btrfs is well suited for our usecase ... and the fact that we cant really rely on a kernel version23:02
ogra_all tests that i have seen with btrfs on MMC had very bad results ... like twice as slow as ext423:03
=== kentb is now known as kentb-out
RAOFIt's somewhat a pitty that btrfs isn't more mature; it's got all sorts of fancypants things that would make our lives easier (snapshots, the ability to btrfs-send filesystem images, dedupability…)23:09
ogra_b in btrfs stands for buzzword right ?23:11
ogra_or was it bling ?23:11
ogra_its like the duke nukem of filesystems :)23:12
xnoxi like how it doesn't loose data during defragmentation if snapshots are present.... from linux kernel 3.9rc1 and up23:13
RAOFI was under the impression that it doesn't lose *deduplication* during defragmentation in that case?23:18
RAOFFor all my annoyances with it, btrfs hasn't actually lost any of my data for a good long while.23:19
xnoxRAOF: hm, then it's not that bad, unless one runs out of disk-space while performing defrag =)23:20
xnoxRAOF: on my current machine I don't have btrfs, but I am planning to use it on my desktop, which was suppose to be here today. Oh well maybe tomorrow?23:20
RAOFxnox: Right. I'd guess the defrag would fail in that case rather than losing data.23:20
RAOFxnox: With an SSD, or rotating rust? I've found that it bogs down pretty quickly on rotating rust.23:21
xnoxRAOF: well, all defrags can fail if there is not enough space to shuffle bits about.23:21
RAOFWell, yeah :)23:22
tkamppeterslangasek, hplip 3.13.2-0ubuntu1 uploaded.23:24
xnoxRAOF: 4x1TB of rotating rust with Intel Rapid/Matrix RAID or Marvell raid controllers. I have both ;-)23:25
gaara_akash"For qmake projects, use the QML_IMPORT_PATH variable to add import paths." - thats an error i keep getting, anyone know what to do?23:38
mdeslaurxnox: I was just about to upload an openssl to -proposed for 1066032 :P23:54
* mdeslaur shakes fist at xnox :)23:54

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