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

Ham62I was wondering why I had such an old version of ubuntu on this system before02:23
Ham62for some reason the setup CD for any version past 12 hangs trying to access the disk02:23
Ham6214.04.4 just fails out saying it can't mount the media, 14.04.1 almost makes it into the partitioning screen but then just hangs at a blank purple screen02:24
sarnoldyou might want to try 14.04.6, 16.04.6, or 18.04.2, all of which are significantly newer than 14.04.402:27
Ham62I don't know where my blank CD-ROMs are those are the only versions I had laying around02:28
Ham62so I'm gonna finish this 12.04 setup then do thr upgrade to 16.04 through the update program02:28
Ham62this will also be good practice for if I want to upgrade my main server system from 14 to 16 at some point02:28
Ham62but I heard that's the last version with 32bit support so I'm afraid that might break everything02:29
sarnoldthat's fine I think all those images are too large to burn to a CD anyway, most folks use memory sticks if they're not pxebooting or similar02:29
sarnold18.04 LTS appears to still support x86 http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/ -- note the i386 directories02:30
Ham62huh... I wonder what that was that I read about dropping i386 then02:31
Ham62because someone at uni just brought it up to me a couple days ago when I was talking about maybe updating my system02:31
sarnoldI believe we make people type something to confirm if they want to upgrade their x86 18.04 machines to 18.1002:32
Ham62ah02:32
Ham62I just need to be really careful with that system because I even noticed some programs on the package manager wouldn't run on the system02:33
Ham62they were using SSE2 or something which my CPU didn't support02:33
sarnoldthose discussions were long enough ago that I've forgotten the outcome, but I'm pretty sure 18.04 LTS is the last LTS release we're going to do for x8602:33
Ham62and that was just a text editor that was using SSE2 for some reason... apparently someone messed up the Go compiler config02:34
sarnoldahhhh, that makes some ense02:34
Ham62someone told me to try recompiling it from source but the Go compiler package used the same instructions lol02:35
Ham62and I didn't really feel like recompiling Go from source02:35
lordievaderGood morning07:11
=== lotuspsychje__ is now known as lotuspsychje
vtqHi! I need to override some rules in an apparmor profile. That is, I want to create a profile that goes: #include <blah> (which includes deny /foo) ; then override that with an allow /foo. Can I do that? I've been trying and I can't seem to get it to work08:09
lotuspsychje!apparmor | vtq can this help?08:52
ubottuvtq can this help?: For information about the AppArmor security framework employed in Ubuntu (since Gutsy Gibbon), see https://help.ubuntu.com/community/AppArmor08:52
vtqubottu: seen it already, yes08:54
ubottuI have no seen command08:54
rbasakkstenerud: looks like there's an issue between php7.2 and horde :-/09:06
rbasakhttp://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#php7.209:06
blackflowvtq: afaik no, once denied, you can't allow.11:15
kstenerudrbasak I've updated the MP for php7.2 to include a depends for libicu11:21
kstenerudhttps://code.launchpad.net/~kstenerud/ubuntu/+source/php7.2/+git/php7.2/+merge/36392411:21
rbasakkstenerud: replied in the MP, thanks.11:30
kstenerudOne question: If I'm going to create a new MP with a new ubuntu version (ubuntu2 instead of ubuntu1), does that mean that the changelog requires a new entry (keep the ubuntu1 changelog entry as is, and add a new entry for ubuntu2)? Or do we just pretend ubuntu1 never happened and put everything together?11:56
ahasenackadd a new entry for ubuntu212:00
rbasakkstenerud: what ahasenack says, but note that you should be able to infer that from my MP comment and your question. We can't pretend ubuntu1 never happened - see my MP comment. And I did ask for a "new changelog entry"!12:02
lufiHi. I have two nics. 1 dhcp and 1 static. My problem is there are 2 default routes with the static network being priority. How can I set the dhcp the priority?12:34
lufithe server is a vm with static as hostonly and dhcp bridged (connecting to internet). here is my initial configuration of netplan/50-cloud-init.yaml https://pastebin.com/8QAZX2fQ12:35
lufirunning `ip route` gives this defaults https://pastebin.com/pGP0YQLM12:36
ahasenackcpaelzer: thanks for the careful on the complicated samba related MPs12:37
qman__lufi: the DHCP one already has a metric, so set the static one's metric higher12:37
ahasenackcpaelzer: the samba versioning has a precedent from the other time we went ahead of debian12:38
ahasenackwhere I added ~ubuntu to the +dfsg suffix12:38
lufiqman__ how do I do that? using `routes` in netplan?12:38
ahasenackthe only reason is the dfsg big12:38
ahasenackhad it been the upstream tarball directly, I would have used just +dfsg-0ubuntuN12:39
ahasenackbut maybe my concern is invalid?12:39
ahasenacki.e., our tarball differing from whatever debian will create eventually12:39
qman__I don't know anything about netplan, but surely there must be a metric option12:39
lufiSomething like this? https://pastebin.com/8zzMucqu12:39
qman__if you use the normal /etc/network/interfaces file, and have ifmetric installed, it's just "metric NNN"12:39
lufioh ok. I've been trying that routes thing12:40
lufiyeah 18 has a lot going on12:40
lufiqman__ solved it by doing this https://pastebin.com/Pvqw3sNv12:45
mike802hello all!14:41
mike802i want to work on getting a publicly visible url for my ubuntu server, but i don't know where to start14:41
mike802my php/apache site looks fine over a lan, and i've reserved the domain name on godaddy.....14:42
mike802should i perhaps start in #ubuntu?14:43
sdezielmike802: go to godaddy's panel, add the server's public IP under the name you want14:43
sdezielmike802: here is the right place IMHO14:43
mike802alright14:43
rbasakcpaelzer: are you sure the git-ubuntu change doesn't count as a feature change?14:45
mike802how do i look up my public ip?14:47
mike802on windows i just type that into google14:47
sdezielmike802: I'd first check if you server has it directly configured: "ip addr"14:48
mike802nope...14:49
sdezielmike802: OK so that probably means it's configured on a router/firewall in front of it that does NAT to translate it to its private IP14:50
sdezielmike802: if that's the case, you will likely need to punch a hole in that firewall/router to do a port forward in order for people on the Internet to be able to reach your web server14:51
UssatI would be very carefull and make sure php is secure14:52
Ussatphp is known for exploits14:52
mike802alright, sounds like i might not be ready for a full roll-out14:52
mike802some good points to consider though14:52
sdezielrunning a public service require a bit more attention to security indeed14:53
Ussatyup14:53
mike802i know, i could post my link to the wrong channel and have all kinds of issues14:53
mike802:/14:53
sdezielmike802: I'd recommend not relying on the "hidden" nature of the link in question14:54
mike802alright.....14:54
mike802as far as my php goes, i've barely even started scrubbing input for whitespace and reserved words, etc14:55
mike802anyway, good stuff to consider, thanks14:55
mike802alright, so i've barely used godaddy before, what an i looking for14:57
mike802*am14:57
mike802my account -> account settings -> domain reg defaults -> dns control - enter nameservers?14:58
sdezielmike802: at this point, I'd suggest you stick with godaddy's provided nameservers15:03
sdezielmike802: you likely want to add an "A" record15:04
mike802?15:04
tomreynmike802: the server you are planning on bringing online, is this hosted with godaddy, too, or is this at your home?15:04
mike802it is at my home15:04
tomreyn(or somewhere else entirely)15:04
cpaelzerrbasak: you meant uvtool right?15:04
mike802as i mentioned, over a lan it looks fine15:04
rbasakcpaelzer: yes sorry15:04
mike802i am trying to get away from using a 192-based url15:05
cpaelzerrbasak: well, it is both - a fix to avoid guests with issues on cirrus to work better - and a feature to have much more modern things15:05
mike802trying to find a starting point (not married to godaddy)15:05
tomreynmike802: i see. then you need to find out whether your ISP does dynamic or static ip address assignment, i.e. does your public ip address change over time?15:05
cpaelzerrbasak: I'm fine having it 19.10 as we have adressed the majority of issues in xorg as well15:05
mike802alright, i'll come back later15:06
rbasakcpaelzer: OK, thanks. There should be a PPA available.15:24
rbasakI also want to add support for network-config.15:24
leftyfbAre there any downsides to removing cloud-init from an ubuntu server install?15:35
leftyfbSeems like for bare metal, not being managed by MAAS or juju or anything, it just gets in the way15:35
rbasakHow does it get in the way?15:36
rbasakIf there's no datasource I don't think it's even active.15:37
leftyfbrbasak: it's multiple steps to set a hostname15:39
rbasakleftyfb: and how does removing cloud-init change anything?15:39
rbasakYou set /etc/hostname, and /etc/hosts, and you're done.15:39
leftyfbrbasak: good luck with that15:39
rbasakOK, well if you don't want to explain to Ubuntu developers what the problem actually is, what are you doing on this channel?15:40
tewardrbasak: he *may* be running into the defaults for how cloud-init is15:40
tewardlet me pull up that subiquity bug..15:40
leftyfbrbasak: That in insufficient. You need to use hosnamectl set-hostname and you need to disable preserve_hostname: true in cloud.cfg. Otherwise cloud-init keeps the original hostname. Removing cloud-init allows you to just edit /etc/hostname15:41
leftyfbrbasak: sorry, I was still typing15:41
tewardhttps://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/178086715:41
ubottuLaunchpad bug 1780867 in subiquity "hostname unchangeable / some daemon changes and resets /etc/hostname" [High,Triaged]15:41
tewardleftyfb: rbasak: ^ read up, known 'issue'15:41
leftyfbhm, I'm not so sure it's invalid for cloud-init. Let me check15:42
tewardre-reported by me in December.  cloud-init needs preserve_hostname in /etc/cloud/cloud.cfg to be set to "true"15:42
tewardleftyfb: ultimately not a bug in cloud-init but a bug in the config file that Subiquity leaves as-is15:42
tewardSubiquity could alter that file :P15:42
sdezielI can relate to that. cloud-init does revert hostname changes on reboots by default15:42
teward^ this15:42
rbasakThanks15:43
leftyfbSo shouldn't the bug be that cloud-init should set the default to not revert? As opposed to subiquity changing it at install?15:43
rbasakThat's definitely a valid bug.15:43
rbasakBut I'm confused as I didn't think cloud-init was active after a subuiqity install.15:43
rbasakIf it is, and it's meant to be, then removing it probably isn't a good idea.15:44
rbasakFixing the bug of course is :-/15:44
leftyfbhttps://photos.app.goo.gl/iQCS5LwWY4TqF1Zb715:45
leftyfbcloud-init is definitely active on a fresh install15:45
rbasakI guess subiquity injects a data source then15:45
rbasakTIL15:45
metabsdHi :)15:46
metabsdCan I use clearpart with curtin or preseed in recent ubuntu version ?15:46
tewardrbasak: cloud-init *is* active, I can confirm that.  BUT it needs its defaults altered, IIRC that can be done as a subiquity "cleanup" task before the installer finishes, but that's a discussion for the Subiquity devs15:48
tewardi'm not super familiar with the subiquity internals ;)15:50
leftyfbok, so bottom line, removing cloud-init from a subiquity install has no adverse affect, correct?15:53
tewardI can't verify that unfortunately leftyfb, YMMV.16:01
coreycbsahid: neutron-vpnaas 12.0.1 is now uploaded to the unapproved queue for bionic. i'll add the sru team to the bug now.16:46
sahidcoreycb: ack thanks16:47
Bluekingare there ways to find out what is where about finding what folders is where on multiple hdd's ?18:02
metabsdThere a way to do templating storage layout and network config in MaaS ?18:09
The_ActorHey guys18:49
lordcirth__Hello18:50
The_ActorI am trying to set up an LXE container to upload to my virtulization server for practicing web development. Is there a base LXE image for download, or do I have to create it?18:53
ahasenackyou mean LXD?18:54
ahasenackif you mean lxd, you can easily launch almost any release of ubuntu, debian, centos, fedora, etc, like this:18:54
The_Actorno LXE as in a virtual container that can run on a virtulized environment as opposed to a KVM image18:54
ahasenacklxc launch ubuntu-daily:bionic18:55
ahasenackI don't know what lxe is18:55
tewardThe_Actor: there is no such thing as an "LXE" container18:55
tewardunless you mean LXE *hypervisors*18:56
teward(which is similar to OpenVZ)18:56
tewardbut that's close to LXC/LXD in how it operates18:56
tewardwhich is far easier to get 'working' than OpenVZ or similar systems18:57
The_ActorThere are two popular types of virtulization, the first is KVM and the newest cool way of doing it is via LXE. LXE is not a full virtulization and adds the bennefit of shared resources such as free RAM.18:57
ahasenackit sounds like you are describing lxd18:58
tewardThe_Actor: you've just described LXD18:58
The_ActorI am looking for a base image to upload to my virtulization server and make it into a practice webserver18:58
The_Actorone second18:58
ahasenackthe launch command I pasted above will download the image (if you haven't it already) and launch the container18:58
tewardLXE is "not new" technology, neither is OpenVZ.  LX*D* is the 'newest' cool way of doing containerization and resource sharing on many host OSes, Ubuntu included.18:58
tewardI think LXD is what you are actually looking at :P18:59
The_ActorI know it as LXC with the LXE file type extention19:00
The_Actor"LXC (Linux Containers) is an operating-system-level virtualization method for running multiple isolated Linux systems (containers) on a control host using a single Linux kernel."19:00
The_ActorAm I confused?19:01
lordcirth__I have never heard of LXE, and I use LXC containers lots19:01
lordcirth__What does a .LXE file do?19:02
The_ActorOk well, I am running an EdgeLinux Server, I want to upload an LXC image to it. Do you know if there is a base image that is supported and adheres to the standards I can use to start?19:02
ahasenackdo you have ubuntu installed on that server?19:03
sdezieledgelinux seems to be a gentoo derivative that uses libvirt to drive KVM and LXC19:07
lordcirth__He's gone, anyway19:09
ahasenackI wasn't sure if he meant a server type, or an OS19:14
=== arooni_team_b is now known as arooni
masonI'm confused by something. I see a number of files in /usr/share/doc/libzfs2linux that aren't registered as belonging to any package, when I'd have expected them to belong to libzfs2linux.20:22
masonMaybe they're holdovers from when this box was 16.04.20:22
lordcirth_mason, possibly. You can use apt-file search to check20:26
masonlordcirth_: as with dpkg -S, it doesn't find anything - that said, I'll look on a Xenial box and see20:27
masonNot there either. Odd. /usr/share/doc/libzfs2linux/README.Debian is one of them.20:28
sdezielmason: on Bionic, those files are all symlinks to files owned by libnvpair1linux, exception made of /usr/share/doc/libzfs2linux/copyright.20:29
masonsdeziel: Ah, hah. Good catch. I hadn't considered that they might not be regular files.20:29
masonAnd I guess I never realized that dpkg -S doesn't track symlinks.20:30
sdezielit seems like it does though: https://paste.ubuntu.com/p/S8cMtS8pNV/20:32
masonHrm. Wonder where my README.Debian came from then. I see it in the source package, but I don't see where it's being told to be installed.20:33
masonAnd you don't seem to have it in your paste.20:34
masonI don't see it in a fresh install of the library on a Xenial box, so that's not it.20:35
masonThis is down a rabbit hole and probably not important, but I'm pondering using libzfs for an expansion of some stuff that's current sh.20:36
masoncurrently*20:36
sdezielmason: I know there is/was a PPA for ZoL so maybe it left some files hanging around?20:37
masonSo I looked for a man page, didn't see one, and then looked for plain docs, and noticed bits not registered as being part of a package.20:37
masonMaybe. I don't think I ever used it, but they came from somewhere.20:37
sdezielon Xenial, I see no symlinks20:38
sdezielFYI: https://paste.ubuntu.com/p/xb2Xpqfqx4/20:39
masonhrm20:39

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