/srv/irclogs.ubuntu.com/2017/11/22/#ubuntu-server.txt

trekkie1701cThat moment where, after several hours of troubleshooting, you realize that there's no problem with your config, your WiFi adapter is just bad.00:44
sarnoldow00:45
sarnoldthat's rough00:45
trekkie1701cWhat's really dumb is if I'd figured it out right off, I could've run down to Fry's, grabbed an Ethernet cable, and set up my old WiFi router as a bridge to the one Comcast has us using that my roommate refuses to replace.00:50
Nizumzenreplace your room mate :P01:25
beatzzI have installed mailutils, postfix, dovecot-imapd, & dovecot-pop3d, followed a some tutorials as to set them up so my server will function as a send-only SMTP server, I can send email from telnet to localhost successfully, yet from the php form hosted on my apache2 server I get no response. Here is the output from netstat: http://dpaste.com/0MGVRVB05:49
beatzzhere in /etc/postfix/main.cf : http://dpaste.com/2TD1X4405:51
beatzzufw status: http://dpaste.com/0MEG50R05:53
beatzzand /etc/dovecot/dovecot.conf : http://dpaste.com/0592VD805:55
cpaelzerahasenack: I hit the trace you linked with ustriage rather often, but never with git ubuntu07:02
cpaelzerahasenack: afaik I tohught it would be related to my kde & keystore setup07:02
cpaelzerahasenack: I was sure it is either that or part of the language settings (lang: en; numbers/formats: german) that make this to hit just me07:03
cpaelzerahasenack: there even was a bug about it in the context of ustriage, but we didn't get far IIRC07:03
lordievaderGood morning07:10
Slashmanhello, I'm testing canonical-livepatch and it says that there is nothing to apply but I have a reboot required with the kernel, I'm using the HWE kernel, is this why? or am I misunderstanding how it works? output of the console: https://apaste.info/FEfI09:07
Slashmanfrom https://www.ubuntuupdates.org/package/core/xenial/main/proposed/linux-image-4.10.0-40-generic, shouldn't the canonical-livepatch service work for CVE-2017-12188 ?09:08
SlashmanI cannot find out if canonical-livepatch works for the HWE kernel... any idea?09:19
smbSlashman, no (https://assets.ubuntu.com/v1/ac3aa269-DS_Canonical_Livepatch_Service_screen-AW_08.17.pdf <- see system requirements, only 4.4 kernels)09:21
Slashmansmb: thanks, that's too bad and make it useless for me...09:22
=== _ruben_ is now known as _ruben
beatzzSo I'm setting up an email server for the first time, running into some expected trouble. I'm on the Ubuntu fourms trying to resolve this, but I figured I would try here also. executing 'echo "test" | sendmail me@gmail.com' returns no errors, but I'm not getting any mail in my gmail account. Here is all the relevant information I could think to gather, http://dpaste.com/16JXRHQ09:37
beatzzAny help would be greatly appreciated, as I am currently stuck.09:37
=== jelly-home is now known as jelly
ne2k any suggestions on the nicest/cleanest way to add gretap tunnels and bridge them to a bridge on ubuntu, i.e. ifupdown /etc/network/interfaces10:14
ne2kpersistently, obviously10:18
rbasakahasenack: is Launchpad struggling? I'm getting lag.12:14
rbasakCould that be the reason?12:14
ahasenackit's fine from here12:15
ahasenackrbasak: ok, so this line:12:30
ahasenack11/21/2017 19:47:34 - INFO:Importing patches-unapplied 0.12~pre2.dfsg0-1 to debian/sid12:30
ahasenack11/21/2017 19:48:04 - ERROR:Command exited 1: gbp import-orig --no-merge --upstream-branch do-not-push --pristine-tar --no-interactive --no-symlink-orig '--upstream-tag=importer/upstream/debian/%(version)s.gz' /home/ubuntu/deb/sysstat/gitrepo/.git/git-ubuntu-cache/elinks_0.12~pre2.dfsg0.orig.tar.gz12:30
rbasak"ERROR:stderr: gbp:error: The orig tarball contains .git metadata - giving up."12:31
ahasenackrbasak: in the end, 0.12~pre2.dfsg0-1 should exist in the repo I'm creating, right12:31
ahasenackbesides that error12:31
rbasakI do get that in my run.12:31
rbasakYes, importer/import/0.12_pre2.dfsg0-1 should exist.12:31
rbasakBut the pristine-tar will be missing, which is expected.12:31
ahasenackmaybe we should add some verbosity to the escaping function. If -v was passed, it could log that it's escaping some .+git directories12:31
ahasenackok, let me run again12:32
rbasakYou can see that it escaped by checking out one of the errant import tags12:32
ahasenackof course I removed the previous repo12:32
rbasakFor example12:33
rbasakgit ls-tree importer/import/0.12_pre2.dfsg0-112:33
rbasakContains 040000 tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904..git12:33
rbasakHowever, you don't see it on checkout because the original .git directory was empty.12:33
ahasenackrbasak: when I check that out, I'll also have ..git, right12:33
ahasenackah12:33
rbasakSo that leads to the git empty dir case.12:33
rbasakBut you can see that it's correctly in the tree object.12:33
ahasenackrbasak: when we rename .git to ..git, we change the timestamp of that directory?12:34
ahasenack(unrelated question)12:34
rbasakgit doesn't store timestamps12:34
* ahasenack checks stat12:34
rbasakhttps://git.wiki.kernel.org/index.php/Git_FAQ#Why_isn.27t_Git_preserving_modification_time_on_files.3F12:35
ahasenackok12:36
ahasenackwhat was the other package that also had a .git in its tarball?12:37
rbasakIt's listed in bug https://code.launchpad.net/bugs/1730778 but I can't reach it right now :-/12:41
ahasenacklockfile-progs12:41
ahasenackhm, that one crashed12:43
ahasenackhttp://pastebin.ubuntu.com/26019672/12:44
rbasakThat's interesting.12:44
rbasakI think it's a separate bug though.12:44
rbasaknacc pointed out that our orphan tag handling is wrong.12:44
rbasakBut we'd never hit a broken case.12:44
rbasakNow we have :)12:44
ahasenackI'll file it, worst case we close it as invalid12:45
ahasenackor duplicate12:45
ahasenackI'll also check with the snap12:45
ahasenackthe snap fails before because of the .git issue12:47
ahasenackfiled12:50
ahasenackrbasak: have you seen this crash before? http://pastebin.ubuntu.com/26013467/13:07
rbasakahasenack: didn't you have that yesterday? :)13:08
ahasenackyes, I didn't remember if I showed it to you back then :)13:08
ahasenackI'm going over my todo list for today and that item was there: "file bug somewhere about that crash"13:09
rbasakFeel free to file a bug on it. But I want to focus on the importer right now.13:09
ahasenackI'm not sure it's in git-ubuntu, feels like it's not13:09
ahasenackrbasak: you can probably merge https://code.launchpad.net/~racb/usd-importer/+git/usd-importer/+merge/334033, unless you want another review13:10
rbasakThanks!13:10
ahasenackrbasak: I finished the local import of elinks, and I'm trying build-source on it now13:38
ahasenackrbasak: it's failing like this: http://pastebin.ubuntu.com/26020011/13:39
ahasenackis this because of the pristine-tar failure during import?13:39
ahasenackit's a debian sync package, btw, no ubuntu changes13:39
rbasakSeems likely.13:40
rbasakBut really these are all separate bugs.13:40
rbasakahasenack: oh13:41
ahasenackI like "oh" :)13:41
rbasakIt's probably because you haven't branched the correct pristine-tar names13:42
rbasakBasically you need to rename importer/* -> *.13:42
rbasakInside refs/heads and refs/tags IIRC.13:42
ahasenackis that another step after import finishes?13:42
ahasenackI mean, does our cron job in that bastion host do that as a separate step?13:43
ahasenackor is that done when the repo is pushed, which I skipped?13:43
rbasakImporting locally and not pushing is an edge case that we don't really support for users - just developers for testing.13:43
rbasakSo basically all the refs are wrong because they've been prefixed.13:44
ahasenackand the "push" step "fixes" that?13:44
rbasakWe did that for safety - to avoid local changes accidentally making it to the published repos, the importer operates entirely inside importer/*13:44
rbasakYeah. The push un-importer/*-izes, IYSWIM.13:44
ahasenackok, that's good enough13:45
rbasakIn the long term we could make this better for the developer testing use case.13:45
rbasakBut for now it's a poor UX I admit.13:45
ahasenackI'll push to my namespace13:48
rbasakYou could just push to another local repo.13:48
rbasakIf you want to test.13:48
rbasakOr, as a hack, check out something like a new orphan empty branch13:48
rbasakThen rename from inside .git/refs13:48
rbasakMove everything in .git/refs/importer/ one level up13:48
rbasakIf you push somewhere, you have to set the refspec manually. The importer deliberately doesn't use the default refspec.13:49
ahasenackok, so just setting --lp-owner isn't enough?13:50
ahasenackand importing again without --no-push?13:51
rbasakWhat exactly are you trying to do?13:51
ahasenackrbasak: I want to verify that after all these manipulations we are doing, when I build a source package out of the git branch I will get the .git directory inside the orig tarball that we generate13:54
ahasenackthe original .git problematic directory13:54
rbasakI see.13:54
rbasakThat won't work at the moment, since I haven't implemented the unescape end in git ubuntu build.13:54
rbasakI intend to open a bug for that and then leave it, as it's unimportant.13:55
rbasakRight now, you would end up with a ..git.13:55
rbasakTo test that, I suggest you try my hack above to unprefix all the refspecs.13:55
ahasenackis unescaping missing somewhere else?13:58
ahasenackthat we know of, of course13:59
rbasakI can only think of the build for unescaping and import for escaping.14:01
ahasenackok14:02
ahasenackrbasak: let's land it14:05
ahasenackjust gave a +114:05
rbasakThanks!14:05
ahasenackrbasak: did the imports resume?15:33
ahasenackafter the git-escaping fix15:34
Guest74793hi, is there a way to create a new dhcp entry in dhcpd.conf using shell commands? something like webmin but in cli15:35
rbasakahasenack: I've not updated the bastion yet. Working on the applied branch fix.15:38
ahasenackGuest74793: I think there is a dhcp cli15:41
ahasenackGuest74793: in the case of isc's dhcp server, it's omshell15:42
DammitJimhow long does it take for the welcome screen when one does ssh to not show the number of packages that can be updated (meaning, I recently updated packages on another ssh session)15:53
sdezielDammitJim: if you log off then log back in it will be up to date15:54
DammitJimoh, how weird15:54
DammitJimI guess since it doesn't keep state, one has to kick it15:55
sdezielDammitJim: it's a know bug15:58
sdezielfinally found it: LP: #136886416:04
ubottuLaunchpad bug 1368864 in shadow (Ubuntu) "old motd is displayed on login" [Medium,Fix released] https://launchpad.net/bugs/136886416:04
drabanybody has openvpn running in a container in bridge mode by any chance?16:33
cyphermoxpowersj: so, you've switched to using priority instaed of debconf/priority, correct?16:46
powersjyes and I got ISOs published the last two days16:46
powersjlast night things broke again, but due to a perl depend: https://paste.ubuntu.com/26021153/16:47
cyphermoxack16:47
cyphermoxso, you might want to change netcfg/get_hostname to just 'hostname' as well16:47
cyphermoxthe issue is due to changes in busybox16:47
powersjare these changes that are official and not bugs?16:48
cyphermoxan official change to fix some bug, that breaks assumptions make in the installer16:48
powersjok thanks for following up16:48
cyphermoxI'm looking at how to fix this now16:50
=== jelly-home is now known as jelly
Guest74793omshell, oh, thanks i go to see18:04
kyle__Do you have to do anything special to boot off of mdadm with linux-image-generic-hwe-16.04?20:24
kyle__vs linux-image-4.4.0-101-generic?20:24
drabkyle__: not that I know of, but you want to make sure that the initramfs was updated with your raid config, altho I'm not even sure that's needed anymore, it should autodetect everything20:40
drabwhat problem are you having?20:40
kyle__drab: I installed with hwe, and it installe dhte 4.4.0 and the 4.10.0(hwe) kernel.  If I boot with the 4.4.0 it comes all the way up, if I boot with the 4.10.0, it doesn't.20:41
kyle__I can pull up the error on kvm, but there's no output, no nothing, just dies not being able to locate root on md020:42
drabdo you get dropped into an initramfs / busybox shell?20:42
draboh20:42
sarnolddo you need to install an -extra package or similar?20:42
kyle__Yeah.  It's curious.20:42
drabthe generic should pull in extra (as opposed installing virtual which installs minimal)20:43
kyle__root@kh25-65:~# dpkg --get-selections|grep 4.1020:43
kyle__linux-image-4.10.0-40-generic                   install20:43
kyle__linux-image-extra-4.10.0-40-generic             install20:43
kyle__That extra?20:43
drabbut yeah, extra should be there, minimal has no raid20:43
drabyep, that extra20:43
drabupdate-initramfs -u should run as part of the kernel install process, but maybe worth another try20:43
drab?20:43
* kyle__ is really hoping for a, "You forgot to install XYZ you idiot" type answer and it will magically fix it.20:43
kyle__I did try that earlier, but I'm willing to try again. OK20:43
drabif you did that already that's fine, just running through some ideas20:44
drabthe only weird thing is the no busybox shell... if it can't find the root it should drop you into one20:44
drabI don't get that part, don't think I've seen it before20:45
kyle__You know, I never tried remove it first, update-initramfs -k all -u is muscle memory by now.20:45
kyle__Trying -k all -c first, then the -u20:45
* drab puts up his "trust in sarnold and everything will be ok" sign20:46
drabit seems to help with weird problems20:46
sarnoldheh, i'm usually useless at boot / install things, I only ever do that once or twice a decade20:47
* kyle__ sighs.20:47
kyle__Supermicro boxes take SOOOo long to cycle20:47
sarnoldbut forgetting to install the -extra package bit me in the ass once, so I remembered that one.20:47
drabonce I had this woman who wanted to hang a banner with my name next to her screen because she kept calling me for a problem but when I went there it was always fine20:48
sarnolddrab: lol20:48
draband she insisted the computer knew I was there and behaved20:48
sdezieldrab: you must have a good EMI karma ;)20:50
drablol20:50
drabI know all the secret pressure points, like the reset button or the switch on the PSU20:51
kyle__Here's what it says after the fully done update-initramfs20:54
kyle__https://imagebin.ca/v/3iD0zFYx9WDc20:54
drablol, I just tried to pgup the picture :P20:56
drabhow did you assemble the raid? did you use /dev/sdc or by id or something?20:57
drabI'm wondering if for some reason once you use hwe kernel modules the order in which it detects drives changes or somethings20:57
draband throws mdadm off20:57
kyle__/dev/sda /dev/sdb, in debian preseed.20:59
kyle__Well... you give debian preseed the drives you want to use, and it partitions and does all the stuff for you, and you sit there and hope it doesn't decide to do anything horribly weird, because it's debian-preseed.21:00
drabif you can wait, which I'm sure you can't, at some point today I can try on my spare SM21:00
drabI have a raid1 on two SSDs and disks in the front trays, it's an X9 tho21:01
drabthey boot fine on generic, can try to install hwe and see what happens21:01
kyle__drab: Might not help, just because this works on the two older generations of the same SM hardware.21:01
kyle__:/21:01
drabah, ok, so it's an X10 thing, mmmh21:01
* kyle__ nods21:01
drabwe're too poor for x10s21:01
drabok, well, the hard way would be to take that initrd.img and unpack it, can't think of anything else to do21:02
draband see that it has the modules and the mdadm stuff21:02
kyle__I don't think it's poor as much as, oh my god we're strapped for space! You there! Fit two full size servers into each U, go do... whatever it is you IT people do21:02
* kyle__ thinks that's how the conversation to buy these went.21:02
drabhere's what I mean when I say poor... I built the rack myself with 2x4s :P21:04
kyle__You get extra macguyver points for that though...21:04
drabsrly tho, X9s on ebay are in a very good spot now, X10s not quite21:04
kyle__Really?  OK I need to check that out...21:05
drablol, now if only homedepot let you redeem macguyver points... :D21:05
drabthat would be a kickass marketing strategy21:05
drabafk for a while21:06
kyle__Hrumm..... sounds like a marketing opprotunity.21:06
drabbut yeah, unpacking initrd.img and checking for modules + mdadm stuff would be my next step21:06
drabttyl, wish u luck21:06
kyle__Thank man.  Goodnight!21:08
pankaj_How to write shell scripts in linux which control the other applications? I also want to speed up in linux.21:25
kyle__If you're talking about scripting running applications, you need an application that exposes something it can control.21:30
pankaj_kyle__: What?21:30
kyle__Generally shell scripts launch other applications with options, not interact with ones already running.  The language expect lets you launch and automate text based applications if that's what you want.21:30
pankaj_kyle__: So, I can control text based application with shell scripting?21:32
kyle__using expect, yes.  But it's automating an application it launches.  It is not automating an application that is already running before your script.21:32
pankaj_kyle__: OK21:33
kyle__Scripting running applications is highly dependent on the application, and what that application exposes.21:33
pankaj_kyle__: Is 'expect' any program21:33
kyle__expectinteracts with stdio only21:34
kyle__standard in standard out.21:34
kyle__I think stderr as well.21:34
pankaj_kyle__: Are their any examples online that can help me that how can I control my applications with shell scripting21:35
kyle__Plenty, just search for what you're trying to do in vague terms.21:36
kyle__Or lookup the bash shell scripting tutorial on ldp.org21:36
kyle__wait, wrong site21:36
kyle__www.tldp.org21:36
kyle__That one21:36
pankaj_kyle__: OK21:36
sarnoldI never had luck with expect except for two cases, (a) ppp chat script (b) using autoexpect to learn the interaction21:37
pankaj_kyle__: Are their more or any guidance or tools that you would suggest to use on linux for faster usage of system and also as responxe to user by the system.21:38
pankaj_sarnold: I am trying to understand its man page.21:38
kyle__sarnold: I didn't write it, but there's an expect script for start-scumming nethack.  It's brilliant21:39
pankaj_kyle__: What is start-scumming nethack?21:40
sarnoldpankaj_: nethack is an ancient game, one of the first computer games.. https://nethackwiki.com/wiki/Start_scumming21:41
pankaj_sarnold: OK21:41
pankaj_sarnold: Is their any guide or anything you will suggest (for mode of learning) for anyone learning about ubuntu servers?21:43
pankaj_sarnold: OK. BYE. THANKS21:46
sarnoldpankaj_: when I was starting out, I read something like a "student guide to unix" which had a nice overview of things.. and then all the manpages on the system, and all the documentation in /usr/share/doc/ , all the howtos on www.tldp.org ..21:46
sarnoldheh21:46
geniiThe ubuntu server manual can even sometimes be useful21:47
keithzgWell this is annoying, for one of the servers at work ASUS seems to have only released Windows executables for updating the Intel management engine, I have no obvious avenue for updating the firmware on this motherboard other than briefly running Windows I guess?23:43
keithzg(I suppose that's better than the one for which the manufacturer still hasn't released an update...)23:44
cyphermoxpowersj: still around?23:49
powersjcyphermox: yep23:50
cyphermoxpowersj: dpb1 : what is your opinion on making the server iso splash have a timeout, and carry on to "Install Ubuntu Server" automatically?23:50
cyphermoxI propose a timeout of 5 seconds, that matches up with what is already in place for desktop images.23:51
cyphermoxthat automatic install would still then stop at asking the user for a language in the installer23:51
powersjI feel like the only issue is if someone would want one of the other install options, is 5 sec enough.23:52
cyphermoxit would just be jumping right into d-i (or subiquity) rather than waiting for input at the bootloader23:52
powersjThen again I'm not sure the other install options are used very much, given some were broken for a while23:52
cyphermoxyep23:52
powersjI'm +1, but I think worth at least asking ubuntu-server list23:53
cyphermoxwell, 5 sec is enough if you consider any keypress cancels the timeout23:53
powersjif you have a good network connection for those doing remote installs23:53
cyphermoxas necessary we can put an exception to increase the timeout, but I'd rather burn that bridge when we get there23:54
powersjok still worth an email to the server list23:54
cyphermox:/23:54
powersjheh23:54
powersjI killed the i386 iso with zero negative responses23:55
sarnoldkeithzg: btw, will the intel microcode firmware package be the -entire- update when it is published?23:55
cyphermoxpowersj: timeouts can quickly because bikeshed23:55
powersjwell, how about we change it then and see if anyone even notices or cares23:56
cyphermoxbah, I'll send an email to the list23:56
cyphermoxmight be agreeably surprised23:57

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