/srv/irclogs.ubuntu.com/2018/09/26/#ubuntu-server.txt

wrubuntu server minimal iso size?04:20
cpaelzergood morning (or whatever applies to you)04:49
lordievaderGood morning06:01
=== pmorey__ is now known as kickinz1
smoserhallyn: it wasnt "restrictions". but we had a ec2 specific kernel just because it was vastly different13:15
smosersince then we moved to just using the -virtual subset of the -generic kernel and all was happy.  to my knowledge -virtual should still work and is supported.13:15
smoserbut... we since moved on to again having a -ec2 "optimized" version.  i'm not sure or convinced of the value of the optimization.13:16
smosernet summary: there isn't really anything "special" needed for ec213:16
rdkrhi, i am trying to install server 18 alongside an existing windows install. the installer is not showing me the partition i created for the install. is there some way of doing this in particular? i created the partition with fdisk as a 'linux partition'. cheers!13:21
mustmodifyUbuntu Server 16.04 + pantheon(gui?) worked fine. Upgrade to 18.04 and my machine is putting itself to sleep on some small interval, like ... 30 min? I'm also experiencing some odd networking issues on boot. Power settings changed to "never sleep." syslog: https://gist.github.com/mustmodify/11a6afdc20b25a31928e3d7abe1d08b113:48
mustmodifySyslog blames NetworkManager! I found a StackOverflow post saying I may need to update my kernel. Typically that just happens on its own. How can I force a kernel update and/or recompile if latest?13:49
mustmodifyWell, I tried some things. We'll see if this issue is resolved.14:23
mustmodifyBut seriously, there's still something wrong with my networking. Check out these entries from syslog. Seems bad. https://gist.github.com/mustmodify/cc49021d0d4ed79295223a86e741b87814:23
hallynsmoser: well the specific question i had,14:50
hallynwas whether i can use any release name i want (uname -r)14:50
hallynthere are older docs claiming you can't,14:51
hallyni've found no newer docs saying "we fixed that", but it seems hard to believe that something like 4.4.109-centos1 would not work14:51
smoseryou should be able to, yes. for hvm. and i think pvm also14:51
hallynsmoser: the other error i've seeon someone mention is about multiple /etc dirs14:52
hallyni've got multiple LVs which each have a rootfs, but of course they are not bootable14:52
smoserright. so... the import failure that you're seeing i can't speak to. it sounded from tych0 that you weren'te even getting to boot the thing14:53
smoserbut rather some improt processs was just complaining about that.14:53
tych0right, we're not14:53
tych0yep.14:53
tych0you mentioned htere's a way to push raw bytes and boot them without using the import process?14:53
smoserthere might be some more fancy ways at this point.14:54
smoserbut what we initially did (and I believe still do) is basically14:54
smoser a.) launch an instance14:54
smoser b.) attach a volume14:54
smoser c.) dd bytes to volume14:54
smoser d. detach volume14:54
smoser e.) register ami with that volume as root14:55
hallynd'oh.  that sounds deceptively simple14:55
hallynthanks smoser !14:55
tych0heh, ok :)14:55
smoseri think there might be some sugar around that now14:56
smoser(possibly which you're already using)14:56
tych0well, the sugar is causing us problems, so this trick is much appreciated14:56
smoseri thought there migh tbe some less-sugar alterntiave.. somethinb asically like "create volume from blob"14:57
smoserall the above wrapped up without you required to have a instance to do it.14:57
tych0smoser: i guess one complicating factor is that we have two disks14:57
hallyni prefer raw paths14:57
smoserconceptually i think it would be the same, but i've never registered such a ami myself.14:58
hallyntych0: why would that complicate things?14:58
tych0hallyn: because multi-disk support seems relatively recent14:58
tych0i've found various docs referring to multiple disks not being supported14:59
tych0but the official docs say it is now14:59
hallyn14:53 < smoser> right. so... the import failure that you're seeing i can't speak to. it sounded from tych0 that you weren'te even getting to boot the thing15:00
hallynI had no idea what order steps were done in :)15:00
hallyn(s/had/have/)15:00
hallynwhich is why i prefer the raw route - i hate magic hidden behind cloud services15:00
elfranneI am seing packet drops on ethtool ... it is packet drop counter ? or per second ? can t find any info on that ....15:01
tych0man hthey really do not like ubuntu on this launch dialog15:01
tewardrbasak: when did we add nginx to the nginx-server seeds?15:04
tewards/nginx-server/ubuntu-server/15:04
teward*is tired*15:04
rbasakteward: years ago? I don't have a date. Look in bzr blame perhaps?15:06
tewardrbasak: i must have forgotten heh15:12
tewardrbasak: probably was once we got it included in Main, which was 2014 iirc15:12
tewardjust waiting on beta freeze to end so the latest round of upstream bugfixes gets included (1.15.4)15:12
rbasakteward: right - that's _how_ it ended up in main. Something has to pull it in - in our case it was one of the server seeds.15:14
tewardindeed.  all's good, i just forgot :|15:17
teward(i'm a bit overworked recently, guess I forgot WHOOPS)15:17
mustmodifyJust a ping -- would love some help with my networking issue.15:31
tewardmustmodify: i'd look at the network infrastructure rather than your computer15:38
tewardsince it looks like it's just not getting a DHCP reply15:38
mustmodifyHunh, ok thanks.15:39
tewardmustmodify: or, connect to another network and see if it still works15:39
mustmodifyI wonder how it gets an IP address then15:39
tewardstatic?15:39
tewardin any case your logs show a DHCP request went unack'd by any DHCP servers15:40
mustmodifysure. I'll dig into that, thanks. Would that explain a 5 minute wait during startup15:40
tewardso lines 3-4, then 16-20.15:40
mustmodifywith the description "waiting for service to start"15:40
tewardyep15:40
mustmodifyok15:40
tewardthe fact it keeps retransmitting (lines 16-20) indicates that it's not getting a return ACK15:41
tewardwhich it needs to complete DHCP15:41
mustmodifyFinal Q: Any clue why this started when I upgraded from 16 to 18?15:41
mustmodify_teward: What about this one? It just happened again, hours later. Server apparently put to sleep by NetworkManager ?16:01
mustmodify_https://gist.github.com/mustmodify/11a6afdc20b25a31928e3d7abe1d08b116:02
tewardthat I don't know about, but i can't tell whether NM is actually calling the suspend or not16:02
mustmodify_It's a huge mystery.16:02
teward(it might be receiving a notice that the system is going to sleep, in which case that explains that, but to my knowledge NM doesn't have direct access to call a suspend)16:03
mustmodify_Is there some log other than syslog that might give details about what caused the suspend?16:03
nacchttps://askubuntu.com/questions/1005507/network-manager-requested-to-sleep-every-30-minutes-wifi-drops16:03
naccmustmodify_: --^ check your regular power settings16:03
naccalso, why are you running NM on a server? :)16:03
mustmodify_I did check my power settings.16:04
tewardnacc raises a good point16:04
tewardwhy're you using Network Manager on a server16:04
mustmodify_nacc: I have no idea. I had server (plus a light-weight GUI) running on this machine with 16.04 for years.16:04
naccmustmodify_: my understanding is that it's not NM itself that's suspending your system, it's NM reacting to a sleep trigger, meaning your system is suspending16:04
mustmodify_Then I just installed 18 and things are all messed up.16:04
nacce.g., https://unix.stackexchange.com/questions/64151/networkmanager-disabled-network-when-sending-system-to-sleep16:04
mustmodify_networking, going to sleep, ...16:04
naccmustmodify_: installed or upgraded?16:05
tewardnacc: that's what I thought it was, NM reporting it saw a sleep trigger.16:05
naccteward: yeah, the message is vaguely misleading, but i think so too16:05
nacci would look just before it in the syslog, but that's not in the gist16:06
tewardindeed16:06
naccmustmodify_: more logs, please? :)16:06
tewardAnd some coffee while you're at it :)16:06
mustmodify_updated gist, not much helpful in syslog16:07
nacccpaelzer: rbasak: sorry for not helping at all with php this cycle... I see 7.3 is in universe. Do you want me to try and help get 7.3 into main next cycle? I know the general steps, or at least we can tagteam it, if we can do a sync/HO beforehand16:07
mustmodify_Should I remove network manager? Anything I don't need can go, IMO. Just trying to get my system to something that will be stable after this upgrade to v18.0416:07
rbasaknacc: that sounds good. Thank you for helping out!16:08
naccmustmodify_: i don't see why you need a GUI :)16:08
naccrbasak: ack, if you want to throw something on my calendar for the future, feel free, or we can sync here when there's more free time16:08
tewardnacc: wrt not helping with PHP, we're all busy, NGINX help last cycle from the rest of the server team was EXTREMELY helpful for me, with heavy work load, so I'm sure we're all good for helping each other out as needed :)16:09
teward(just glad you're checking in on it all :P)16:09
naccteward: yeah, there's just a maze of dependencies from debian that are in universe that have delta because of phpunit at the time (18.04)16:09
naccand then php itself with phpunit, etc.16:09
tewardnacc: welcome to Debian Hell.  *shot*16:09
nacclol16:09
mustmodify_nacc: thanks, let me explain. I wanted a heads-up place to show my clients' sites statuses and stuff. And I had this monitor connected to the machine, so...16:10
naccmustmodify_: couldn't that be done via a site?16:10
mustmodify_I figured showing a webpage on that monitor wouldn't use up too much in the way of resources.16:10
naccmustmodify_: and if it's a site, why does it need to be local?16:10
mustmodify_It's not local.16:10
naccmustmodify_: i mean, local on a monitor16:10
mustmodify_Well I'm not sure what you mean by that16:11
naccmustmodify_: it doesn't make sense to me to go from -- display site status on a website to run a desktop on the server so i can have a monitor hooked up to it16:11
teward^ this16:11
tewardunless you were looking for an always-on screen showing you the status16:11
mustmodify_right16:11
mustmodify_that's what I was trying to say.16:11
tewardin which case you can just have something running a website and have *another computer* or an RPi connect16:11
tewardand then just show the data that way16:11
mustmodify_fine. So if I uninstall this GUI, will any issues be resolved?16:12
mustmodify_because being productive is more important to me right now than visibility.16:12
mustmodify_This is a dev machine. I remote into it to use vim to program, so I certainly don't need a GUI.16:13
naccmustmodify_: well, the thing is, why is it suspending? that's what you need to debug16:14
naccyes, i think it 'might' fix itself when you remove desktop services16:14
nacce.g., i think gnome's default is to suspend after some X minutes in 18.0416:14
mustmodify_I checked the power settings, they're set not to suspend.16:14
mustmodify_So I don't know.16:14
naccmustmodify_: in gnome?16:14
nacciirc, there's a kernel level switch to disable suspend as well but i might be wrong16:15
naccmustmodify_: i'm only going on what your logs say, which is you are still suspending :)16:15
mustmodify_I'm still suspending. That's true.16:15
naccso the first step is basically just figure out how to flat out disable suspend16:16
mustmodify_I went into settings > Power > suspend in the GUI and disabled it. I'm checking for gnome command-line stuff now.16:16
mustmodify_I hadn't thought of that, let me google.16:16
naccmustmodify_: https://unix.stackexchange.com/questions/188774/disable-suspending-at-kernel-level-independent-of-distribution-de-and-logged-u ?16:17
mustmodify_yeah, that's interesting. I don't have an org.freedesktop.upower.policy file.16:18
naccthat is an old response, so it may or may not be correct16:18
nacchttps://wiki.debian.org/Suspend#Disable_suspend_and_hibernation16:18
naccthat acutally might be best16:19
mustmodify_I had found another post with a similar instruction.16:19
naccdisable suspend in systemd, as that's what is logging a suspend event in your syslog16:19
mustmodify_nice... "created symlink (various files) -> /dev/null16:20
mustmodify_well, we'll see what happens.16:20
mustmodify_nacc: thanks16:20
naccmustmodify_: gl!16:21
mustmodify_thanks.16:22
tych0smoser: hallyn: so https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html says we can create it from a "snapshot of the root device volume", but our volume's root device is in lvm. at least when i tried via the UI, it didn't seem to want to let me do that16:42
tych0smoser: hallyn: gonna try some fiddling with the cli, but if you have any pointers about using lvm vs. just a rootfs on an image, that would be helpful :)16:42
dlloydaws has no visibility into anything you do with LVM, so if you want disk level operations to make sense you should use straight volumes16:43
tych0dlloyd: meaning we can't create an AMI where the root partition is on lvm?16:44
dlloydyou can, it will just contain the full volume16:44
dlloydi am assuming you are using lvm to sub partition that volume?16:45
tych0dlloyd: not sure what you mean by "it will contain the full volume". we have a disk0p1 which is the boot partition, and disk0p2 which is an lvm pv with various lvs, one of which is /16:46
dlloydright, so if you generate an AMI from that volume, it will contain everything on disk0, so both of those partitions16:46
tych0oh, yeah, that's fine16:47
dlloydthink of aws volumes as a physical disk16:47
tych0yep16:47
tych0but it's not clear to me that we actually can generate an AMI from this volume16:47
tych0or at least, i don't understand how right now :)16:47
dlloydroot device volume to AWS is just the disk it should attempt to boot from, so if your partition configuration is correct you should be set16:48
tych0but it wants to name it /dev/sda116:49
tych0i think maybe i need to figure out the cli16:50
smosertych0: https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html?highlight=register%20image17:07
tych0smoser: yeah, that's what i've been reading, thanks17:07
smoseris what you're after. from the cli. i'm not sure of an example commadn line for block device mapping for hvm17:07
tych0smoser: yeah, so i have,17:09
tych0http://paste.ubuntu.com/p/smb5v4fZNB/17:10
tych0but it says, No root snapshot specified in device mapping.17:10
tych0we don't have a root snapshot, since it's in lvm :\17:10
mustmodify_OMG more 18.04 issues. Git tag now uses less (or something) by default. Can I turn that off?19:09
naccmustmodify_: --no-pager?19:13
naccmustmodify_: see `man git-tag` and saerch for 'pager'19:13
naccmustmodify_: that's not an 18.04 issue, that's an upstream change, maybe.19:13
mustmodify_nacc: Maybe, but it wasn't happening before the change. All bad things happen on update! :P19:22
naccmustmodify_: right, there's no 'no behavioral changes' on update assertion19:22
naccand git, in particular, has no ABI about it's cli19:22
naccABI equivalent, i mean19:22
SkuggenGit is at least consistent in its inconsistency19:23
naccheh19:23
mustmodify_nacc: ABI?19:23
mustmodify_should probably google it first, one moment.19:23
naccmustmodify_: Application Binary Interface, the 'handshake' applications depend on to know how to talk to interfaces19:24
naccmustmodify_: i was using it as a vague way of saying you can't rely on cli behavior of git19:24
naccmustmodify_: unless you have it configured to only produce specific behavior19:24
naccthe 'defaults' can and do change19:24
mustmodify_So close, google. And yet so far to go.19:25
mustmodify_https://media.trillian.im/media/?m=aW1hZ2UvcG5nLDEwMTQsMTczLL91O2MF2ITRLg%2B69IY%2BF3G5dgSXW2qt9f6FTaG4C4dy19:25
mustmodify_anyway, ok, kind of like an API but for CLI stuff.19:25
mustmodify_and more passive, probably.19:25
naccmustmodify_: ABI is stricter than API19:25
mustmodify_well, depending on how you look at it.19:26
naccmustmodify_: ABI means you don't need to recompile your program to use a library19:26
mustmodify_right, nm about that. Still thinking it through.19:26
naccmustmodify_: in any case, the gist was about ABI or API :)19:26
naccmustmodify_: there isn't one to a cli program, unless they assert there is one. And git, in particular, does not19:26
mustmodify_ok. More interesting question. If I have WantedBy=xxx.service at the bottom of my systemd service, does that mean that when xxx starts, I'll also start?19:27
mustmodify_Or is it more an "abort if not present" thing?19:27
naccmustmodify_: `man systemd.service` :)19:29
naccerr, systemd.unit, maybe19:29
naccyeah, that one, sorry19:29
mustmodify_Wants and WantedBy seem backwards to me.19:53
mustmodify_If I understand correctly, if you have (just as an example) a Power service and an Air Conditioner service, Air Conditioner would say WantedBy=Power19:54
mustmodify_but in fact the Air Conditioner wants power, it isn't wanted by the power.19:54
mustmodify_Maybe I'm misunderstanding, but that's how I read it.19:54
naccAC has wantedby=power mens that power.wants will have a symlink to ac. so if you start power, it will start ac.19:56
naccwantedby i a means of expressing dependency: "if possible, when i start power, i want to start ac"19:56
mustmodify_I get that. But the words seem backwards. Because, as I said, AC _is not_ wanted by Power. Rather, AC wants power, and Power is wanted by AC.19:58
naccmustmodify_: it is improtant to not confuse english with systemd19:58
naccmustmodify_: they are both grammars19:58
mustmodify_LOL19:58
naccdon't apply english semantics to systemd terms19:58
nacci'm not actually joking19:58
mustmodify_Well it can be both true and unfortunate, right?19:59
mustmodify_I mean, they are both grammars. But if the grammars happened to line up, then that would have been more intuitive for potential users.19:59
naccmustmodify_: i meant in your sentence: "Because, as I said...". That's english phrasing19:59
mustmodify_right19:59
mustmodify_totally.19:59
naccmustmodify_: you can express a desire in english. the syntax to achieve the same in systemd will be whatever systemd wants :)20:00
mustmodify_well it's more definition than grammar but20:00
naccit's confusing, for sure20:00
mustmodify_right20:00
naccbut once you get it, it makes sense (some small amount)20:00
mustmodify_I gotcha20:00
mustmodify_It's systematic. I'll give it that. And a word having that meaning is fine. The choice of that word... I don't think it makes sense. :)20:00
mustmodify_c'est la vie20:01
naccmustmodify_: yeah, exactly20:01
sdezielnacc: would you mind setting https://bugs.launchpad.net/ubuntu/zesty/+source/php7.0/+bug/1724896 as "won't fix"?20:55
ubottuLaunchpad bug 1724896 in php7.0 (Ubuntu Zesty) "[MRE] Please update to latest upstream release 7.0.25" [Undecided,Fix committed]20:55
naccack20:55
sdezielZesty being EOL20:55
sdezielthanks20:55
naccdone and comment added20:56
sdeziel"git ubuntu clone php-mcrypt" fails for me and says the repo is not imported yet. Wasn't 100% of archive imported for git-ubuntu consumption?21:09
nacconly main21:09
sdezielah, that explains it21:09
tych0smoser: got my thing to boot. thanks for all your help today.21:13
tych0smoser: i owe you one unit of beer in EDI :)21:13
cpaelzernacc: I'd think we would love a helping hand to not learn all again the hard way21:21
cpaelzerwe all have odd times these weeks, but then we are quite a bit away from 19.04 atm21:22
cpaelzernacc: we should sync via mail to get all involved and find sort of a kick-off session together21:23
cpaelzernacc: I'll start a mail thread - thanks!21:24
nacccpaelzer_: ack, ty21:56
dar123hey guyz, i am doing bind config for the first time. I  added two domains, first one works fine. Second one still showing public name server. I even removed the forwarder23:13

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