libera/#devuan/ Friday, 2022-02-18

chomwittgoodmorning.07:56
lyn1337maria fails to install on a fresh devuan with runit, just me?08:30
gnarfacedoes it actually fail to install or just fail to start automatically after installation?08:40
ejjfunkylyn1337, i installed mariadb on devuan with runit, and it works ok.08:43
gnarfaceis it even failing to install or is it just something that looks like an error?08:47
gnarfacei vaguely recall mysql had some error at start sometimes to do with the script that checks for corrupt tables, but it would be a non-issue like there were no tables because it's a fresh install08:48
gnarfacesomething like that08:48
gnarfacesomething that you could easily re-run manually08:48
lyn1337nvm it just works now in a new container..08:55
ananimususHow can I log all commands executed by the user?15:46
gnarfaceyou can watch their ~/.bash_history or you can use lastcomm from the acct package perhaps15:55
ananimususI'm talking about more advanced logging: log not only command names, but also their output, including piped data16:22
Hurgotronwhy is dpkg -l  using a pager in chimaera...19:05
fsmithredHurgotron, my dpkg does not use a pager. Did you make an alias?22:34
peterrooneyHurgotron: because it's the new default in 1.19 ; it can be turned off with "dpkg --no-pager". The people "maintaining" dpkg do not seem above forcing their ideas about workflow onto others.22:48
Hurgotronpeterrooney: thanks, i thought I was going nuts22:49
HurgotronI do dpkg -l | grep whatever all the time22:49
peterrooneyHurgotron: I hear you. Been there, got the sedatives prescribed.22:52
Hurgotronpeterrooney: did "export DPKG_PAGER=cat" instead of an alias, seems somewhat cleaner to me22:54
fsmithredah, I wasn't getting the new behavior because I always either pipe the output or name a package.22:58
Hurgotronfsmithred: if you pipe the output to grep you get nothing23:00
Hurgotronbecause of the pager23:00
fsmithredif I pipe the output to grep I get lines with my pattern23:00
fsmithredif I do 'dpkg -l' with no arguments, I get the pager23:00
fsmithred1.20.9 here23:00
fsmithredmaybe they changed it again?23:01
HurgotronI have 1.20.9 here too. weird.23:01
fsmithrednope. It's the same in beowulf with 1.19.723:01
fsmithredthis works, too. dpkg -l | awk '/ii/ { print $2 " " $3 }23:04
HurgotronI guess it depends on the pager set.23:04
Hurgotronbecause i can't reprduce anymore (installed a ton o stuff in between)23:04
Hurgotronwhich makes these new settings even more fun.23:04
fsmithred $PAGER and $DPKG_PAGER are empty here23:05
xrogaandpkg should detect if its output is a pipe and automatically "disable" the pager.23:36
xrogaanBasically, if the output isn't stdout.23:37
xrogaannote that it's the same with 'grep --color=auto', the colors gets disabled if grep outputs isn't stdout23:39
onefangAre there any grub2 on mdadm RAID1 experts in the house?  I'm trying to build a new RAID1, but grub2 keeps picking up the grub.cfg from the old one.23:48
onefangThe server has slots for two SSDs, and they have been replaced with bigger ones.  One of the old SSDs is plugged into USB until I get everything sorted.23:49
fsmithredonefang, where are you trying to install grub?23:49
onefangOn the RAID array.23:50
fsmithredis /boot mirrored?23:50
onefangI'm taking the oppurtunity to switch from msdos to gpt.  And yes, /boot is mirrored.23:51
fsmithredwait, the old grub.cfg is on the usb now?23:51
onefangYep.23:51
fsmithredok, maybe hd1 and hd0 are switched.23:51
fsmithredkernel and grub don't agree on which disk is first23:51
onefangI updated the grub on both, the USB is hd2.23:52
fsmithredyou can figure that out on grub command line using tab-completion23:52
fsmithredok, so what's the problem?23:52
onefangSo hdo and hd1 both have the new grub.cfg that knows about booting from the old and the new RAID array, but when I boot, Grub only lists the old array.23:53
fsmithredis the raid encrypted?23:54
onefangNope.23:54
fsmithreddoes it boot without the usb?23:55
onefangMaybe I should just switch to syslinux.  lol23:55
onefangThe server is on the other side of the planet, I can't unplug the USB.23:56
fsmithredI would try getting to the other grub.cfg using the configfile command at grub prompt23:57
onefangWhat would that command look like?23:58
fsmithredset root=(hdX,Y)23:58
fsmithredconfigfile /path/to/grub.cfg23:59
fsmithredbut...23:59
fsmithredthere's probably stuff missing to assemble the raid23:59

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