/srv/irclogs.ubuntu.com/2022/07/19/#ubuntu-server.txt

jamespagecoreycb: I took the decision to demote python3-redis to a suggests for python-tooz at runtime - the new version was pulling in extra deps and I know we don't make use of this backend by default07:23
=== ChunkzZ is now known as Chunkyz
ahasenacksarnold: great points!11:57
ahasenackI will show other methods too, like netplan and perhaps systemd-networkd11:57
ahasenackI'll go over them in detail now11:58
ahasenackreboot, brb12:04
=== lotuspsychje_ is now known as lotuspsychje
coreycbjamespage: sounds good, thanks12:17
jamespagenp12:18
athossergiodj: o/ FYI sbcl bootstrap is complete. I am now (no-change) rebuilding the reverse dependencies so we get them in ppc64el as well12:27
=== scoobydoob is now known as scoobydoo
sergiodjathos: awesome!13:17
holmanbahasenack: Just a quick comment about peer-to-site-wg-on-router.md, which has the following statement: "Of course, this setup is only possible if you can install software on the router. Most of the time, when it's provided by your ISP, you can't. But some ISPs allow their device to be put in a bridge mode, in which case you can use your own device (a computer, or a Raspberry PI, or something else) as the routing device."13:50
ahasenackholmanb: yes?13:51
holmanbSince this is in the context of home networks, I think a comment about port forwarding would make sense here. 13:51
ahasenackholmanb: when it's on the router itself, port forwarding isn't necessary. It is in the next section, though, where I will talk about installing wg on some existing device inside the network13:51
ahasenackif you put the ISP-provided router in bridge mode, and use, say, a pi4 as the gateway, the "real" ipv4 address will be on the pi413:53
ahasenackso again, no port forwarding necessary13:53
holmanbRight, I understand that it is not necessary from a technical point of view in that case. I wanted to make a comment because managing a home firewall exposed to the internet in place of an ISPs device and port forwarding through an isp's device to a pi4 wireguard server just have different attack surfaces (and levels of required maintenance), so I thought it was worth mentioning both for the user to decide what they think is 13:57
holmanbbest.13:57
holmanbBut it sounds like you'll have a section on that anyways. I just didn't see mention of it in that document so wanted to bring it up13:57
FortunateSonhello all!  I'm looking for a good tutorial (preferably text) on setting up a samba share with active directory backend authentication on ubuntu 14. (its old, I know) My google-fu is failing me.  Any help is appreciated.17:16
sarnoldhmm, looks like the wayback machine doesn't have any captures of the docs page from that era17:23
geniiThis tutorial is still around https://www.server-world.info/en/note?os=Ubuntu_14.04&p=samba&f=417:38
=== oerheks1 is now known as oerheks
ahasenackholmanb: correct, it's to be written yet. THere is a place holder for it in that git repo, but just with some thoughts for now18:56
ahasenackthanks for the reminder, I'll definitely cover port forwarding18:56
holmanbahasenack: +1 sounds good, thanks!20:48
ahasenackI'm confused, shouldn't this chgrp have worked? https://pastebin.ubuntu.com/p/k4B7Vqzy4t/21:26
znfwhy would the user `syslog` have the rights to change the group to `adm` ?21:28
ahasenackbecause the syslog user is a member of the adm group21:29
ahasenackworks on jammy: https://pastebin.ubuntu.com/p/K97GcT63fC/21:31
ahasenackearlier was a focal container on a jammy host, I'm trying a real focal vm now just for kicks21:31
ahasenackheh, in a focal vm it worked21:32
ahasenackwth21:32
ahasenackwhy do I keep finding the odd ones21:32
ahasenacksarnold: any idea on the above? My first pastebin?21:32
ahasenackfocal lxd on jammy host21:32
ahasenackfound it because I noticed my focal lxd had /var/log/syslog (the file) as syslog:syslog, instead of the usual syslog:adm21:33
ahasenackand presto, rsyslogd was complaining in the log that it couldn't change the ownership of /var/log/syslog21:33
ahasenackhm, I'm seeing that in all my containers21:41
sdezielahasenack: I cannot reproduce on either Focal nor Jammy containers (with LXD 5.0 snap and HWE kernel 5.15 if that matters)21:43
ahasenackthx21:43
ahasenackwondering if /etc/sub{uid,gid} might be involved21:43
sdezielahasenack: I'm not tweaking those but LXD's snap doesn't use them AFAIK21:44
ahasenacksdeziel: what kernel is the host on?21:47
ahasenackI have 5.15.0-4121:47
ahasenack(running)21:47
ravagei have that running too21:47
ravagedownloading the focal container. can test it in a minute21:48
sdezielahasenack: same kernel (5.15.0-41-generic #44~20.04.1-Ubuntu)21:49
ravageworks just fine in focal21:49
* ahasenack scratches head21:49
ahasenackat least it will be some interesting troubleshooting21:49
sdezielahasenack: I have `snap list lxd` 5.0.0-b0287c1  2292321:49
ravagelxd   5.3-91e042b  23270  latest/stable  canonical✓  21:50
ravage(jammy works too)21:52
ahasenacksame here21:53
ahasenackthis is a fresh jammy install, from last Sunday21:53
ahasenackit's not just a focal lxd, looks like any lxd that I'm creating fresh21:54
ahasenacktelltale is /var/log/syslog owned by syslog:syslog instead of syslog:adm21:54
ahasenackweird21:54
ahasenackand interesting21:54
ahasenackhttps://pastebin.ubuntu.com/p/qHcjGXJ4tp/21:55
ahasenack972   fchownat(AT_FDCWD, "/var/log/syslog", -1, 4, 0) = -1 EPERM (Operation not permitted)21:56
ahasenackfascinating21:56
ahasenack# sudo -u syslog id21:57
ahasenackuid=104(syslog) gid=111(syslog) groups=111(syslog),4(adm)21:57
ahasenackit's 7pm here, I'll think about it tomorrow21:57
ahasenackcya21:57
ravagebye21:58
ahasenackohh21:58
ahasenackfound something21:58
ahasenackeven weirder21:58
ravageheh21:58
ahasenackah, n/m21:59
ahasenackmistake21:59
ahasenackas I said, 7pm21:59
sarnoldahasenack: wow, sorry I missed your chgrp question -- that's *really* confusing though :) good job :)22:28

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