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

fattywompusif I restart the SSH daemon with "sudo systemctl restart sshd" while connected through SSH does it seem funny that I'm not disconnected?02:25
mybalzitchthe daemon forks off sessions02:27
fattywompusso are you saying I'm still on a session running on the old sshd_config file I just edited and any new sessions will use the new config?02:38
fattywompusI guess not like it matters from a practical standpoint, just curious.  And thanks for the answer.  When it didn't go down I began to wonder if I was doing something wrong or working off of bad info02:46
mybalzitchyes, any changes to the daemons configuration will be reflected in new connections, nothing happens to your already established connection, as I understand it02:48
=== denningsrogue3 is now known as denningsrogue
jaguardownHi, what's the difference between 01-netcfg.yaml and 99-config.yaml? 01-netcfg.yaml has a dhcp config for my ethernet but 99-config.yaml has a static config. This server used to be 18.04, I would have added the static config and I also upgraded to 20.04. Can I delete 01-netcfg.yaml?14:40
=== Mollerz1 is now known as Mollerz
jaguardownI'm just gonna say yes unless someone says otherwise14:44
compdocdelete the one that isnt loading, or save it14:49
compdocor delete the one you dont want loading14:49
jaguardowncompdoc ok that's what I figured, I just renamed it with .bak and put it in a tmp folder14:56
compdoccheck ownership and perms14:56
jaguardownthey're 755 for the tmp directory and 64414:57
jaguardownfor the files14:57
jaguardownowned by root14:57
compdocsounds right14:58
jaguardownCan someone help me? I have KVM running on Ubuntu Server 20.04. I want the VM's to have a bridge connection. Here's my /etc/netplan/99_config.yaml: https://pastebin.com/gyhN9WGc it works great when I create the bridge in this file and run "sudo netplan apply" but as soon as I reboot the server it breaks the network connection, everything looks the same as far as IP addresses but I can't reach any IP17:50
jaguardownaddresses. One possibly unrelated note is that the guests aren't configured to automatically start on host reboot.17:50
compdocjaguardown, I use bridges. let me take a look. do you have more than one nic in the server?18:20
tomreyndhcp on the bridge, would that be needed / correct?18:21
compdocdhcp service, or for the bridge to confi itself?18:25
compdocoh, let me look18:26
compdocI would not use dhcp to define the bridge, but I use seperate nics and the bridge does not need an ip address.18:28
compdocyour mileage may vary18:29
compdocif you have one nic, it would have an ip add assigned so you can share the nic18:30
compdocbecause its a server, might be best to define the ip, ect manually in the yaml18:32
fattywompusIs it necessary to install tcp_wrappers or tcpd?  I don't see it installed but yet I have etc/hosts.allow and etc/hosts.deny which are said to be it's configuration files.  Does editing the etc/hosts files have some different result without tcpd?19:30
RoyKsome daemons read hosts.{allow,deny} themselves without needing tcpwrappers19:41
RoyKI haven't used tcpwrappers for a couple of decades and I don't really miss it19:42
fattywompusSo I can pretty much put whatever rules I would put in the hosts files as if I had tcpwrappers without bothering with tcpwrappers and some other already existing daemons will essentially do the same thing?  Just working with SSH at the moment but guessing this applies to other protocols as well?19:50
tomreynignore tcp wrappers, use a firewall if you need / want.19:59
fattywompusSounds good.  Thanks for the help guys o720:13

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