[07:27] Good morning === jelly-home is now known as jelly [13:24] jamespage: hi, any objections to this change for ovs? It would go back to bionic. https://paste.ubuntu.com/p/BcT3gWpWND/ [15:02] in Ubuntu server 18.04(latest), whats the latest version of ansible avaliable in a PPA ? [15:03] that should have read 18.04.(latest) [15:03] !ppa [15:03] 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] Ussat: we don't audit the PPAs ;) [15:04] OK, well then, whats the latest avaliable in the official Ubuntu ? [15:05] I believe it's 2.5.1 [15:05] ansible has a PPA with 2.9.16 but I don't know if it's legitimate [15:05] (as i said earlier we don't audit the PPAs - they're unsupported third party repos :P) === denningsrogue4 is now known as denningsrogue [18:14] 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] SuperLag: rm /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub && ssh-keygen -A [18:27] 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] my apologies for not being more clear [18:31] 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] 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] 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] 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] great, that gives me somewhere to start, thanks for the hep sdeziel. [21:27] np [23:09] is it possible to change owner of root subfolder effectively? I.e. to be able to do cd, ls without sudo [23:10] I can change it with chown user:user /path/to/folder [23:10] but cannot do anything in it without sudo [23:14] bladane: what exactly are you trying to do? it sounds a bit like you're probably doing something the hard way around.. [23:16] 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] If I change ownership of drive - to samba user. Samba works - nextcloud dont. [23:17] If I put it back - nextcloud works - samba doesn't [23:18] Obviously - I dont understand how permissions work. [23:19] I hope you understood what I did. [23:26] 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] samba is running as root, but to access from outside - I can set user to be samba user and access [23:29] hm - I have another question - more generic - should my mounted drive be with user ownership or as root? [23:31] I will try to move nextcloud down into folder (not to be in root of external drive) [23:31] bladane: it's a bit hard to give exact concrete advice :/ [23:31] bladane: it's usually best if your data is owned by the user accounts that is going to work with the data [23:32] good [23:32] 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] there is only one user - that is sudoer.. root is disabled [23:34] 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] I wonder if you could tell samba to do everything with the nextlcoud user account [23:41] good idea...I will investigate that