[08:40] <ychaouche> hello #ubuntu-server
[08:42] <ychaouche> is there a way to show motd again after I login ?
[09:09] <ychaouche> run-parts /etc/update-motd/
[09:09] <ychaouche> /etc/update-motd.d/*
[09:09] <ychaouche> my next question would be : I'd like to show a static text. What's the proper way to do that ? should I change the configuration in pam ?
[12:40] <friendlyguy> hi there! i am wondering about a dependency situation, and how i could resolve it properly: opendistroforelasticsearch depends on elasticsearch-oss. however: i have elasticsearch installed and i'd like it to use that instead
[12:41] <friendlyguy> from looking at the feature matrix: elasticsearch includes all functionality that the oss version has to offer. so i dont see why it wouldn't be compatible
[12:51] <friendlyguy> whats the right way to try? download the deb and untar / modify control?
[13:56] <mgedmin> there's a debian package for overriding dependencies, but I forgot what it was called
[13:57] <mgedmin> ah, equivs
[13:58] <mgedmin> the way it works, it enerates a trivial .deb with some Provides: ... metadata and then installs that .deb
[13:58] <mgedmin> friendlyguy: ^
[13:59] <ychaouche> how do I force the update of the motd message ?
[14:02] <mgedmin> sudo update-motd maybe?
[14:07] <ychaouche> that package isn't installed by default
[14:07] <ychaouche> and the description of the package says : " The functionality formerly provided by this package is now integrated into
[14:07] <ychaouche>  pam_motd, in libpam-modules.
[14:07] <ychaouche> "
[14:07] <ychaouche> pam_motd isn't a command though
[14:08]  * ychaouche could it be a libexec ?
[14:12]  * ychaouche oh, libexec don't exist anymore ?
[14:12]  * ychaouche what year is this ?
[14:12] <mgedmin> https://manpages.ubuntu.com/manpages/groovy/en/man8/update-motd.8.html
[14:13] <mgedmin> says it's compatible with pam_motd
[14:13] <mgedmin> (the only way to trigger pam_motd is to log in)
[14:13] <mgedmin> (maybe via ssh, maybe on /dev/tty3 etc.)
[14:15] <ychaouche> mgedmin, I got you. It's just that reading from the package description I thought I didn't have to actually install it since what it does is already covered by pamd, but since you also say that I can't trigger pamd manually, I guess I have no other option for now.
[14:33] <ychaouche> I could just have overwritten /var/run/motd or wherever pamd reads the motd from I guess
[14:33] <ychaouche> run-parts /etc/update-motd.d/ > /var/run/motd
[14:35] <mgedmin> but /usr/sbin/update-motd does that atomically
[14:35] <ychaouche> humm... I think the real problem was that my script was having a syntax error, that's why the /var/run/motd wasn't updated
[14:36] <ychaouche> I have uninstalled update-motd, changed my script, logged out and back in, changes are immediatly visible.
[14:36] <ychaouche> My first assumptions about motd not being updated automatically were wrong
[14:37] <mgedmin> fwiw update-motd passes --lsbsysinit to run-parts; not sure if it matters in practice
[14:41] <ychaouche> apparently that only filters what scripts are executed based on filenames and file permissions IIRC.
[15:36] <zetheroo1> Is this for Ubuntu 16.04 as well? https://buy.ubuntu.com/collections/ubuntu-advantage-virtual
[15:37] <zetheroo1> because it just says 'Ubuntu 14.04 LTS Extended Security Maintenance (ESM)' everywhere
[15:43] <mgedmin> 16.04 still has regular security support until next April, after which it'll go into ESM too
[15:43] <mgedmin> five years since 2016-04
[15:47] <zetheroo1> mgedmin: afaik ESM for 16.04 ends in 04/2024
[15:47] <zetheroo1> but the question is if the stuff I linked to is for 16.04 ...
[15:48] <mgedmin> yeah, LTS = 5-year support for everyone, ESM extends that to 10 years and requires $$$
[15:49] <mgedmin> I expect that page will change in 2021-04 to mention 16.04 as well
[15:50] <zetheroo1> mgedmin: according to https://ubuntu.com/security/esm '16.04 (Xenial Xerus) will have updates provided for up to three years after the end of the Standard Security Maintenance window.'
[15:50] <mgedmin> oh, not 10 years, just 8 years?  interesting
[15:50] <zetheroo1> 'Ubuntu 18.04 (Bionic Beaver) and subsequent releases until further announcement will have ESM updates provided for up to five years'
[15:51] <mgedmin> at this point I'm pretty sure you know more than I so I'll stop answering ;)
[15:52] <zetheroo1> I don't know ... just trying to put the pieces together
[15:53] <zetheroo1> is EOL the same as end of ESM?
[15:54] <mgedmin> I think that's the new terminology, yes
[15:54] <zetheroo1> right
[15:54] <mgedmin> (some people might still say EOL and mean the end of regular support)
[16:23] <endersending> I am looking for some help. I am trying to install ubuntu 18 server as a guest in Xen/Qemu. The install goes fine, but on boot it dies not being able to find the LVM
[16:24] <endersending> I tried to install ubuntu 20 LTS server, and it kept crashes during the install
[16:25] <endersending> Has anyone had experience installing server on a VM?
[16:27] <mgedmin> yes, a libvirt vm
[16:29] <mgedmin> 18.04, installed fine using the live-server iso in virt-manager
[16:29] <endersending> mgedmin, did you use the ISO or a vm image?
[16:29] <endersending> I tries the ISO
[16:29] <endersending> 18 installs, but dies on boot not finding the LVM
[16:31] <mgedmin> dunno, I created an lvm partition and let libvirt use it as the virtual disk for the VM; then didn't add another LVM layer in the ubuntu installer
[16:33] <endersending> Do you remeber is your virtual disk showed up twice? mine does, one as /dev/xd0 (or something) and the other as a Qemu disk
[16:41] <ChmEarl> endersending, this is the Xen from bionic repo? xen-4.11? if so, paste your xl/xen config and `fdisk -l /dev/VG/LV` for your LVM
[16:44] <endersending> let me look..
[16:45] <endersending> 4.9.112-32.el7.x86_64
[16:45] <endersending> its Centos as the hypervisor.
[16:46] <endersending> my disks are served via fibre channel, so i just give the VM the whole raw disk
[16:46] <endersending> not sure how to dump my xen config
[16:52] <endersending> fdisk: https://pastebin.pl/view/1dae889e
[16:54] <endersending> I am going to try to install again... maybe i can get it to work
[16:55] <RoyK> endersending: I haven't used xen for 10 years or så ;)
[17:03] <ChmEarl> endersending, why use type BIOS for your xvda1 (1st partition)? make it type Linux (83)  and size 2G
[17:14] <endersending> ChmEarl, that was the auto config.. can I just put everything on one partition, or do I need a boot partition>
[17:15] <ChmEarl> endersending, 1 partition
[17:16] <endersending> ok.. If this instll doesnt work Ill try with a different partition config
[17:17] <endersending> It installed this time.. I think the difference could have been the first few tries, I reused a VM I had set up for freebsd.. so creating a new one and saying that I am using ubuntu 18, might have solved the problem
[17:17] <endersending> Thank you very much for the help
[17:18] <endersending> Now I am going to try to create my own open street maps tile server