/srv/irclogs.ubuntu.com/2017/06/27/#ubuntu-devel.txt

=== gh0st is now known as Guest638
=== gh0st is now known as Guest11616
=== gh0st is now known as Guest13559
=== gh0st is now known as Guest90296
=== gh0st is now known as Guest72102
* mwhudson bangs head on desk04:24
mwhudsonhas something changed in binutils recently (or possibly not recently) wrt preferring to emit dt_runpath over dt_rpath04:25
=== TheMaster is now known as Unit193
pittibdmurray: it certainly used to work; I can't imagine that crashing /usr/bin/yes leaves a > 1 MB core file behind now??07:03
infinitypitti: It was rewritten in Go.07:09
pittiI'm sure a complex program like yes can benefit greatly from that07:10
infinitypitti: It's also now a symlink to /usr/bin/maybe07:10
=== rumble is now known as grumble
seb128good morning desktopers07:42
tsimonq2But what if I'm a serverer *and* a desktoper? :P07:51
* tsimonq2 obviously needs more sleep and exits left07:52
pittibonjour seb128 !07:53
seb128hey pitti! wie gehts?08:02
LocutusOfBorgpitti, <308:08
pittiseb128: gut, danke! greetings from Karlsruhe, we have a hackfest this week08:13
seb128pitti, ah, nice, greetings toward Karlsruhe then :-)08:15
=== tacocat` is now known as tacocat
=== DrKranz is now known as DktrKranz
=== fnordahl_ is now known as fnordahl
=== FlannelKing is now known as Flannel
cpaelzerhmm - on package versioning the ~ is nice to stay below something, but what is the trick to stay above in any case?09:45
cpaelzerthe version has to start numeric09:45
pitticpaelzer: how do you mean exactly?09:46
cpaelzerso starting with 99- seems ugly but does the trick for quite a while09:46
cpaelzerI wonder if there is a better thing09:46
cpaelzerpitti: I think about creating some daily builds of packages09:46
cpaelzerin a ppa09:46
cpaelzerbut I'd like them to be fully automated and preferred to whatever is current if the ppa is enabled09:47
rbasakI don't force a "stay above" in my PPA versioning. If the archive carries the same version, it's fine for the archive to "win" IMHO.09:47
cpaelzermanually modifying versions is against the automation thought09:47
cpaelzerbut 99-* is so ugly09:47
rbasakYou could use an epoch I suppose.09:47
cpaelzeruh yeah09:48
cpaelzerthat was the <numb>: starter right?09:48
rbasakYeah. Normally we avoid those, but that's in the archive. In a PPA, you're basically asking for exactly what they do - a bump beyond anything else.09:48
cpaelzeryep09:48
cpaelzerok thanks that will do for sure09:49
cpaelzerbut maybe there is an even better way09:49
rbasakThe issue is that you'll need user intervention to go back to the archive version, but I think you're asking for that exactly.09:49
rbasakApt pinning might be another option maybe?09:49
cpaelzercan I somehow ignore my changelog and generate the version from source?09:49
rbasakYou can ask apt to score the PPA higher even for a lower version I think.09:49
xnoxis debconf broken in zesty? https://launchpadlibrarian.net/324836850/DpkgTerminalLog.txt09:50
xnoxhttps://bugs.launchpad.net/ubuntu/+source/systemd/+bug/169936009:50
ubottuLaunchpad bug 1699360 in systemd (Ubuntu) "package libpam-systemd:amd64 232-21ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,Confirmed]09:50
xnoxor is it systemd?09:50
cpaelzerxnox: known bugs (plenty of)09:50
cpaelzerwait there is one to dup to09:50
cpaelzeroh that might already be it09:50
cpaelzerxnox: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679435 ?09:51
ubottuLaunchpad bug 1679435 in gnome-software (Ubuntu Zesty) "GNOME Software fails to install .deb packages that trigger debconf prompts" [High,Fix committed]09:51
cpaelzeryet it is supposed to be fixed now09:51
cpaelzerthere is also an older incarnation https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/44294109:52
ubottuLaunchpad bug 442941 in ubiquity (Ubuntu Oneiric) "debconf failed to upgrade from 1.5.27ubuntu1 to 1.5.27ubuntu2: exit status 128 - Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66" [High,Fix released]09:52
jbichaxnox: gnome-software/zesty got stuck in phased-updates so there are several bugs that still affect people that were fixed 2 months ago :(09:53
xnoxjbicha, yeah, it looks like installation is done via aptdaemon with passthrough.09:54
xnoxI guess https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1688721 ?!09:56
ubottuLaunchpad bug 1688721 in gnome-software (Ubuntu Zesty) "Packages that trigger multiple debconf prompts fail to install" [High,Fix committed]09:56
cpaelzerpitti: rbasak: even after the epoch I need a number again :-/10:01
cpaelzerI thought I could get away with something like 2:daily-201706270956-054914f10:01
cpaelzerI can insert a random number, but is there a way to even insert a real number generated fomr e.g. the source?10:02
cpaelzernote: in LP recipe10:02
rbasakcpaelzer: I'm not sure I follow. What does your recipe say right now?10:06
cpaelzerrbasak: # git-build-recipe format 0.4 deb-version 2:daily-{time}-{git-commit}10:09
cpaelzerwhich would have given me ahead of archive (due to epoch) but clearly daily on time+commit hash10:09
cpaelzerbut it wants a numeric after the colon10:10
cpaelzerI might go with 2:010:10
cpaelzerthat way it surely is below any other 2: if one ever exists10:10
rbasakYeah10:10
cpaelzerbut what I meant before is if the build recipes could do ynthing like the following10:10
rbasakOr 0~ or 0~~ - depends on how far you want to go :-)10:10
cpaelzer# git-build-recipe format 0.4 deb-version 2:$(get from VERSIONS file)-daily-{time}-{git-commit}10:11
cpaelzerthis doesn't hold anything that seems to solve this for me https://help.launchpad.net/Packaging/SourceBuilds/Recipes#Version_numbers_and_substitution_variables10:13
rbasakI still don't really follow why you need this.10:14
cpaelzerif I want to build a daily ppa from an upstream that changes versions but I don't want to touch the debian/changelog that is merged into the build as part of the LP recipe10:15
rbasakI see10:15
cpaelzerif upstream goes version 3->4, then I can't find a way in the recipe to pick that up - which is why I chose to "stay ahead for sure"10:16
rbasakPerhaps a feature request for git-build-recipe is in order? Though I don't know about the status of executing arbitrary code on Launchpad.10:17
rbasak(for the build recipe stage; obviously the build itself is rather arbitrary code by definition)10:17
* cpaelzer doesn't like "executing arbitrary code on Launchpad"10:18
rbasakIt'd have to be arbitrary though - how else could you make "parse from VERSIONS file" work generically?10:24
cpaelzerrbasak: allow only a sed string or smth like it10:24
cpaelzer  {localver <FILE> <sedstring>}10:25
rbasaksed can't be trusted10:25
rbasak'r /etc/shadow' etc10:26
cpaelzergrml10:26
cpaelzertrue10:26
cpaelzera chrooted sed or something like it maybe?10:27
rbasakThis is probably why it doesn't support what you want already :)10:28
jbichajuliank: hi, LP: #1697120 is annoying :)11:05
ubottuLaunchpad bug 1697120 in apt-file (Ubuntu) "artful's apt-file complains about Ubuntu sources.list" [High,Confirmed] https://launchpad.net/bugs/169712011:05
=== ahasenac` is now known as ahasenack
=== ahasenack is now known as Guest52111
cpaelzerrbasak: about random code on LP - the build of the recipe runs dpkg-source -i -I --before-build => dh clean => override_dh_clean can run any code11:29
cpaelzeralthough it is in fakeroot11:29
cpaelzerjust as I'd have suggested for the version generator code11:29
cpaelzerso one could say "if it is safe enough for A it is safe enough for B as well" and a feature request bug would not be too bad11:30
jbichacpaelzer: this thread feels like questionable advice to me, so let me add one more idea for you: override_dh_gencontrol11:36
jbichadh_gencontrol -- -v11:36
jbichaI've only ever used that to change an epoch, but if you don't care about the source package version, it might work…11:37
juliankjbicha: Well, see what Niels wrote in the bug.11:47
cpaelzerthanks jbicha, reading into that as an option11:52
=== didrocks1 is now known as didrocks
cpaelzerto locally debug germinate before a change to the seeds how much deeper than "germinate -d artful -d artful-updates -S file:///home/paelzer/work/seeds/ -s ubuntu.artful" can I go?12:42
cpaelzercurrently I miss rdepends in the generated Dirs/Files12:43
cpaelzerbut it is not run with --no-rdepends12:43
=== shadeslayer_ is now known as shadeslayer
=== rharper` is now known as rharper
=== lan3y is now known as Laney
cpaelzerjbicha: thanks a lot - qemu_2.9.50-daily-20170627140413 via dh_gencontrol - just how it should be14:12
rbasakjbicha, cpaelzer: ah. Interesting approach, thanks.14:49
zygajjohansen: hey15:07
zygajjohansen: are you around?15:07
bdmurrayxnox: What in bug 1699360 leads you to believe gnome-software as the frontend in use?15:11
ubottubug 1699360 in systemd (Ubuntu) "package libpam-systemd:amd64 232-21ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/169936015:11
xnoxbdmurray, discussions here earlier in Europe morning time; the journal logs that aptdaemon invoked the install, with passthrough frontend.15:13
xnoxbdmurray, i'm not sure if it is software-updater or gnome-software, but i've been advised that the unphased gnome-software in zesty only may be the culprit.15:13
xnoxthis bug is on zesty.15:13
jbichabdmurray: do you want to phase gnome-software/zesty or should we just wait for the next SRU (already in -proposed) at this point?15:14
bdmurrayxnox: I'm just trying to understand what indicates that it is gnome-software so more bugs related to that gnome-software bug can be found. I don't doubt that it could be gnome-software. Its just not obvious from the logs that it is.15:16
xnoxbdmurray, it would be nice to document in aptdaemon /who/ started a given transaction, but i do not think we currently log that.15:20
xnoxmaybe that is logged somewhere, but i don't know where.15:21
xnoxthe dpkg frontend and the aptdaemon mentions strongly indicate a desktopy / gui update.15:21
bdmurrayxnox: I think I've found a way to determine which frontend it is although its not great. The JournalErrors will contain a PyGIWarning when its gnome-software and maybe an update-notifier.desktop error when its update-manager.15:24
=== nacc_ is now known as nacc
xnoxbdmurray, >_< lovely =) so we gonna go by gtk vomit =)15:26
xnoxas good as anything15:26
bdmurrayWell I think something (apport?) should be fixed so we know which frontend it is for sure.15:26
=== dpb1_ is now known as dpb1
jjohansenzyga: just getting in15:46
jjohansenwhat can I do for you?15:46
zygajjohansen: hey, I found a bug in apparmor, I'm just preparing a program to reproduce it15:48
zygajjohansen: I wanted to share what I have so far15:48
zygajjohansen: and ask what you think15:48
jjohansenzyga: the issue from yesterday, with pivot_root?15:48
zygajjohansen: I think so15:49
zygaopen("/proc/1/ns/mnt", O_RDONLY|O_CLOEXEC) = 615:49
zygasetns(6, CLONE_NEWNS)                   = 015:49
zygachdir("/")                              = 015:49
zygaumount2("/run/snapd/ns/snapd-hacker-toolbelt.mnt", UMOUNT_NOFOLLOW) = -1 EACCES (Permission denied)15:49
zygawrite(2, "cannot unmount preserved mount n"..., 85cannot unmount preserved mount namespace file /run/snapd/ns/snapd-hacker-toolbelt.mnt) = 8515:49
zygawrite(2, ": Permission denied\n", 20: Permission denied15:49
jjohansencorrect15:49
zyga[46499.130927] audit: type=1400 audit(1498576919.074:225): apparmor="DENIED" operation="umount" profile="/usr/lib/snapd/snap-confine" name="/" pid=19511 comm="snap-confine"15:49
zygajjohansen: does that look plausible15:49
jjohansencorrect15:50
zygajjohansen: my gut feeling is that after jumping out of the namespace something is not updated15:50
jjohansenit is however correct15:50
zygayes/15:50
zyga?15:50
jjohansenswitching namespaces will cause the files opened within the namespace to disconnect15:50
zygajjohansen: hold on, this is not using any files opened from the namespace anymore15:51
jjohansenmount namespaces can't even be thought of as parent child15:51
zygajjohansen: umount uses just the path15:51
zygajjohansen: and for sure, umount was not using / but another thing, so how did / show up without any other error (like disconnected path)15:52
bdmurrayjbicha: I think we really want the version of gnome-software in -proposed. I don't think the unphased one in -updates gets us much.15:52
jbichabdmurray: it allows installing 3rd party deb's !15:53
zygajjohansen: can you explain how you see it?15:53
jbichait's almost moot now since maybe the new one will start phasing later this week anyway15:54
jbichabdmurray: sorry I didn't ping you sooner about it15:54
bdmurrayjbicha: Which bug / crash is it fixing? I don't see the new one as being verified.15:54
jjohansenzyga: mounts are try too, what does /run/snapd/ns/snapd-hacker-toolbelt.mnt look like? is there a bind mount involved, is there a component that steps through nsfs15:54
jbichaLP: #167242415:54
ubottuLaunchpad bug 1672424 in gnome-software (Ubuntu Zesty) "Cannot install Debian files outside of the repositories" [Critical,Fix released] https://launchpad.net/bugs/167242415:54
zygajjohansen: /run/snapd/ns/snapd-hacker-toolbelt.mnt is a bind-mounted mount namespace of a process15:55
jjohansenzyga: can you give me a stat of each component of the path?15:55
jbichathe new one has not been verified yet, robert_ancell is sprinting this week15:55
zygajjohansen: from my regular mount namespace? yes15:55
zygajjohansen: the file itself is nsfs, everything else is / /run (tmpfs) ... all until the .mnt file which is nsfs15:55
* zyga goes to stat it15:56
jjohansenzyga: okay, that explains it15:56
zygahttp://pastebin.ubuntu.com/24964030/15:56
jbichathe gnome-software SRUs look simple enough to verify so I'm going to take a look15:56
zygalet me know if you want stat -f as well15:56
jjohansennsfs, exists in its own special kern mount, that is detached from the system15:57
jjohansenapparmor doesn't handle that well atm15:57
zygaaha15:57
zygaso it is a bug in some way?15:57
jjohansenI have some wip to address this15:57
zyga(stat -f: http://pastebin.ubuntu.com/24964032/)15:57
jjohansenzyga: bug sure, or feature still in dev15:58
zygajjohansen: interestingly it works if you don't setns at all15:58
zygajjohansen: because we unmount them all the time15:58
=== Guest52111 is now known as ahasenack
zygajjohansen: I was thinking about unmounting it from a helper forked process that doesn't transition at all15:58
zygajjohansen: to work around it for now15:59
zygajjohansen: do you think that is sensible?15:59
jjohansenpossibly, it certainly seems to be the way to avoid the issue until a fix lands16:00
zygajjohansen: do you have a reference to the bug?16:00
zygajjohansen: or your way to describe it accurately16:00
* zyga is still unsure if it is setns done twice or the fact that pivot_root was used on the namespace that is being "jumped" out of16:01
jjohansenzyga: there is no bug that I know of, feel free to open one. It is an issue I am aware of, there is a bug that mentions the nsfs issue I will have to dig for that, it comes out of lxc reports but I lost the all my open tabs in a browser crash, the double pivot_root/setns is a separate thing and I know there is nothing for it16:06
zygajjohansen: ok, is that something that you are planning to fix soon? is it still unknown in some regard or just not implemented but well understood?16:07
jjohansenzyga: the don't know that I would say all the issues around setns, and pivot_root are well know but I have been working on a patchset for upstream RFC that adds some new hooks that help us so that the LSM will get the information we actually need to be able to properly deal with them16:09
jjohansenso yes, actively being worked on, I am hoping to land something for 4.1416:10
zygajjohansen: is there anything we should be aware of that may affect snapd? we use setns and pivot_root for fundamental snap operations16:10
jjohansennote: landing something for 4.14 would mean we should be able to put it into 17.1016:11
zygajjohansen: I'm somewhat worried as this affects all the snaps, all the way back to 14.0416:11
jjohansenzyga: heck yes, it certainly does16:12
jjohansenthe LSM can't do anything about setns, we only see its affects post it happening16:12
jjohansenzyga: we will have to be careful and do some abi detection, if we do it correctly we should be able to emulate old behavior and not break things16:13
jjohansenI will make sure you get patches in advance16:14
zygajjohansen: I'm still unsure about what is broken exactly but I worry that the issue may affect regular (existing) operations in snapd16:15
zygajjohansen: I only noticed the issue when trying to implement a new issue16:15
zygajjohansen: apart from getting the fix merged in 17.10, do you think we could get a fix in 16.04 kernels earlier?16:16
zygas/a new issue/a new feature/16:17
jjohansenzyga: yes, I am going to backport/SRU everything that lands upstream, the goal is to get rid of all (most) ubuntu sauce patches, making it easier for the kt to also support, and pull fixes from upstream16:20
zygajjohansen: understood16:29
zygajjohansen: we're kind of tired after a very unhappy day but I'll file a bug as soon as I can (tomorrow) and try to make a program that reproduces the issue, just to understand it better16:29
zyga(hopefully without attaching all of snap-conifne)16:29
jjohansenzyga: understood, and sorry16:33
zygajjohansen: no worries, thank you!16:35
=== barry` is now known as barry_
=== barry_ is now known as barry1
=== barry1 is now known as barry_
=== barry_ is now known as barry
=== wxl_ is now known as wxl
dokoinfinity: please could you have a look at the glibc autopkg test failures triggered by binutils?21:12
infinitydoko: Looking.21:17
infinitydoko: On all arches.  Looks like a real regression.  Fun.21:18
infinity{standard input}: Assembler messages:21:18
infinity{standard input}: Error: `loc1@GLIBC_2.2' can't be versioned to common symbol 'loc1'21:18
infinity{standard input}: Error: `loc2@GLIBC_2.2' can't be versioned to common symbol 'loc2'21:18
infinity{standard input}: Error: `locs@GLIBC_2.2' can't be versioned to common symbol 'locs'21:18
* infinity will look into that.21:18
dokoright, maybe look first if it's already addressed upstream21:18
infinityIndeed.21:19
infinity388b4f1a02f3a801965028bbfcd48d905638b79721:19
infinityWill pick that up and commit to Debian too for you.21:19
dokota21:19
mwhudsondoko: did you see my mail about the gcc-cross packages in the python rebuild ppa?21:30
dokomwhudson: I did, and I thought I sent a reply: please ignore it21:31
mwhudsondoko: oh yes you did send a reply, i hadn't got to that part of my email yet21:31
mwhudsondoko: thanks21:31
zygaslangasek, infinity: hey, did you get my message about testing initrd a few days ago?21:38
slangasekzyga: hi, I did - sorry, thought I had replied here on IRC.  I think it's a good idea and I have added it to my backlog^W open browser tabs for further consideration21:40
zygaslangasek: thanks I must have lost the response21:41
zygaslangasek: let me know when would be a good time to have a chat about what should be the next step21:41
zygaslangasek: and if you have any views on the approach taken21:41
slangasekzyga: any urgency attached to this?21:42
zygaslangasek: no, none21:43
infinityzyga: I looked at it, and had some emotions, but didn't have the time to turn those emotions into English opinions.22:00
zygainfinity: positive or negative emotions?22:12
infinityzyga: Yes.22:35
mwhudsonhooray you can't install python-argcomplete and python3-argcomplete at the same time?22:51
mwhudsonhm no22:52
sarnoldI can't see any reason why the two would conflict based solely on the apt-cache show output and apt-file show output22:53
sarnoldI could understand that maybe you get to use only one of them at a time..22:53
mwhudsoni get23:11
mwhudsonUnpacking python3-argcomplete (1.7.0-0.1ubuntu1) ...23:11
mwhudsondpkg: error processing archive /tmp/apt-dpkg-install-Xce9pu/60-python3-argcomplete_1.7.0-0.1ubuntu1_all.deb (--unpack):23:11
mwhudson trying to overwrite '/usr/bin/python-argcomplete-tcsh', which is also in package python-argcomplete 1.7.0-0.1ubuntu123:11
mwhudsonin a build lot where other very strange things are happening23:11
mwhudsonalso python-argcomplete itself ftbfs in a-p in really odd ways23:12
sarnoldeww.23:12
mwhudsonhttps://launchpadlibrarian.net/325814526/buildlog_ubuntu-artful-amd64.python-cement_2.10.0-1_BUILDING.txt.gz23:12
mwhudsonhttps://launchpadlibrarian.net/318923342/buildlog_ubuntu-artful-amd64.python-argcomplete_1.8.1-1_BUILDING.txt.gz23:12

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