plasma41 | ham5urg: I have no opinion on ibus. Within a rounding error, I only every type in English. | 00:37 |
---|---|---|
texasmynsted | maybe not the place to ask but... For shell scripts, dash or ksh? | 00:40 |
ham5urg | plasma41, after I clicked at Ibus' 'info', I had to ask about your stance. I was doubting its quality. | 00:44 |
plasma41 | texasmynsted: 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 |
texasmynsted | That 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 |
fluffywolf | those commands also have a posix-compliant subset of features that will work on all systems | 00:49 |
texasmynsted | ah true | 00:50 |
plasma41 | If you replace your awk implementation with the original-awk package and an awk script keeps working, you're probably fine. | 00:58 |
plasma41 | texasmynsted: You're a fellow Texan, I assume? | 00:59 |
texasmynsted | yes. | 01:12 |
texasmynsted | (Living in Tennessee for a while now though) | 01:12 |
* texasmynsted tips hat to plasma41 | 01:13 | |
fluffywolf | what if my awk scripts don't work in the first place? :P | 01:14 |
texasmynsted | then they likely will continue to work just as well elsewhere? | 01:15 |
plasma41 | fluffywolf: 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 |
plasma41 | Dinner time! | 01:16 |
plasma41 | mmm, that was a good burger. | 01:38 |
plasma41 | end of off-topic | 01:38 |
golinux | About time . . . burp . . . | 01:39 |
rwp | Using 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 |
onefang | Though 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 |
yjftsjthsd3 | Does Devuan have official docker images? | 06:16 |
fsmithred | yjftsjthsd3, not official, but close: https://github.com/dyne/docker-devuan-builds/tree/master/devuan | 11:41 |
cytokine_storm | hi, how to use tun0 interface of openvpn | 14:12 |
lts | cytokine_storm: Try #openvpn, they're here in Libera | 14:14 |
bb|hcb | cytokine_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 itself | 14:14 |
cytokine_storm | ok thanks :) | 14:16 |
Brandon_IX | hey, I'm trying to setup my network on a clean install of devuan on my laptop | 14:55 |
Brandon_IX | ifconfig only shows lo | 14:55 |
Brandon_IX | I was able to do the netinstall over wifi no problem | 14:55 |
Brandon_IX | on boot it says I'm missing iwlwifi | 14:56 |
Brandon_IX | but I've also tried ethernet and no luck | 14:56 |
Brandon_IX | nevermind, just updated /etc/network/interfaces and ethernet is working | 15:02 |
fsmithred | usually the firmware you need gets installed automatically. | 15:09 |
fsmithred | make sure contrib and non-free are enabled in sources.list and you can install firmware-iwlwifi | 15:10 |
fsmithred | or pull it off the installer iso. | 15:10 |
Brandon_IX | fsmithred: thank you | 15:28 |
Brandon_IX | I'm not sure if this is the place to ask | 16:47 |
Brandon_IX | but I installed doas | 16:47 |
Brandon_IX | but some commands it says not found for some reason | 16:47 |
gnarface | might be a path issue; for some dumb reason upstream removed /sbin and /usr/sbin from root's default path | 16:48 |
gnarface | you can put it back in by editing /etc/login.defs | 16:48 |
gnarface | (or just use the full path to the command when calling those commands) | 16:49 |
Brandon_IX | hmmm but the commands work when I'm logged in as root | 16:49 |
Brandon_IX | yes calling the absolute path seems to work | 16:50 |
Brandon_IX | I will see if I can change what's supposed to go in /etc/login.defs | 16:51 |
Brandon_IX | is upstream removing /sbin and /usr/sbin from root's default path a devuan thing or debian thing? | 16:51 |
gnarface | debian usurpers' vandalism | 16:53 |
gnarface | there 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 |
gnarface | for 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 included | 16: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_IX | so what do I need to put into /etc/login.defs? | 16:57 |
gnarface | well, based on your updated testing info maybe nothing, but just to be sure, find where the variable ENV_SUPATH is defined | 16:58 |
gnarface | make sure it still has /usr/sbin and /sbin in it | 16:59 |
gnarface | line 102 in mine, but it might be an old version | 17:01 |
gnarface | ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | 17:02 |
gnarface | it used to look like this^ | 17:02 |
gnarface | order of precedence is left to right | 17:03 |
Brandon_IX | yup it's in here | 17:03 |
DevuanNewUser | Hello! How install OpenVPN on Devuan? I use "sudo apt install openvpn" but get error "Package 'openvpn' has no installation candidate" | 17:03 |
gnarface | so maybe the issue is with doas | 17:03 |
gnarface | DevuanNewUser: 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=submit | 17:04 |
gnarface | DevuanNewUser: you remembered to run "apt update" once first, right? | 17:05 |
DevuanNewUser | Yes, i run "apt update first" | 17:06 |
Brandon_IX | gnarface: it's weird because doas env shows /sbin and /usr/sbin | 17:16 |
gnarface | that is weird | 17:16 |
gnarface | could it be a configuration issue in doas? | 17:16 |
gnarface | i don't know doas | 17:16 |
Brandon_IX | I've only put one line in my doas config | 17:17 |
Brandon_IX | what's the command to see where a command is located again? | 17:17 |
Brandon_IX | where the binary is I mean | 17:17 |
gnarface | which [binary] | 17:18 |
gnarface | although which may be subject to path errors | 17:18 |
gnarface | you 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 files | 17:19 |
gnarface | also, dpkg -S actually searches for *[filename]* | 17:20 |
gnarface | so that can be messy unless you're good with grep | 17:20 |
gnarface | if 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 specifically | 17: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_IX | thanks gnarface | 17:48 |
gnarface | no problem | 17:53 |
fsmithred | echo 'ALWAYS_SET_PATH yes' >> /etc/default/su | 17:54 |
Brandon_IX | fsmithred: didn't work | 18:01 |
fsmithred | that line gives you the old behavior of su. I don't know if it affects doas. | 18:02 |
Brandon_IX | thanks anyway | 18:03 |
fsmithred | I guess I do know. Sorry it didn't help. | 18:03 |
Brandon_IX | np | 18:10 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!