[07:27] <lordievader> Good morning
[13:24] <coreycb> jamespage: hi, any objections to this change for ovs? It would go back to bionic. https://paste.ubuntu.com/p/BcT3gWpWND/
[15:02] <Ussat> in Ubuntu server 18.04(latest), whats the latest version of ansible avaliable in a PPA ?
[15:03] <Ussat> that should have read 18.04.(latest)
[15:03] <teward> !ppa
[15:03] <ubot3> A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge
[15:03] <teward> Ussat: we don't audit the PPAs ;)
[15:04] <Ussat> OK, well then, whats the latest avaliable in the official Ubuntu ?
[15:05] <teward> I believe it's 2.5.1
[15:05] <teward> ansible has a PPA with 2.9.16 but I don't know if it's legitimate
[15:05] <teward> (as i said earlier we don't audit the PPAs - they're unsupported third party repos :P)
[18:14] <SuperLag> I'm trying to configure a VM template for Ubuntu Server, and one of the things I'd like to do on first boot for every machine is delete and regenerate the SSH host keys. How would you go about doing that?
[18:15] <sdeziel> SuperLag: rm /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub && ssh-keygen -A
[18:27] <SuperLag> I should have added more. I know how to delete/regenerate the keys. It's more the "how do I do this on first boot for each VM?" that I need to figure out.
[18:27] <SuperLag> my apologies for not being more clear
[18:31] <sdeziel> SuperLag: you can probably use a systemd unit using ConditionFirstBoot=true (see `man 5 systemd.unit` for what is assumed to be a first boot)
[21:21] <orentanay> I'm not sure if this is even possible, but when I run ps aux, the last column is Command, and for what I'm looking for it currently says "php test1.php", but what I really want is the full path to test1.php, so preferably it would look like this "php /var/www/mysite/html/somethingelse/test1.php     Is something like this possible? Thank you
[21:25] <orentanay> Argh, I think I have to modify my cronjob so that when I call my php script, I do so with its full path, this way it's available to me in the Command column. Unless someone knows of another way? Thanks,
[21:26] <sdeziel> orentanay: dunno if ps can tell you that but by looking in /proc/$pid/fd, you can find where the opened file descriptors are pointing
[21:27] <orentanay> great, that gives me somewhere to start, thanks for the hep sdeziel.
[21:27] <sdeziel> np
[23:09] <bladane> is it possible to change owner of root subfolder effectively? I.e. to be able to do cd, ls without sudo
[23:10] <bladane> I can change it with chown user:user /path/to/folder
[23:10] <bladane> but cannot do anything in it without sudo
[23:14] <sarnold> bladane: what exactly are you trying to do? it sounds a bit like you're probably doing something the hard way around..
[23:16] <bladane> eh...I think so....I am trying to setup samba share folder on external drive. It was initially mounted with root:root ownership. Now there is nextcloud and it is working. But samba is not working on share folder (permissions). I changed ownership on share folder to samba user. But it is still on mounted drive that belongs to root.
[23:17] <bladane> If I change ownership of drive - to samba user. Samba works - nextcloud dont.
[23:17] <bladane> If I put it back - nextcloud works - samba doesn't
[23:18] <bladane> Obviously - I dont understand how permissions work.
[23:19] <bladane> I hope you understood what I did.
[23:26] <sarnold> hmm, it's been twenty years since I've done samba things, but when I did, I thought samba needed to run as root, so it could manage permissions on the files
[23:29] <bladane> samba is running as root, but to access from outside - I can set user to be samba user and access
[23:29] <bladane> hm - I have another question - more generic - should my mounted drive be with user ownership or as root?
[23:31] <bladane> I will try to move nextcloud down into folder (not to be in root of external drive)
[23:31] <sarnold> bladane: it's a bit hard to give exact concrete advice :/
[23:31] <sarnold> bladane: it's usually best if your data is owned by the user accounts that is going to work with the data
[23:32] <bladane> good
[23:32] <sarnold> but if nextcloud doesn't do users the same way samba does, or if you're squashing all the users into one for samba, etc, it gets harder
[23:33] <bladane> there is only one user - that is sudoer.. root is disabled
[23:34] <sarnold> ah, so there's not a dozen users all doing samba things most of the time, and then next cloud once in a while..
[23:35] <sarnold> I wonder if you could tell samba to do everything with the nextlcoud user account
[23:41] <bladane> good idea...I will investigate that