/srv/irclogs.ubuntu.com/2018/10/11/#ubuntu-server.txt

xnoxtreehug88, you say rolling, but compiling on trusty?!00:01
xnoxusing acient ruby?00:01
xnoxand then launch docker on trusty, to building something in bionic00:01
xnoxtreehug88, why not ask travis to provide bionic in dist: straight away, instead of trusty?00:02
sarnoldis that possible?00:02
sarnoldI see much grumbling about trusty on travis ..00:02
xnoxah based on https://github.com/travis-ci/travis-ci/issues/726000:04
treehug88xnox I've been adding features to and maintaining the bash scripts of git-secret itself. The test/build system isn't something I've worked on much. We'd definitely welcome PRs00:04
xnoxthey did make `dist: xenial` work and then took it away00:04
xnoxtreehug88, this is extremely painful to read, as the logs are not at all structured it seems00:07
xnoxbut i think gnupg documentation fails to build on bionic atm00:07
xnoxMakefile:1185: recipe for target 'gnupg-module-overview.pdf' failed00:07
treehug88xnox nice catch. Can we tell what's missing?00:10
xnoxtreehug88, i got cross-eyed00:10
xnoxtreehug88, if you can generate buildlogs with newlines that would be helpful00:10
xnoxor like try configuring/building gnupg without docs00:10
=== not_phunyguy is now known as phunyguy
treehug88good idea, thanks xnox00:20
patz0rhey all, is there a way to install ubuntu server (18.04) without the cloud init stuff, or is there a better way to install if it I just want a very minimal installation without any extra stuff?04:41
patz0rmaybe i'm not understanding it correctly but it doesn't seem useful to me, like resetting hostname every reboot etc.04:42
cpaelzergood morning04:51
cpaelzerpatz0r: if you do not provide a config to cloud-init it does almost nothing on first boot, and nothing at all later on04:51
cpaelzeralso it isn't big in terms of disk space, so there usually is really no need to go an extra mile to install without it04:52
patz0rcpaelzer, thanks for that, i just found that when i change my server hostname, it changes back every reboot thanks to cloud-init scripts04:52
patz0rI would rather not have these kind of scripts making changes, if you know what I mean04:53
cpaelzerpatz0r: I understand, but the question is who is providing the config so that it does so - do you run this in a cloud which provides metatdata?04:54
cpaelzerI think we can still disable it by telling it in a local config file to ignore everything else, I need to check where exactly04:56
cpaelzerbut first lets make clear we understand where your config is from - so what service are you running on if I might ask?04:56
patz0ri think it can be disabled with sudo touch /etc/cloud/cloud-init.disabled04:58
cpaelzerpatz0r: yes https://cloudinit.readthedocs.io/en/latest/topics/boot.html04:59
patz0rI guess I am finding a lot of changes in 18.04 which I'm not used to, I prefer a more traditional installation05:00
patz0ri'm using other tools like ansible to manage my configs05:01
patz0rso when i change something with ansible, and then cloud-init changes it back, that's annoying05:01
patz0rmaybe i just need to change how I am doing things05:02
cpaelzerpatz0r: if you are in a cloud that provides metadata cloud-init will do what it is told (e.g. set the hostname), cloud-init and ansible are not doing exactly the same things so I think they are fidn to live alongside for different purposes. yet obviously if there are conflicting configs both have to be modified to not fight about the setting05:06
patz0rcpaelzer, thanks for that. I am not using ubuntu in any kind of cloud, and I don't have metadata servers or anything like that, which is why I don't want cloud-init05:31
patz0rubuntu has specific openstack images/installers, it makes sense it it's included in those, but not the default bare metal server installer05:31
cpaelzerpatz0r: the new installer uses the same mechanisms locally as in clouds so they can benefit of the same bugfixes and feature development, but it is mostly curtin they share https://curtin.readthedocs.io/en/latest/topics/overview.html and much less cloud-init features05:34
cpaelzerpersonally I also like that I'm able to throw such images at bare metal as well and using cloud-init/curtin (through https://maas.io/ most of the time) will make it a usable "instance" without ahving to touch the installer ever05:36
cpaelzerwith LOC being known as lines of code, I doubt I can use LOL as "lines of log" :-/05:38
patz0rthanks cpaelzer - i'm just a noob trying to manage my small fleet of servers and begin automating, i will just have to keep working through it and peel back the layers which are causing my problems as I discover them05:39
patz0ri found a simple fix to disable cloud init from changing my hostnames on boot, but it made me wonder if I needed it at all or if it would be simpler not to have it05:39
cpaelzerpatz0r: I thought about the hostname resetting, and I agree that if you installed through the new installer it should be a one shot setting and no reoccuring one05:39
cpaelzerpatz0r: would you mind filing a bug at https://bugs.launchpad.net/cloud-init or https://bugs.launchpad.net/subiquity05:40
cpaelzerping me when you have opened it, I'll make sure it has both bug tasks so the devs of it can consider making it a one shot action (or not, but with reasons)05:40
patz0rYea it seems the new installer created a config that is being applied at boot, rather than a static config I can modify05:41
patz0rI had to go into /etc/cloud/cloud.cfg and change preserve_hostname: from false to true05:41
patz0rI will open a bug there shortly if you think it is indded a bug05:41
patz0rthank you for your help and advice05:42
cpaelzerit is a community thing patz0r, so many people benefit from either having it being faster (than old install) or using its new features - it is only normal that there are rough edges that should be discussed05:44
patz0rI can definitely see the advantages, but for me personally I think it would be nice to have a 'normal' installer and a 'cloud' installer for cloud images05:46
patz0rI think I found my problem, maybe i should just be using the debian installer rather than the subiquity installer05:53
patz0rhttps://blog.printk.io/2018/04/ubuntu-18-04-lts-bionic-beaver-server-installer-differences/05:53
cpaelzerpatz0r: if you "just want the old style" yes05:53
patz0rI actually normally prefer to use the minimal ISO installer, so I think that will solve my problem for now :)05:54
patz0ri'm in the process of upgrading a lot of older machines from 14.04 and 16.04 to 18.04 and trying to maintain consistency, but it's hard with things like netplan and systemd changing05:55
patz0rso I'm trying to keep it as simple as possible05:55
patz0rwell, I consider myself a linux noob and so I am finding it to be challenging :)05:56
cpaelzeryou are clearly not a noob, and challenges let us grow :-) I hope the further upgrading goes well05:56
patz0rthanks cpaelzer nice chatting to you :)05:59
cpaelzeryw05:59
zzarrhello! I am trying to run a lxc, but I get "lxc-start: command not found"10:30
TJ-zzarr: is package lxc-utils installed?10:32
zzarrI'll have a look10:33
zzarrno, and I can't find it with apt search lxc-utils ether10:33
zzarrit's a brand new installation of Ubuntu server 18.0410:34
TJ-!info lxc-utils bionic10:34
ubottulxc-utils (source: lxc): Linux Containers userspace tools. In component universe, is optional. Version 3.0.1-0ubuntu1~18.04.2 (bionic), package size 374 kB, installed size 1260 kB10:34
TJ-zzarr: You'll need to enable the "universe" component10:34
zzarruniverse, thanks10:35
TJ-zzarr: "sudo add-apt-repository universe"10:35
zzarrthanks :)10:36
zzarrnice10:36
zzarrI got "Failed to load rcfile" when running lxc-start10:39
zzarrwhere should the rcfile be located and what should be in it?10:40
a_okSo I have set up NUT the way I want it with upssched. However the shutdown command that I have runs as the nut user. Unfortunatly that user has no permissions to terminate the system. What is a good way to do this?11:26
blackflowpolkit trickery or passwordless sudo for a script that only contains the shutdown call11:27
blackflowmaybe 'pkexec poweroff' even suffices11:28
a_okblackflow: I'm afraid that polkit needs a host of things like a logind session. Sudo seems to be the easiest route11:32
a_okthanks!11:32
blackflowyw11:32
ahasenackgood morning12:12
ahasenackcpaelzer: is it ok to have a Bug-Fedora in a dep3 header?12:19
ahasenacklooks fine to me, but I haven't seen that in a debian or ubuntu package yet12:19
cpaelzerhi ahasenack12:24
cpaelzerI think it is fine12:24
cpaelzerit might be out of spec, but personally I think useful+reasonable are the only tag guidelines there12:24
cpaelzerunless you want to have them processed by scripts, but that isn't important for bug-fedora12:25
ahasenackthe dep3 spec says Bug-<Vendor>12:25
ahasenackso yeah12:25
ahasenackcpaelzer: another question, I don't remember our discussion from the sprint. Should I refresh a patch that applies as-is from upstream, but a) with offset; b) with "noise" (--show-c-func style)?12:26
ahasenackrbasak IIRC likes to be able to compare the patch with upstream in these cases and expected a 100% match. But this is a small patch, easily verified by visual inspection12:26
cpaelzerahasenack: if it applied with dquilt push --fuzz=0 then keep it as is12:27
cpaelzerif forced to modify for this (forbidden fuzz) or anything else, then full refresh with "the good" quilt config12:27
cpaelzerthat is what I remember12:27
ahasenackit applies12:28
ahasenackok12:28
cpaelzerTL;DR: keep them as-is if working12:28
rbasakI think the conclusion was that usually we'd want quilt patches to be refreshed with the standard parameters, with the exception that if it applies directly from upstream, then leave as-is12:28
rbasakYeah12:28
cpaelzerand we said that in most cases this would match tags "upstream, link" would be as-is and "backport, link" would be with refresh12:29
ahasenackcpaelzer: is there a place to record why forwarding wasn't needed?12:31
ahasenackmaybe the long description?12:31
ahasenackI would love "forwarded" to allow for a short explanation after the "no, ", or "not-needed, "12:32
ahasenackthat was probably Karl's intent with the second Description field12:32
cpaelzerin the long desc12:33
cpaelzerI sometimes added Forwarding-Info: <txt>12:33
cpaelzerbut that is out of spec as much as everything else12:33
cpaelzerand since it could one day collide with something the description is probably better12:33
cpaelzerI put notes there since a while12:33
ahasenackok12:34
cpaelzerI put notes there since a while12:36
cpaelzersorry, key+enter in wrong chan12:36
DenBeireni'm having troubles mounting a share from one server into another :s15:04
DenBeireni can't get the rights as they should be15:05
DenBeirenon the serverside (nfs ubuntu) the rights are 777, on the client side (nfs ubuntu) 75015:07
DenBeireni've found so many tutorials i can't see the trees trough the forest15:08
ahasenackdoes anybody know how a2query (from apache2) know the difference between a module that's just not enabled, versus one that was disabled via a2dismod?15:13
ahasenackspecifically these two outputs: https://pastebin.ubuntu.com/p/mbZnqfrxVY/15:14
ahasenackit's either "no module matches <name>"15:14
ahasenackor "no module matches <name> (disabled by site administrator)"15:14
ahasenackin both cases, the symlink in /etc/apache2/mods-enabled/ does not exist15:15
ahasenackso I don't know where else it could be recorded15:15
TJ-ahasenack: maybe /var/lib/apache2/module/ ?15:22
kierankrbasak: after yesterday's preseed change we have this error when trying to install15:39
kierankhttps://askubuntu.com/questions/1076247/after-clean-install-of-ubuntu-14-04-i-get-shim-signed-error15:39
kierankThe fix suggested works but it's a bit strange15:39
rbasakkierank: can you try again in a few hours please, and/or after a remirror?16:02
rbasakThere was a broken time window earlier today. It's been fixed I believe (and tooling changed to try to prevent a regression).16:02
kierankrbasak: sure16:02
ZahovayHello guys, can any of you help me? we just made a new website, I would like to check if my server is protected against known attacks16:23
tewardZahovay: if you have no objections to me pointing OpenVAS and Nessus at your site I'll be happy to generate a report for you16:29
tewardbut note that that has some risks - you're trusting someone else to identify whether your site is 'safe'16:30
tewardand you're trusting they won't destroy your site :P16:30
Zahovayteward: well its better if we know this now, instead of after launch16:31
DammitJimwhat does this do: Unattended-Upgrade::Allowed-Origins {16:42
DammitJim        "${distro_id}:${distro_codename}";16:42
DammitJimon /etc/apt/apt.conf.d/50unattended-upgrades ?16:42
DammitJimit seems I have security, updates, proposed and backports commented out, but not that first line16:43
DammitJimI have been instructed to disable all automatic updates, but first wanted to understand what that line meant16:43
ahasenackTJ-: yep, it's in there, thanks!17:15
plmTJ-: hey =D17:26
rbasakDammitJim: it's the release pocket. It's active during development of a release (ie. before the release date) and inactive after.17:30
TJ-plm: hiya. script isn't ready yet; got other things ahead of it17:38
=== tomreyn_ is now known as tomreyn
plmTJ-: all right, not problem. The important is that you have success running ubuntu armhf on LXD using qemu-sttic, right? Now just missing the script =D19:01
plmTJ-: do you think that until next sunday the script will be ready?19:02
TJ-plm: I'm going to spend an hour on it tomorrow my time (in the UK)19:02
ahasenackcpaelzer: I won't be around tomorrow to ping you within your timezone, sorry. Were you planning to also handle https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1792400 for trusty? It's the same version of samba that is in xenial, and you updated that one20:02
ubottuLaunchpad bug 1792400 in samba (Ubuntu Trusty) "smbd failed in host when both lxd container and host have smbd" [Undecided,Triaged]20:02
DammitJimdo you guys know why when I try to mkfs.xfs for a new logical volume that is in a software RAID 1 configuration, my system crashes?20:04
DammitJimany known issueson Ubuntu 16.04 that would cause this?20:04
sarnolddo simpler operations like dd over the logical volume show the same issue?20:05
sarnoldcan you use mkfs.xfs on simpler block devices? individual block devices? files?20:06
DammitJimI could try that20:06
_KaszpiR_what do you mean by 'crashes'?20:06
DammitJimthe putty session freezes after the mkfs.xfs /dev/arraylv/activelv20:07
DammitJimand when I go to the console (this is a VM), there is a crash dump of addresses and stuff20:07
DammitJimmaybe a different question... is there such a thing as setting up LVM on top of a software RAID 1?20:11
blackflowof course. with mdadm usually. LVM can do raid too but I never tried that.20:11
blackflowit'd be interesting to see that dump, top of it more than the bottom. pic even if you can't pastebin.20:12
DammitJimlet me try20:13
DammitJimI'm having to see if I can get support from Canonical and pay for this problem since I need it resolved right away20:13
DammitJim*sigh*20:13
blackflowthat'd be swell.20:14
sarnoldI think I'd expect lvm to be able to stack on top of mdadm..20:15
DammitJimdo you think I can get support right away or is this something where one needs to have a support plan in place?20:15
DammitJimsarnold, apparently that's normal (in CentOS)20:15
sarnoldbut you might be better served by zfs instead https://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/20:15
DammitJimbut for some reason things aren't working for the company that is doing this install on Ubuntu20:15
masonEh? mdadm is fine underneath lvm - what's breaking?20:16
masonDammitJim:20:16
sarnoldhey mason :)20:16
masonsarnold: o/20:16
DammitJimwhen I try to mkfs.xfs /dev/arraylv/activelv20:17
DammitJimthe system crashes20:17
masonDammitJim: That's not supposed to happen.20:17
DammitJimcorrecto20:17
masonDammitJim: What's the underlying storage?20:18
DammitJim2 fusionIO cards20:18
DammitJimESXi on the host20:18
DammitJimthe server I'm configuring is a VM20:18
_KaszpiR_why on earth you want to make a raid1 on vm?20:18
blackflow +1 for the ZFS recommendation.20:18
DammitJimbecause of redundancy of the fusionIO cards20:18
blackflow_KaszpiR_: why not, the storage of a VM can be actual physical hardware20:19
masonDammitJim: So, does it also bomb out with something other than XFS? I'd vary that since you can.20:19
_KaszpiR_just use proper SAN?20:19
blackflowit's usually like that in modern clouds where compute nodes are separate from storage, iscsi galore20:19
DammitJimext420:20
masonDammitJim: It bombs out with ext4?20:20
DammitJimyes ma20:20
DammitJimmason20:20
DammitJimgosh, I'm torn... I don't know if I need to get support or spend the time troubleshooting this myself20:21
masonDammitJim: Can you get a vmcore? Do you see a stack trace?20:21
DammitJimI'm sure Ubuntu Advantage is not cheap20:21
_KaszpiR_what kind of service you want to host on that vm?20:21
DammitJimIBM DB220:21
DammitJimmason, vmcore?20:21
DammitJimthere is a stack trace on the console... how can I grab it? is it all saved to a file?20:22
masonDammitJim: If you have a chance to vary the FusionIO cards that'd be useful too. Also, have you tried dropping mdadm and just having lvm as the base on *one*?20:22
DammitJimno, we just came across this20:22
masonDammitJim: The other thing that comes to mind is, try what you're doing as a once-off with only one underlying device in the mdadm.20:22
masonBasically, twiddle all the available knobs to map where it fails and where it doesn't.20:23
DammitJimyeah20:23
masonDammitJim: http://manpages.ubuntu.com/manpages/xenial/man8/kdump-config.8.html20:23
DammitJimI wish there was something else to look at that would tell me where to go20:23
masonDammitJim: If you can get a vmcore that'll be hugely useful.20:23
blackflowDammitJim: well that dump will tell you _where_ the crash occurs20:23
masonNot a bad start really. :P20:24
sarnoldDammitJim: I think the price seems fair, especially compared to the cost of your time https://www.ubuntu.com/support/plans-and-pricing20:25
_KaszpiR_hm this reminds me some bug with multipath under some system.....20:36
DammitJimwhat?20:41
_KaszpiR_someone had vm with multiple disks like you with multipath enabled and it was causing some weird shit&dumps20:43
_KaszpiR_remembering it through a haze, so ignore it.20:43
=== elsheepo_ is now known as elsheepo

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