/srv/irclogs.ubuntu.com/2020/11/04/#ubuntu-server.txt

ychaouchehello #ubuntu-server08:40
ychaoucheis there a way to show motd again after I login ?08:42
ychaoucherun-parts /etc/update-motd/09:09
ychaouche/etc/update-motd.d/*09:09
ychaouchemy 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 ?09:09
=== cpaelzer__ is now known as cpaelzer
friendlyguyhi 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 instead12:40
friendlyguyfrom 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 compatible12:41
friendlyguywhats the right way to try? download the deb and untar / modify control?12:51
mgedminthere's a debian package for overriding dependencies, but I forgot what it was called13:56
mgedminah, equivs13:57
mgedminthe way it works, it enerates a trivial .deb with some Provides: ... metadata and then installs that .deb13:58
mgedminfriendlyguy: ^13:58
ychaouchehow do I force the update of the motd message ?13:59
mgedminsudo update-motd maybe?14:02
ychaouchethat package isn't installed by default14:07
ychaoucheand the description of the package says : " The functionality formerly provided by this package is now integrated into14:07
ychaouche pam_motd, in libpam-modules.14:07
ychaouche"14:07
ychaouchepam_motd isn't a command though14:07
* ychaouche could it be a libexec ?14:08
* ychaouche oh, libexec don't exist anymore ?14:12
* ychaouche what year is this ?14:12
mgedminhttps://manpages.ubuntu.com/manpages/groovy/en/man8/update-motd.8.html14:12
mgedminsays it's compatible with pam_motd14: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:13
ychaouchemgedmin, 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:15
ychaoucheI could just have overwritten /var/run/motd or wherever pamd reads the motd from I guess14:33
ychaoucherun-parts /etc/update-motd.d/ > /var/run/motd14:33
mgedminbut /usr/sbin/update-motd does that atomically14:35
ychaouchehumm... I think the real problem was that my script was having a syntax error, that's why the /var/run/motd wasn't updated14:35
ychaoucheI have uninstalled update-motd, changed my script, logged out and back in, changes are immediatly visible.14:36
ychaoucheMy first assumptions about motd not being updated automatically were wrong14:36
mgedminfwiw update-motd passes --lsbsysinit to run-parts; not sure if it matters in practice14:37
ychaoucheapparently that only filters what scripts are executed based on filenames and file permissions IIRC.14:41
zetheroo1Is this for Ubuntu 16.04 as well? https://buy.ubuntu.com/collections/ubuntu-advantage-virtual15:36
zetheroo1because it just says 'Ubuntu 14.04 LTS Extended Security Maintenance (ESM)' everywhere15:37
mgedmin16.04 still has regular security support until next April, after which it'll go into ESM too15:43
mgedminfive years since 2016-0415:43
zetheroo1mgedmin: afaik ESM for 16.04 ends in 04/202415:47
zetheroo1but the question is if the stuff I linked to is for 16.04 ...15:47
mgedminyeah, LTS = 5-year support for everyone, ESM extends that to 10 years and requires $$$15:48
mgedminI expect that page will change in 2021-04 to mention 16.04 as well15:49
zetheroo1mgedmin: 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
mgedminoh, not 10 years, just 8 years?  interesting15:50
zetheroo1'Ubuntu 18.04 (Bionic Beaver) and subsequent releases until further announcement will have ESM updates provided for up to five years'15:50
mgedminat this point I'm pretty sure you know more than I so I'll stop answering ;)15:51
zetheroo1I don't know ... just trying to put the pieces together15:52
zetheroo1is EOL the same as end of ESM?15:53
mgedminI think that's the new terminology, yes15:54
zetheroo1right15:54
mgedmin(some people might still say EOL and mean the end of regular support)15:54
endersendingI 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 LVM16:23
endersendingI tried to install ubuntu 20 LTS server, and it kept crashes during the install16:24
endersendingHas anyone had experience installing server on a VM?16:25
mgedminyes, a libvirt vm16:27
mgedmin18.04, installed fine using the live-server iso in virt-manager16:29
endersendingmgedmin, did you use the ISO or a vm image?16:29
endersendingI tries the ISO16:29
endersending18 installs, but dies on boot not finding the LVM16:29
mgedmindunno, 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 installer16:31
endersendingDo you remeber is your virtual disk showed up twice? mine does, one as /dev/xd0 (or something) and the other as a Qemu disk16:33
ChmEarlendersending, 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 LVM16:41
endersendinglet me look..16:44
endersending4.9.112-32.el7.x86_6416:45
endersendingits Centos as the hypervisor.16:45
endersendingmy disks are served via fibre channel, so i just give the VM the whole raw disk16:46
endersendingnot sure how to dump my xen config16:46
endersendingfdisk: https://pastebin.pl/view/1dae889e16:52
endersendingI am going to try to install again... maybe i can get it to work16:54
RoyKendersending: I haven't used xen for 10 years or så ;)16:55
ChmEarlendersending, why use type BIOS for your xvda1 (1st partition)? make it type Linux (83)  and size 2G17:03
endersendingChmEarl, that was the auto config.. can I just put everything on one partition, or do I need a boot partition>17:14
ChmEarlendersending, 1 partition17:15
endersendingok.. If this instll doesnt work Ill try with a different partition config17:16
endersendingIt 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 problem17:17
endersendingThank you very much for the help17:17
endersendingNow I am going to try to create my own open street maps tile server17:18
=== denningsrogue3 is now known as denningsrogue
=== JanC_ is now known as JanC
=== cassandra is now known as cass

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