/srv/irclogs.ubuntu.com/2018/08/03/#ubuntu-server.txt

cryptodan_mobilenacc: whislock drive firmware update success00:06
ahasenackrbasak: hi, can you do bug nominations?12:59
ahasenackhttps://bugs.launchpad.net/ubuntu/+source/samba/+bug/158332412:59
ubottuLaunchpad bug 1583324 in samba (Ubuntu) "Samba won't start when an include statement in smb.conf has a variable substitution " [Medium,In progress]12:59
ahasenackor rather, accept them12:59
rbasakahasenack: done (without even reviewing, because IMO you're perfectly competent to decide that for yourself)13:01
* rbasak ponders writing a bot to auto accept nominations from specific people13:01
ahasenackrbasak: thanks13:02
eugenio_how can I check in which partition grub2 is installed?13:04
computamikeI'm looking at spinning up a vagrant box - trying my hand at chef.  I'm a bit dubious about the trustworthyness of these images - for example there is an ubuntu/precise64 Official image - but that went out of support last year.  Anyone got any guidance?13:42
rbasakcomputamike: why Precise?13:47
rbasakIt's EOL.13:47
rbasakOr have you been unable to find a more recent official vagrant image?13:47
computamikerbasak: that's my point - I wasn't sure if the official images are being maintained by canonical, or if someone has just uploaded them13:48
rbasakI think there has been some interaction in the past. I don't know of current status. Odd_Bloke or gaughen ^ might know13:48
computamikerbasak: the current list of boxes is here : https://app.vagrantup.com/ubuntu13:49
computamikerbasak: I'm assuming that ubuntu is like the official canonical/ubuntu project boxes, and not some black hat who registered the name ubuntu13:50
rbasakI'm pretty sure it's legit, but I don't know how to confirm that.13:51
rbasakcomputamike: https://blog.ubuntu.com/2016/01/05/celebrating-over-10-million-vagrant-ubuntu-downloads13:53
rbasakIf that helps13:53
computamikerbasak: I also found that if you look at the details of an image it says that it is externally hosted at cloudimages.ubuntu.com13:54
computamikerbasak: cheers for the help - i'm going to try a bionic machine and see how I get on13:57
gaughenrbasak, computamike those are legit, but I got delayed in my reply because of all those old images. I'll followup with the team, looks like we need to add a step to our EOL process.13:57
computamikegaughen: cool - thanks for that :)13:58
NivexAny news on when do-release-upgrade from 16.04 to 18.04 will be enabled?15:59
leftyfb^ that's actually a good question. I thought it was supposed to match up with the 18.04.1 release16:01
naccleftyfb: i think there was/is some issue with the upgrade tool, but not sure16:15
ahasenackrbasak: considering just the "squid" (not squid3) source package, ubuntu's latest release there was squid (2.7.STABLE9-4ubuntu4) oneiric; urgency=low16:30
ahasenackrbasak: and that's the git-ubuntu repo (squid) where debian/sid is pointing at squid-4.116:31
ahasenackso the last "squid" (not squid3) source package in ubuntu was 2.7, and had a delta. That's why it didn't sync?16:31
naccahasenack: the bug has the explanation16:31
ahasenackwhich bug?16:31
nacc(the bug being https://bugs.launchpad.net/ubuntu/+source/squid/+bug/900741)16:31
ubottuLaunchpad bug 900741 in squid (Ubuntu) "Remove and blacklist squid" [Undecided,Fix released]16:31
naccahasenack: the bug refereneced in the blacklist16:31
naccsrc:squid and src:squid3 should both be imported, fwiw16:32
naccafaict, in debian, binary squid3 is from src:squid now, as they are at 4.1, as you mentioned, ahasenack16:33
ahasenackyeah, debian's squid-4 is building squid3 as a transitional package16:33
naccahasenack: makes sense16:45
ahasenackhow could we proceed? Remove the block, let squid sync, and remove our squid3 source?16:47
ahasenackasking for a friend :)16:47
naccahasenack: it probably should have been fixed once src:squid started shipping squid3 binaries (if it did while squid3 also did)16:49
naccahasenack: i'd need to look at all the binaries in question and makes sure they could be matched up properly16:49
naccmy guess is at least some delta will be necessary to converge16:49
ahasenacksquid3 does have quite a bit of delta16:50
ahasenackbut that should be revisited anyway16:50
ahasenacklast time I merged that I was quite still focused in the merge process, and not necessarily trying to drop unecessary delta16:51
ahasenackrbasak: your libnl3 and unixodbc cards in the roadmap board can be tagged with done, right?16:52
rbasakahasenack: ah yes. Labels tweaked, thanks.17:36
rbasakahasenack: we can always sync manually. So probably best to do it all and only then drop it from the autosync blacklist.17:37
ahasenackwhat do you mean "do it all"?17:37
rbasakI'm just concerned that it's a little late to be starting that now. Less than three weeks to feature freeze.17:37
rbasakGenerally sort it out. I'm not sure what's needed yet :)17:38
rbasak(update to squid 4 that is)17:38
ahasenackwe could then just bump the minor to the latest upstream, but go ahead of debian in that process17:38
ahasenackor leave it for the next cycle entirely17:38
rbasakI have no objection to bumping the minor.17:38
ahasenackok17:38
rbasak(it's just a question of effort vs. going for squid 4, etc)17:39
ahasenackrbasak: I still don't quite understand how to use rebase to take advantage of the previous work in the apache merge17:54
ahasenackrbasak: when I start with rebase -i old/debian, I get the 3 previous uploads listed as commits by git-ubuntu17:54
ahasenackwhich I would normally take apart17:54
ahasenackI can't start another rebase in there, because I'm already inside a rebase17:54
ahasenackso let's say I "e" the first one, that's the 2.4.33-3ubuntu1 import17:55
ahasenackI would normally do git reset HEAD^, and then proceed with the invidual commits. These I did before, and I can see them in the pkg/upload/2.4.33-3ubuntu1 upload tag17:55
ahasenackbut I can't run rebase again now17:55
ahasenackmaybe I should checkout each one of those "Import ..." commits, then rebase, and somehow glue them together again18:01
ahasenackhow about: checkout (a) ("Import patches unapplied ..."); reset HEAD^; discard; rebase;18:04
ahasenackthen cherry-pick (b); reset HEAD^; discard; rebase18:05
ahasenackand so on18:05
naccahasenack: sorry, you have broken up commits (your upload tags) for each version of ubuntu, right?18:11
naccahasenack: so checkout to old/debian, cherry-pick the sequence of commits from old/debian->first upload tag; then the sequence of commits from first import tag to second upload tag... etc18:12
nacccan use a simple wrapper aroudn git-rev-list to get the appropriate commits18:12
ahasenacknacc: yeah, cherry-pick was my first thought, each one, but rbasak suggested a rebase18:14
ahasenackwhich would get them all18:14
ahasenackas I can give it a range18:15
ahasenackand on what committish to apply it18:15
naccahasenack: ah yes, you could selectively rebase18:24
naccit's functionally the same18:24
ahasenackok18:24
naccand then verify the diff is the same18:24
naccahasenack: see the git-rebase manpage for the --onto option18:24
ahasenackyeah18:25
naccyou're basically taking topic branches and stitching them together, if that makes sense18:25
ahasenackthis was my first one:18:25
ahasenack git rebase --onto old/debian old/debian pkg/upload/2.4.33-3ubuntu118:25
ahasenackthe first import after old/debian18:25
naccright, and then you'd 'save' that with a tag or branch locally18:25
naccand rebase the next tag onto that saved object18:25
nacc(i think)18:25
ahasenackthat save is I think what I missed, it's the second time I'm going through this18:25
ahasenackthe state right now is correct, but it got lost when I repeated if for 3ubuntu2 and 3ubuntu318:25
naccyou could also use the hash, of course, but tags/branches are easier to type :)18:25
ahasenackI missed --onto for 3ubuntu2 and 3ubuntu318:26
naccright18:26
naccthat's what we get to avoid when upload tags get used :)18:26
naccotherwise, it's the same as what gu-merge is doing under the covers18:26
ahasenackgit log looks now just what it was like when 3ubuntu1 was uploaded18:26
ahasenackso that's good18:26
naccyep, tbh; i think you didn't need to rebase the first upload tag18:27
naccas it should be identical to what it was18:27
ahasenackright, because right now it's like I just checked out that upload tag18:27
nacc(since that's how the old merge was done, basically -- old/debian now is what was new/debian then)18:27
naccyep18:27
ahasenackso...18:28
ahasenackwhy don't I just checkout the upload tag for the current version in the archive18:28
ahasenackah18:28
ahasenackn/m18:28
naccright :)18:28
naccyou *could* do that, if each of your uploads used the upload history manually18:28
naccwhich technically you could have been doing18:29
ahasenackit's just the first one that works "automatically" here18:29
ahasenackthe rest have the "Import patches unapplied ..." bits18:29
ahasenacks/rest/subsequent ones/18:29
ahasenackok, continuing, let's see what I get18:30
rbasakYou only need to rebase the most recent upload tag, surely?18:30
ahasenackthere were 318:30
rbasak(for the purposes of a package merge)18:30
naccrbasak: none of the upload tags have upload tags in the history18:30
rbasakOh. I see.18:30
rbasakOK18:30
naccrbasak: since none were integrated, if that makes sense?18:30
nacc(due to empty dirs in this case)18:30
rbasakYeah18:30
rbasakI get it now18:31
naccso you have to manually stitch together the sequence of upload tags18:31
naccack :)18:31
ahasenacksharpening git-foo skillz18:31
naccthis is probably something we could do in gu-merge until empty dirs are fixed; as long as the upload<->import tags match along the history except for only empty dirs18:34
naccor at least help provide git- commands that should do what you need?18:34
ahasenackI think it worked18:41
ahasenackchecked out upload/2.4.33-3ubuntu118:42
ahasenackthen rebase --onto upload/2.4.33-3ubuntu1 import/2.4.33-3ubuntu1 upload/2.4.33-3ubuntu218:42
naccyeah, that seems about right to me18:42
ahasenackthen rebase --onto <hash-i-am-at> import/2.4.33-3ubuntu2 upload/2.4.33-3ubuntu318:42
naccyes, i think so18:42
ahasenackabout to run some checks18:43
naccthat should give you a treeish that matches upload/2.4.33-3ubuntu318:43
naccbut with broken-out commits, i think18:43
ahasenack((c957d262...))andreas@nsnx:~/git/packages/apache2/apache2$ git diff pkg/upload/2.4.33-3ubuntu318:43
ahasenack((c957d262...))andreas@nsnx:~/git/packages/apache2/apache2$18:43
ahasenackdiff is empty18:43
ahasenackand I haz broken out commits18:43
ahasenacktime to \o/ ?18:43
nacccool :)18:43
naccyou can check the treeish18:44
naccgit diff-tree18:44
ahasenackthat? https://pastebin.ubuntu.com/p/TFTmpr4My5/18:44
naccyeah, is that accurate (local modifications to the debian directory)?18:45
ahasenackgit diff-tree HEAD pkg/upload/2.4.33-3ubuntu3 is empty18:45
nacccool18:46
ahasenackwithout HEAD, it gives that output18:46
naccright, local tree vs. commited tree18:46
ahasenackwhen using git rebase, is "--onto HEAD" the same as not passing --onto at all?18:47
nacc"The current branch is reset to <upstream>, or <newbase> if the --onto option was supplied."18:48
naccand there is a bit about how upstream is derived if not specified on the cli18:49
ahasenackok18:49
ahasenackok, so after all this I should be ready to run git ubuntu tag --deconstruct18:50
naccahasenack: i think it's equivalent, although the internal logic may be slightly different. it does depend a bit on what else you pass to rebase18:50
naccahasenack: i think so, yeah18:50
ahasenackthanks for the guidance18:51
naccahasenack: np, it's at least somewhat still in my head :)18:51
ahasenack:)18:51
naccahasenack: may be worth MP'ing into the manpages18:51
ahasenackI have a tips&tricks doc, that could become an faq in the future18:51
naccahasenack: definitely19:15
naccahasenack: and maybe in the 'other info' secitno of the main git-ubuntu manpage?19:15
naccor a link to a living doc otherwise19:15
ahasenackyes19:24
ahasenackthis one will be needed multiple times in the future19:24
ahasenackbecause many packages have the empty dir problem19:25
naccright19:25
bigpichey guys i’m firing up an 18.04 server for the first time20:12
bigpicI’ve given it a 48gb disk20:12
bigpictold it to use the entire disk with lvm20:12
bigpicbut it’s only creating a 4gb boot disk20:12
bigpicscreen shot: https://i.imgur.com/gqfCYiu.png20:13
bigpicany ideas?20:13
naccbigpic: to be clear, that's a 4g *root* *logical volume*20:14
naccand no, i've not used the installer; is this the 'live' or the non-live iso?20:15
bigpicyea it’s creating a 4g / a 1g /boot and leaving 43g free unpartioned20:15
ahasenackthat's the live one20:16
ahasenackpowersj: have you seen that? ^20:16
ahasenackbigpic: those numbers were all automatically chosen?20:16
bigpicyes20:16
ahasenackthat's not from a previous run by any chance?20:17
bigpicfresh vm20:17
powersjhmm20:17
powersjlet me take a look locally20:17
ahasenacknacc: rbasak: I think it all worked, thanks again: https://code.launchpad.net/~ahasenack/ubuntu/+source/apache2/+git/apache2/+merge/35233120:21
ahasenackwe'll see on Monday when people look at it more carefully :)20:21
ahasenackcheers20:21
tomreynbigpic: is this 18.04(.0) or 18.04.1?20:21
bigpici grabbed the ubuntu-18.04.1 iso around noon est20:22
powersjLVM so it is .120:22
powersjand confirmed :\20:22
powersjnot good20:22
ahasenackI didn't try the auto option :/20:22
powersjI know I tried it20:22
powersjbut I guess I didn't look hard enough because the install will work20:22
powersjthe layout of course is flat out wrong20:23
* powersj files a bug against subiquity 20:23
bigpicthx for looking into it.. i’ll sit tight20:23
tomreynbigpic: do you know about the alternative server installer?20:25
bigpicdo share20:25
tomreyni.e. the 'classic' one20:25
tomreynhttps://www.ubuntu.com/download/alternative-downloads#alternate-ubuntu-server-installer20:26
tomreyn- less fancy20:27
tomreyn+ works20:27
powersjbug 178532120:28
ubottubug 1785321 in subiquity "LVM Entire Disk option does not use entire disk" [Undecided,New] https://launchpad.net/bugs/178532120:28
powersjbigpic, thank you for taking the time to ask here20:28
naccahasenack: nice :)21:39

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