chomwitt | goodmorning. | 07:56 |
---|---|---|
lyn1337 | maria fails to install on a fresh devuan with runit, just me? | 08:30 |
gnarface | does it actually fail to install or just fail to start automatically after installation? | 08:40 |
ejjfunky | lyn1337, i installed mariadb on devuan with runit, and it works ok. | 08:43 |
gnarface | is it even failing to install or is it just something that looks like an error? | 08:47 |
gnarface | i 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 install | 08:48 |
gnarface | something like that | 08:48 |
gnarface | something that you could easily re-run manually | 08:48 |
lyn1337 | nvm it just works now in a new container.. | 08:55 |
ananimusus | How can I log all commands executed by the user? | 15:46 |
gnarface | you can watch their ~/.bash_history or you can use lastcomm from the acct package perhaps | 15:55 |
ananimusus | I'm talking about more advanced logging: log not only command names, but also their output, including piped data | 16:22 |
Hurgotron | why is dpkg -l using a pager in chimaera... | 19:05 |
fsmithred | Hurgotron, my dpkg does not use a pager. Did you make an alias? | 22:34 |
peterrooney | Hurgotron: 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 |
Hurgotron | peterrooney: thanks, i thought I was going nuts | 22:49 |
Hurgotron | I do dpkg -l | grep whatever all the time | 22:49 |
peterrooney | Hurgotron: I hear you. Been there, got the sedatives prescribed. | 22:52 |
Hurgotron | peterrooney: did "export DPKG_PAGER=cat" instead of an alias, seems somewhat cleaner to me | 22:54 |
fsmithred | ah, I wasn't getting the new behavior because I always either pipe the output or name a package. | 22:58 |
Hurgotron | fsmithred: if you pipe the output to grep you get nothing | 23:00 |
Hurgotron | because of the pager | 23:00 |
fsmithred | if I pipe the output to grep I get lines with my pattern | 23:00 |
fsmithred | if I do 'dpkg -l' with no arguments, I get the pager | 23:00 |
fsmithred | 1.20.9 here | 23:00 |
fsmithred | maybe they changed it again? | 23:01 |
Hurgotron | I have 1.20.9 here too. weird. | 23:01 |
fsmithred | nope. It's the same in beowulf with 1.19.7 | 23:01 |
fsmithred | this works, too. dpkg -l | awk '/ii/ { print $2 " " $3 } | 23:04 |
Hurgotron | I guess it depends on the pager set. | 23:04 |
Hurgotron | because i can't reprduce anymore (installed a ton o stuff in between) | 23:04 |
Hurgotron | which makes these new settings even more fun. | 23:04 |
fsmithred | $PAGER and $DPKG_PAGER are empty here | 23:05 |
xrogaan | dpkg should detect if its output is a pipe and automatically "disable" the pager. | 23:36 |
xrogaan | Basically, if the output isn't stdout. | 23:37 |
xrogaan | note that it's the same with 'grep --color=auto', the colors gets disabled if grep outputs isn't stdout | 23:39 |
onefang | Are 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 |
onefang | The 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 |
fsmithred | onefang, where are you trying to install grub? | 23:49 |
onefang | On the RAID array. | 23:50 |
fsmithred | is /boot mirrored? | 23:50 |
onefang | I'm taking the oppurtunity to switch from msdos to gpt. And yes, /boot is mirrored. | 23:51 |
fsmithred | wait, the old grub.cfg is on the usb now? | 23:51 |
onefang | Yep. | 23:51 |
fsmithred | ok, maybe hd1 and hd0 are switched. | 23:51 |
fsmithred | kernel and grub don't agree on which disk is first | 23:51 |
onefang | I updated the grub on both, the USB is hd2. | 23:52 |
fsmithred | you can figure that out on grub command line using tab-completion | 23:52 |
fsmithred | ok, so what's the problem? | 23:52 |
onefang | So 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 |
fsmithred | is the raid encrypted? | 23:54 |
onefang | Nope. | 23:54 |
fsmithred | does it boot without the usb? | 23:55 |
onefang | Maybe I should just switch to syslinux. lol | 23:55 |
onefang | The server is on the other side of the planet, I can't unplug the USB. | 23:56 |
fsmithred | I would try getting to the other grub.cfg using the configfile command at grub prompt | 23:57 |
onefang | What would that command look like? | 23:58 |
fsmithred | set root=(hdX,Y) | 23:58 |
fsmithred | configfile /path/to/grub.cfg | 23:59 |
fsmithred | but... | 23:59 |
fsmithred | there's probably stuff missing to assemble the raid | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!