libera/#devuan/ Tuesday, 2022-05-31

plasma41ham5urg: I have no opinion on ibus. Within a rounding error, I only every type in English.00:37
texasmynstedmaybe not the place to ask but... For shell scripts, dash or ksh?00:40
ham5urgplasma41, after I clicked at Ibus' 'info', I had to ask about your stance. I was doubting its quality.00:44
plasma41texasmynsted: Unless there's a shell-specific feature/syntax/command that you really want to use, I recommend sticking with POSIX-compliant shell scripts. Limiting yourself to dash-compatible scripts is probably your best bet if portability is a requirement.00:45
texasmynstedThat is good, but I notice some things I can do in bash require shelling out do awk, echo, sed, etc in dash, and those are not always fully compatible across linux, bsd, macos, etc.00:47
fluffywolfthose commands also have a posix-compliant subset of features that will work on all systems00:49
texasmynstedah true00:50
plasma41If you replace your awk implementation with the original-awk package and an awk script keeps working, you're probably fine.00:58
plasma41texasmynsted: You're a fellow Texan, I assume?00:59
texasmynstedyes.01:12
texasmynsted(Living in Tennessee for a while now though)01:12
* texasmynsted tips hat to plasma4101:13
fluffywolfwhat if my awk scripts don't work in the first place?  :P01:14
texasmynstedthen they likely will continue to work just as well elsewhere?01:15
plasma41fluffywolf: Then you should go back and read the awk book. It's quite good. You can learn the majority of the language from just the first ten pages alone.01:16
plasma41Dinner time!01:16
plasma41mmm, that was a good burger.01:38
plasma41end of off-topic01:38
golinuxAbout time . . . burp . . .01:39
rwpUsing sh and awk I have never run into an awk incompatibility.  I often reach for awk when I want maximum portability.  But I don't go looking for awk corner cases which I am sure exist if one looks hard enough.04:31
onefangThough you might have to check if awk is a symlink to gawk or mawk, or maybe the busybox or toybox versions of awk.04:32
yjftsjthsd3Does Devuan have official docker images?06:16
fsmithredyjftsjthsd3, not official, but close: https://github.com/dyne/docker-devuan-builds/tree/master/devuan11:41
cytokine_stormhi, how to use tun0 interface of openvpn14:12
ltscytokine_storm: Try #openvpn, they're here in Libera14:14
bb|hcbcytokine_storm: tun is for routing, you point your default gw there; but need to keep a route to the other openvpn endpoint through the current internet connection; i'd expect openvpn would handle all this by itself14:14
cytokine_stormok thanks :)14:16
Brandon_IXhey, I'm trying to setup my network on a clean install of devuan on my laptop14:55
Brandon_IXifconfig only shows lo14:55
Brandon_IXI was able to do the netinstall over wifi no problem14:55
Brandon_IXon boot it says I'm missing iwlwifi14:56
Brandon_IXbut I've also tried ethernet and no luck14:56
Brandon_IXnevermind, just updated /etc/network/interfaces and ethernet is working15:02
fsmithred usually the firmware you need gets installed automatically.15:09
fsmithredmake sure contrib and non-free are enabled in sources.list and you can install firmware-iwlwifi15:10
fsmithredor pull it off the installer iso.15:10
Brandon_IXfsmithred: thank you15:28
Brandon_IXI'm not sure if this is the place to ask16:47
Brandon_IXbut I installed doas16:47
Brandon_IXbut some commands it says not found for some reason16:47
gnarfacemight be a path issue; for some dumb reason upstream removed /sbin and /usr/sbin from root's default path16:48
gnarfaceyou can put it back in by editing /etc/login.defs16:48
gnarface(or just use the full path to the command when calling those commands)16:49
Brandon_IXhmmm but the commands work when I'm logged in as root16:49
Brandon_IXyes calling the absolute path seems to work16:50
Brandon_IXI will see if I can change what's supposed to go in /etc/login.defs16:51
Brandon_IXis upstream removing /sbin and /usr/sbin from root's default path a devuan thing or debian thing?16:51
gnarfacedebian usurpers' vandalism16:53
gnarfacethere was also a semi-related change to su so that the root path is no longer included by default unless requested, perhaps it's possible doas has suffered a similar change?16:54
gnarfacefor example, "su -" will include root's path along with the rest of root's environment variables, but it used to happen that if you just call su with no arguments, the path itself would still be included16:55
gnarface(i was always opposed to that one actually but it seems to have tripped a lot of people up that they changed it)16:56
Brandon_IXso what do I need to put into /etc/login.defs?16:57
gnarfacewell, based on your updated testing info maybe nothing, but just to be sure, find where the variable ENV_SUPATH is defined16:58
gnarfacemake sure it still has /usr/sbin and /sbin in it16:59
gnarfaceline 102 in mine, but it might be an old version17:01
gnarfaceENV_SUPATH      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin17:02
gnarfaceit used to look like this^17:02
gnarfaceorder of precedence is left to right17:03
Brandon_IXyup it's in here17:03
DevuanNewUserHello! How install OpenVPN on Devuan? I use "sudo apt install openvpn" but get error "Package 'openvpn' has no installation candidate"17:03
gnarfaceso maybe the issue is with doas17:03
gnarfaceDevuanNewUser: must be a problem with your sources.list, the package looks present; https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=%5Eopenvpn%24&x=submit17:04
gnarfaceDevuanNewUser: you remembered to run "apt update" once first, right?17:05
DevuanNewUserYes, i run "apt update first"17:06
Brandon_IXgnarface: it's weird because doas env shows /sbin and /usr/sbin17:16
gnarfacethat is weird17:16
gnarfacecould it be a configuration issue in doas?17:16
gnarfacei don't know doas17:16
Brandon_IXI've only put one line in my doas config17:17
Brandon_IXwhat's the command to see where a command is located again?17:17
Brandon_IXwhere the binary is I mean17:17
gnarfacewhich [binary]17:18
gnarfacealthough which may be subject to path errors17:18
gnarfaceyou can also use: dpkg -S [filename]17:19
gnarface... though that will only check package registries, and won't be subject to path errors, and also won't find auto-generated files17:19
gnarfacealso, dpkg -S actually searches for *[filename]*17:20
gnarfaceso that can be messy unless you're good with grep17:20
gnarfaceif you want to do a old fashioned windows-style search it's: find [directory] -iname [filename]17:21
gnarface... which will be case-insensitive and not include * globs unless you do it specifically17:22
gnarface... but if you do, i recommend enclosing them in single-quotes to avoid auto-expansion collisions with the current directory; '*filename*'17:22
gnarface(if you want it to be case-sensitive use -name instead of -iname)17:23
gnarface(and if you want to search the whole harddrive use / as the directory)17:23
Brandon_IXthanks gnarface17:48
gnarfaceno problem17:53
fsmithredecho 'ALWAYS_SET_PATH yes' >> /etc/default/su17:54
Brandon_IXfsmithred: didn't work18:01
fsmithredthat line gives you the old behavior of su. I don't know if it affects doas.18:02
Brandon_IXthanks anyway18:03
fsmithredI guess I do know. Sorry it didn't help.18:03
Brandon_IXnp18:10

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!