/srv/irclogs.ubuntu.com/2015/10/14/#ubuntu-kernel.txt

caribouapw: smb: I'm thinking of changing my approach regarding the creation of symlinks to /boot/kdump/[initrd.img|vmlinuz]09:52
caribouI'm thinking of having /usr/sbin/kdump-config take care of the symlink management09:53
caribousince I have no way to know which is the proper initrd to use upon install/removal of kernel packages09:54
apwcaribou, "make links point to the running kernels vmlinuz and corresponding smaller initrd" at load time ?09:54
caribouapw: yes09:54
apwcaribou, not a bad idea _if_ you are sure you can write to the fs at the itme it happens09:55
caribouapw: because, if the kernel hook make the symlink, adding a newer kernel package will make the symlink to files that have not been booted yet09:55
caribouapw: yes, I think that root is mounted rw when kdump-config loads the kexec command; I'll check09:56
apwcaribou, i'd expect it to be late enough indeed, but worth checking09:56
smbhm... or is that link required at all? if you can figure out what the link should be at boot time...09:57
caribouapw: and it makes the kernel hook simpler as it doesn't have to worry about the kdump-config specifics09:57
apwcaribou, yeah09:57
apwsmb, yes because it is baked into a config file the user may change09:57
caribousmb: yes, kdump-config relies on it to issue the kexec command09:57
apwsmb, so they can make it a specific older kernel, or leave it be and they get the matching kernel09:58
caribouif the symlink doesn't point to an existing file, the kexec load command will fail09:58
apwand caribou that is a much saner semantic09:58
apw"kdump kernle will match your runnign kernel" always, not the latest one you installed but maybe not the one you booted09:58
caribouapw: then I can make kdump-config list available kernels & choose one specific to link as an option09:59
apwcaribou, yep, all much nicer09:59
caribouapw: ok, I'll work on this.09:59
apwand right now they can just edit the config to make it point at a specific one10:00
apwright ?10:00
caribouapw: it will not make 15.10, doubtful on it being SRUed so we may have to increase crashkernel= for a while10:00
apwcaribou, its presumably not huge huge ?   and it fixed a real bug ... so we might get it through10:00
caribouapw: right now, it default to the booted kernel and doesn't even use the variable in the config file10:01
caribouapw: maybe, we'll see10:01
caribouI should have it working by EOD10:01
apwcaribou, nice thanks10:01
gQuigsI just did a fresh install of Wily and linux-headers-generic linux-image-generic thermald are showing up to be autoremoved14:54
gQuigshas the packaging changed to make that make sense?14:54
gQuigs(I actually did the reinstall because I accidentally removed the kernel - which I recovered, but then btrfs partition had other issues)14:55
apwgQuigs, no that is not correct, as withouth the first two you would not get updates, the third would be held on by the second iirc, somewhere linux-generic has gone missing, and it should not14:57
apwgQuigs, iirc if you file a bug against ubiquity it will upload the install logs which might help14:58
apwinfinity, ^ is it ubiquity?14:58
apwstgraber, yo, so jjohansen has looked at that lxc test suite hang, and it seems the profile needs to be updated in T to something newer15:02
gQuigsapw: I'll try to reproduce it and file a bug if I can15:19
apwgQuigs, i suspect it doesn't happen all the time, else we'd hear about it a lot, if you still ahve the instance which failed, then the logs for the original install are kept for bug reporting15:20
gQuigsok, will do15:26
stgraberapw: and how is that not a regression? :)15:41
apwstgraber, it is a regression, but the change in the kernel is for a cve15:41
stgraberok15:41
stgraberjjohansen: what needs changing?15:42
apwstgraber, there is a new check int he profile, one which must have been added in later releases, as V is ok with this kernel change15:47
stgraberapw: would be helpful to know what exactly so we can SRU it ASAP15:47
apwstgraber, heh yeah there is that, erm, when i looked the profiles were very similar even T->W 15:48
stgraberlets see if I can diff those quickly then15:49
apwstgraber, its something mount related, hrm, and jj did check that the old kernel will not implode with the update, whatever it was15:49
=== ming is now known as Guest10359
stgraberapw: so far looks like it's stuck at the same spot, it's a pretty long test so maybe it's just not done yet, but doesn't look too good so far17:46
apwbah17:47
apwstgraber, so much for that fixing it, though i am sure jjohansen tested the same, we need to find out what needs putting in specifically to make sure its in the one you updated to17:48
apwstgraber, that said the ppc64el is just finishing so they wern't submitted that long ago, how long odes that whole suite take on i386 anyhow ?17:50
stgraberapw: arm64 and ppc64el always fail, only amd64 and i386 matter17:52
apwstgraber, right, i only entioned it because it is runiing, and it would have been submitted at the same time as the ones we care about, bounding how long ago it was run17:53
stgraberapw: yeah, I'm watching the live adt console here17:53
stgraberand amd64 and i386 got past test-symlink which means they're currently in test-ubuntu and have been for 20+ min from what I saw17:54
apwstgraber, right, same, i just don't know how long a good run takes17:54
apw15m it seems, looking back 3 or 417:54
apwif it is still at the same place in 15m then we need to fnid out from jjohansen what he had to add17:55
apwto confirm that was what we tried17:55
stgraberI still have a hard time understanding why the change I did would help. I mean all the other tests which also do start containers are passing fine...17:57
apwstgraber, it was meant to be to do with empty paths somewhere, removed things under other things, something like that17:58
stgraberhmm, ok, sounds like the description of most apparmor bugs ;)17:59
apwheh yeah there is that, sadly :)18:02
gQuigsapw: reported here - https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1506169  looks like linux-generic was installed, but removed by one of my first changes after install18:25
ubot5`Ubuntu bug 1506169 in ubiquity (Ubuntu) "fresh install - linux-headers-generic linux-image-generic python-notify thermald can be auto removed" [Undecided,New]18:25
stgraberapw: still stuck18:27
infinitygQuigs: Do you have the apt log(s) from that system too?18:46
infinitygQuigs: Certainly not an installer bug if something you install after the fact is removing linux-generic, but would still be good to hunt it down.18:46
stgraberjjohansen: when you're around. http://launchpadlibrarian.net/221223666/lxc_1.0.7-0ubuntu0.3_1.0.7-0ubuntu0.8.diff.gz isn't enough to fix the current hang in lxc-test-ubuntu, what else do we need?18:49
stgraberoh, and that diff is pretty useless because it's not diffing the right thing...18:50
gQuigsinfinity: attached the logs, but I still don't really understand why it was removed...19:08
infinitygQuigs: Well, it would have told you it was happening, assuming you used apt from the command line?19:11
infinitygQuigs: It pays to actually read the "The following packages will be removed" stanza before saying yes.19:12
gQuigsinfinity: :) indeed, except I was using the graphical drivers widget to install the nvidia driver19:12
infinitygQuigs: Oh, aptdaemon, not apt, so it happened behind the scenes with ubuntu-drivers-common.19:12
infinitygQuigs: Lemme try this in a chroot with apt and see what it says.19:13
infinitygQuigs: Your URL to the PPA is a 404.  Which PPA was it really? :)19:14
gQuigsinfinity: - https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa19:14
infinityTo be fair, there's also a minor installer bug here that we should be marking the second-level metas as manual too, I think.19:15
infinitySo if someone decides to, say, remove headers, they don't lose their kernel.19:15
infinityPretty sure d-i DTRT there, while ubiquity might not.19:16
infinitycyphermox: ^19:16
infinityActually, this bug might be mine in the livefs creation.19:17
infinityI'll look in a second.19:17
infinityBut none of that excuses a package bumping off linux-generic. :P19:17
gQuigsinfinity: hmm, I did a vm test and just apt-get installing the packages doesn't mark it for removal19:18
gQuigsit= linux-generic19:18
infinitygQuigs: Indeed.  Doesn't here either.  Might have to mock an nvidia card being installed somewhere here, so I can reproduce the ubuntu-driver-common behaviour. :/19:19
gQuigsinfinity: do you think a livecd test (on my hardware) would be useful?  what extra logs/debug to take?19:21
infinitygQuigs: I'd kinda want to drive, just to experiment.19:22
infinitygQuigs: Booting to a live session, installing SSH, and giving me access to abuse might be helpful. :P19:22
cyphermoxinfinity: most things in ubiquity are just running d-i bits, were you talking specifically about the metas?19:27
gQuigsinfinity: hmm :P - but yea, I guess I might as well confirm that it's reproducible on just the livecd 19:29
infinitycyphermox: Yeah, the kernel/meta bits aren't d-i driven, IIRC.  But it's also mostly there in the livefs before ubiquity even touches it, so it might be my bug. :P19:29
gQuigsinfinity: what would be the first thing you would look at/19:29
infinitygQuigs: I'd run 'ubuntu-drivers list' from the CLI after adding the PPA, check what it thinks it wants to do, try that in both apt and filtered through aptdaemon, experiment, I dunno.  No exact science here when debugging other people's software. :P19:31
gQuigswill give that a try in a bit19:33
cyphermoxI'm supposed to have an nvidia card here somewhere, but I can't find it19:33
infinitycyphermox: Really?  The one I have here is larger that most computers, it's hard to miss.19:33
infinityBut it's also in a machine I don't feel the overwhelming urge to reboot right this second.19:34
cyphermoxwell, I wouldn't have a machine to put it in anyway19:34
jjohansenstgraber: I added the rule20:41
jjohansen   mount options=(rw,bind) /dev/pts/ptmx -> /dev/ptmx,20:41
jjohansento the lxc-start profile, that debdiff is NOT sufficient because it doesn't have a rule that matches20:41
jjohansenI just reinstalled and tested again, and it still works for me20:42
stgraberjjohansen: so I was told that wily's lxc is working properly, is that wrong?20:44
jjohansenstgraber: I think so but I didn't go in and verify last night20:45
jjohansenstgraber: now it is possible, there is another bug, something fixed in wily and not trusty that is also affecting this too. I haven't compared yet20:46
stgraberjjohansen: ok, so current diff from what I uploaded to trusty to current git master is:    mount options=bind /dev/pts/ptmx/ -> /dev/ptmx/,20:46
stgraberoops20:46
stgraberhttp://paste.ubuntu.com/12784047/20:47
jjohansenah, yeah that diff should do it20:47
stgraberok, so I need to cherry-pick that part into our stable branch too, then re-sru it...20:47
stgraberjjohansen: ok, re-synced our apparmor in all upstream branches, will update the SRU now20:51
jjohansenstgraber: ack20:52
=== alai` is now known as alai

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