tuxd3v | golinux, you still there? | 01:24 |
---|---|---|
tuxd3v | Doesn you know the 'tomb' tool and its capabilities? | 01:24 |
tuxd3v | does | 01:24 |
ashleyk_ | https://github.com/dyne/Tomb | 01:25 |
Acacia | tuxd3v: you can "unix way" it and use zst for a good balance of speed and compression ratio, and gpg for encrypting. Usually you use the program with a gpg key, but it can also encrypt with a passphrase | 01:30 |
Acacia | zstd* | 01:30 |
ashleyk_ | openssl enc -aes-256-cbc -salt -in "$file" -pass file:$HOME/enc.pass | 02:04 |
ashleyk_ | openssl enc -d -aes-256-cbc -salt -pass file:$HOME/enc.pass | 02:04 |
ashleyk_ | or w/e | 02:04 |
golinux | tuxd3v: I know about tomb but not how to use it. LOL! | 02:06 |
tuxd3v | thanks to all tree :) | 02:07 |
tuxd3v | Seems a interesting project | 02:07 |
tuxd3v | I think the downside its that it his a shell script | 02:07 |
tuxd3v | But could be coded in such a way that maybe could be a good thing | 02:08 |
tuxd3v | Is something that I will look into when I had some spare time.. | 02:08 |
tuxd3v | well thanks to all 4 | 02:09 |
tuxd3v | :) | 02:09 |
tuxd3v | I see very very bad.. | 02:09 |
golinux | ? | 02:11 |
tuxd3v | golinux; I only counted 3 responses, becasue I am visually disabled | 02:18 |
golinux | Ah, my bad. I couldn't see the forest for the trees. A literal interpretation escaped me. I hope that tomb works out for you. | 02:25 |
tuxd3v | yes, I forgot a 'h', and like I said, because I don't see well, it escape my control, .. I end submitting my erroneous response | 02:28 |
tuxd3v | You welcome, no problem :) | 02:28 |
golinux | We all make typos. It one of my most prodigious talents. LOL! | 02:30 |
tuxd3v | I should be a master there, LOOL | 02:30 |
tuxd3v | :) | 02:30 |
g0zzy | Got a problem here post-install. I've never installed dual boot on EFI before and can't for the life of me get /dev/sda6 (devuan root) to boot on this box. I've disabled UEFI booting and even when i choose the HD from the boot menu it tries to boot pxe. I installed grub to /dev/sda (presumably Grub knows that we have a GPT here). This is what the partitions on the HD look like: http://technojeeves.com/tech/partitions.jpg Help pl | 15:59 |
fsmithred | g0zzy, your partitions looks right. Can you get to a grub menu or grub prompt? And is this ascii or beowulf? | 16:06 |
g0zzy | ascii | 16:06 |
fsmithred | what happens when you turn the computer on? | 16:07 |
g0zzy | Can't get to grub prompt as such as won't boot but i'm into the box at the mo with System Rescue CD | 16:07 |
g0zzy | It goes ino PXE | 16:08 |
fsmithred | check to see what's on the efi partition | 16:08 |
g0zzy | Not quite with you there ... | 16:08 |
fsmithred | mount /dev/gpt2 /mnt | 16:09 |
fsmithred | ls /mnt/ | 16:09 |
g0zzy | Hang on - will just ssh in | 16:09 |
fsmithred | probably ls /mnt/EFI/ | 16:09 |
fsmithred | should be a devuan directory with grubx64.efi (or something like that) inside. | 16:10 |
g0zzy | Shall look | 16:12 |
g0zzy | efi/EFI/Boot/bootx64.efi | 16:12 |
g0zzy | The other have Microsoft in front of them :( | 16:13 |
g0zzy | Is that looking promising or not? | 16:15 |
g0zzy | Can i run the installer again and skip all but installing grub? | 16:35 |
fsmithred | g0zzy, what's the point of installing again? | 16:38 |
fsmithred | can you boot microsoft? | 16:39 |
g0zzy | Yes | 16:40 |
fsmithred | boot rescue cd or install cd in efi mode and run efibootmgr | 16:41 |
fsmithred | it will show you the order of the bootloaders | 16:41 |
g0zzy | I'm wondering whether i can make it as simple as using rescure and then grub-install --target=x86_64-efi /dev/sda2 | 16:41 |
fsmithred | obviously, microsoft is first | 16:42 |
fsmithred | maybe | 16:42 |
g0zzy | Oh is efibootmgr something i can run in the rescue shell? | 16:43 |
fsmithred | or maybe --boot-directory=/dev/sda6 | 16:43 |
fsmithred | not sure, but it should be there | 16:43 |
g0zzy | Shall try to run it before i do the other | 16:43 |
fsmithred | or in SystemRescue CD | 16:43 |
fsmithred | no | 16:44 |
fsmithred | don't bother. There's no devuan dir on the efi partition, so devuan's grub didn't install a bootloader | 16:44 |
g0zzy | That doesn't like anything without /sbin/init ;) | 16:44 |
g0zzy | (SystemRescue CD) | 16:44 |
fsmithred | rescue mode with installer media and re-install bootloader | 16:44 |
g0zzy | OK | 16:45 |
g0zzy | OK, i seem to have i386-pc not x86_64 | 17:01 |
g0zzy | I get /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist | 17:02 |
fsmithred | what installer image are you using? | 17:04 |
specing | I installed ZNC on my devuan, but no init script was installed and no user setup was done. Is this normal? Is the first only due to pruning of systemd and sysvinit files and nobody writing openrc init for it? (I have OpenRC devuan ascii) | 17:05 |
g0zzy | The latest afaik | 17:07 |
fsmithred | i386 or amd64? | 17:07 |
g0zzy | amd64 | 17:07 |
g0zzy | I'm still in a rescue shell so can check stuff | 17:08 |
fsmithred | are you chrooted in the installed system? | 17:08 |
gnarface | specing: i don't know but did you check in /usr/share/doc/[package name]? | 17:08 |
g0zzy | Yes. I'm in /dev/sda6, the root partition | 17:10 |
fsmithred | cool | 17:10 |
fsmithred | efibootmgr | 17:11 |
fsmithred | if you booted in efi mode | 17:11 |
g0zzy | Not found | 17:12 |
fsmithred | oh | 17:12 |
fsmithred | ls /sys/firmware/efi | 17:12 |
fsmithred | does it exist? | 17:12 |
g0zzy | No. Maybe the machine booted in legacy into rescue? | 17:13 |
fsmithred | yeah, sounds like it | 17:13 |
fsmithred | so... | 17:13 |
g0zzy | Yes ;) What next? | 17:14 |
fsmithred | since you have a bios_grub partition, you could grub-install /dev/sda | 17:14 |
g0zzy | Tried that before. Didn't get me anywhere | 17:14 |
fsmithred | what error do you get? | 17:14 |
g0zzy | Well nothing as such. Just didn't boot via 'MBR' | 17:15 |
specing | fsmithred: I did not. README.Debian says one is supposed to start it manually or in cron on reboot | 17:15 |
fsmithred | huh? | 17:15 |
specing | fsmithred: so I guess the debian maintainer chose to not provide an init script or dedicated use | 17:15 |
specing | r | 17:15 |
fsmithred | sorry, specing I was asking g0zzy | 17:15 |
fsmithred | does openrc use its own init scripts, or does it use the sysv scripts? | 17:16 |
g0zzy | I've thought of a possible wheeze: install grub to a stick and then let the box boot from the stick -> root partition | 17:17 |
fsmithred | yeah, that'll work | 17:17 |
fsmithred | is it HP computer by any chance? | 17:18 |
fsmithred | Have you gotten any other linux to work on it? | 17:18 |
specing | fsmithred: its own, based on GNU Bash | 17:18 |
fsmithred | I know openrc in devuan uses some part of sysv, but I don't know what part it needs. | 17:19 |
specing | fsmithred: well, the thing is that I've looked over all the installed files of the znc package, and none looked like any kind of init script | 17:20 |
specing | fsmithred: so together with README.Debian, I suppose that there are no init scripts for it | 17:20 |
fsmithred | ok, that's consistent with the readme | 17:20 |
fsmithred | lol | 17:20 |
specing | strange, as both Gentoo and Fedora provide an init script and set up a system user for it | 17:21 |
g0zzy | Yay. That worked | 17:22 |
fsmithred | good. | 17:23 |
fsmithred | would still be nice to boot from hard drive | 17:23 |
g0zzy | Just a temporary thing while i replace an HD on the user's real box. I've got a simple thing to fix now - i just accepted 'start with no panel' instead of the default. How do i reset the desktop? | 17:43 |
tuxd3v | you are on xfce? | 17:44 |
tuxd3v | assume you are talking about desktop panel | 17:45 |
tuxd3v | you need to add one | 17:45 |
tuxd3v | :) | 17:45 |
fsmithred | g0zzy, rm -r ~/.config then log out and in again. It'll be just like the first time. | 17:46 |
g0zzy | Great | 17:47 |
tuxd3v | menu->Settings->Settings Manager->Panel | 17:47 |
tuxd3v | fsmithred is also a option | 17:49 |
tuxd3v | :) | 17:49 |
g0zzy | fsmithred: I'd like to thank you for your support. Most helpful | 18:44 |
hightower2 | fsmithred, so you mean since ascii the installer supports encrypted /boot ? | 19:00 |
hightower2 | (I seem to explicitly remember it not working before, complaining that /boot was on an encrypted partition) | 19:01 |
fsmithred | hightower2, which installer are you talking about? | 19:01 |
fsmithred | live-iso or installer-iso? | 19:02 |
hightower2 | installer | 19:02 |
fsmithred | refractainstaller can handle it | 19:02 |
fsmithred | I've only tried it in beowulf with d-i and it didn't work out so well | 19:02 |
hightower2 | (or whatever I get when I download netinst iso) | 19:02 |
fsmithred | for several reasons, I think | 19:02 |
fsmithred | yeah, netinst has debian-installer | 19:03 |
fsmithred | I don't like full-disk encryption - grub is slow about responding to the passphrase | 19:04 |
fsmithred | and if you get impatient and press Enter, the grub menu flies by in about 1/10 second. | 19:05 |
fsmithred | no pause | 19:05 |
hightower2 | yeah | 19:08 |
jelly | unrelated, how does grub pass the luks key to the kernel? Or does the user have to provide the passphrase two times? | 19:09 |
fsmithred | type it twice, jelly | 19:14 |
jelly | boo | 19:15 |
hightower2 | jelly, yeah, twice. some people suggest storing it into a file somewhere so that second time it is read from it. But that scares me. E.g. someone hacks in into the machine, then changes encryption key on the fly and sends you a nice email :) | 19:22 |
fsmithred | you won't be able to read it | 19:23 |
jelly | hightower2: that is clearly unsafe, but passing it to kernel in a similar way command line is passed might be acceptable | 19:41 |
jelly | or next to initrd | 19:42 |
specing | Is there a debian/devuan colours package for the shell? Things like PS1, directory/file colours, ... | 20:33 |
ashleyk | PS1="devjuan: " | 20:36 |
debdog | specing: should be an option inside ~/.bashrc | 20:37 |
specing | debdog: ls is now colourful, but PS1 remains bleak and unnoticeable in a pile of output | 20:42 |
KatolaZ | specing: what do you want to do exactly? | 20:42 |
fsmithred | uncomment force_color_prompt=yes in ~/.bashrc | 20:43 |
fsmithred | if you want other than green, edit the first PS1 line after that | 20:43 |
specing | fsmithred: there is no such comment | 20:43 |
debdog | the PS1 is an extra line I bit down | 20:43 |
KatolaZ | specing: there is one in .bashrc | 20:43 |
fsmithred | install bash-completion | 20:43 |
debdog | s/I/a/ | 20:44 |
specing | bash-completion has nothing to do with this | 20:44 |
specing | and I don't want it | 20:44 |
fsmithred | and copy /etc/skel/.bashrc if it's different | 20:44 |
KatolaZ | fsmithred: no need to have bash-completion | 20:44 |
fsmithred | might already be the same for user, but for root it's different | 20:44 |
KatolaZ | specing: how are you setting PS1? | 20:45 |
KatolaZ | you need ansi codes for colors | 20:45 |
specing | KatolaZ: I'm not | 20:45 |
KatolaZ | http://sprunge.us/Wo6ldh | 20:45 |
KatolaZ | specing: this is a snippet to have a random colour on each new bash instance | 20:45 |
KatolaZ | actually, it's a combination of two colours, randomly selected in a pool | 20:46 |
KatolaZ | (that's personal preference: use any ansi color visualiser to set your own ones) | 20:47 |
KatolaZ | bbl | 20:47 |
specing | /etc/skel/bashrc is indeed much longer than root's .bashrc | 20:47 |
KatolaZ | specing: have a look at that link | 20:47 |
specing | KatolaZ: I did | 20:47 |
specing | KatolaZ: I know how to set all this myself, I'm just wondering what is available "by default" on devuan | 20:47 |
KatolaZ | -_- | 20:48 |
KatolaZ | do you need a package for that? | 20:48 |
KatolaZ | o_O | 20:48 |
KatolaZ | or something available "bu default"? | 20:48 |
KatolaZ | bbl | 20:48 |
specing | KatolaZ: the latter | 20:48 |
specing | or rather, easily obtainanble and "official" | 20:48 |
specing | why are HISTSIZE and HISTFILESIZE set so low? | 20:49 |
jelly | for... historical reasons | 20:50 |
* jelly hides | 20:50 | |
specing | I have hundreds of thousands of lines saved on my boxes, and it is quite often that I have to look something up that was typed over 1000 commands ago | 20:51 |
jelly | if only there was a way to change the values! | 20:52 |
ashleyk | everytime i look for somethings its been blasted away by another terminal | 20:52 |
ashleyk | ill do 1000 commands, then come back and there are 5 | 20:52 |
ashleyk | i think i need to use HISTAPPEND | 20:53 |
tuxd3v | in bash, history is only saved when you log out | 20:55 |
jelly | is that like zsh' setopt incappendhistory? | 20:55 |
tuxd3v | in that faze will be apppended your current history to ~. /bash_history | 20:55 |
tuxd3v | in that faze will be apppended your current history to ~.bash_history | 20:56 |
jelly | after each command line? | 20:56 |
jelly | then yes | 20:56 |
tuxd3v | log as root type,then 'exit' | 20:56 |
tuxd3v | then login again, and you will see the history there | 20:57 |
specing | tuxd3v: incorrect, it can also save as you go | 20:57 |
specing | what I'd like it to do is to save after 10 lines or 3h, whichever comes first | 20:57 |
tuxd3v | how ton you save ? | 20:57 |
tuxd3v | specing: how can you save? | 20:58 |
specing | but I guess I'll have to patch bash for that | 20:58 |
specing | tuxd3v: check the manpage, it should be there | 20:58 |
tuxd3v | but bash by default doesn't do that | 20:58 |
ashleyk | nothing worse than losing your entire history | 20:59 |
tuxd3v | only on logout | 20:59 |
specing | ashleyk: yes | 21:04 |
specing | btrfs snapshots ftw :) | 21:04 |
ashleyk | except when you want to | 21:06 |
ashleyk | HISTSIZE=0 rm -rf ~/.bash_history; exit | 21:06 |
specing | I do not condone destruction of history | 21:11 |
jelly | why would you -r or -f a single file of your own | 21:12 |
ashleyk | lol | 21:13 |
ashleyk | habit | 21:13 |
ashleyk | i didnt mean to type -rf | 21:13 |
furrywolf | I virtually never use -f. you shouldn't make a habit of it. nor -r. lol | 21:16 |
* Lydia_K -rf's all over the place. | 21:22 | |
* furrywolf pounces Lydia_K to stop her' | 21:26 | |
tuxd3v | I have tried something for History.. | 21:29 |
tuxd3v | cat <<EOF >>~.bashrc | 21:29 |
tuxd3v | # Avoid duplicates | 21:29 |
tuxd3v | export HISTCONTROL=ignoredups:erasedups | 21:29 |
tuxd3v | # When the shell exits, append to the history file instead of overwriting it | 21:29 |
tuxd3v | shopt -s histappend | 21:29 |
tuxd3v | # After each command, append to the history file and reread it | 21:29 |
tuxd3v | export PROMPT_COMMAND="\${PROMPT_COMMAND:+\$PROMPT_COMMAND$'\n'}history -a; history -c; history -r" | 21:29 |
tuxd3v | EOF | 21:29 |
ashleyk | tuxd3v, niceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee | 21:31 |
tuxd3v | hehehe | 21:33 |
tuxd3v | But I need to test it..more | 21:33 |
tuxd3v | also you guys could test too | 21:33 |
tuxd3v | history is saved, on all sessions...but only on exit | 21:37 |
tuxd3v | :( | 21:37 |
tuxd3v | I tyhink | 21:37 |
tuxd3v | still not imediatly availlable in other sheels I think | 21:37 |
tuxd3v | CAn anny one confirm? | 21:38 |
tuxd3v | asleyk | 21:38 |
tuxd3v | specing? | 21:38 |
tuxd3v | any one | 21:38 |
tuxd3v | :) | 21:38 |
* Lydia_K -rf's! | 21:41 | |
tuxd3v | cat <<EOF >>~.bashrc ---> cat <<EOF >>~/.bashrc | 21:44 |
tuxd3v | sorry that was the mistake | 21:44 |
tuxd3v | I think its working guys :) | 21:44 |
tuxd3v | yeahhh | 21:44 |
furrywolf | bbl, work | 21:45 |
tuxd3v | Can you guys confirm its working nice | 21:46 |
tuxd3v | ? | 21:46 |
tuxd3v | bbl is what? | 21:47 |
tuxd3v | it Is Working , but a new command needs to be emitted before you see the other sessions history :( | 21:50 |
tuxd3v | type 'ls' after | 21:50 |
tuxd3v | then history is availlable on other shells too | 21:50 |
jelly | clearly you need to implement some sort of IPC for the shell so they get history updates before <enter> is pressed! And maybe you can also set up updating the enviroment vars for all the open interactive shells at once! | 21:52 |
tuxd3v | So the Snipet is: | 21:55 |
tuxd3v | https://paste2.org/2BeBZNZE | 21:55 |
tuxd3v | This works with ! command of delay | 21:56 |
tuxd3v | ! - > 1 | 21:57 |
specing | tuxd3v: I won't test it, I have my own working setup that does just that | 21:59 |
specing | and fidding with bashrc tends to result in syntax error and then bash taking defaults, which are to wipe history | 22:00 |
specing | I seriously have to patch bash | 22:00 |
specing | or switch to a better shell | 22:00 |
tuxd3v | better shell...Ksh? | 22:00 |
specing | zsh or sparforte | 22:02 |
jelly | mksh! | 22:02 |
MinceR | zsh | 22:04 |
tuxd3v | mksh, I am on it! | 22:09 |
tuxd3v | :) | 22:09 |
tuxd3v | I love Ksh | 22:09 |
tuxd3v | but how is its speed compared to Ksh? | 22:10 |
tuxd3v | but Ksh93 is still in heavy developing.. | 22:13 |
tuxd3v | Ksh93 was the default in the magnificient QNX neutrino based BB10 os | 22:18 |
tuxd3v | mksh is the default in debian has a package I think, and in Android also | 22:19 |
jelly | I made /bin/sh -> mksh for a bit but some things broke | 22:21 |
tuxd3v | ksh is not completly compatible with bash | 22:22 |
jelly | /bin/sh needs only to be POSIX sh compatible, on Debian | 22:22 |
decent-username | Yo, I'm getting the following error when trying to load certain code that uses opengl: https://paste.gnome.org/pnotqeaaw | 22:26 |
decent-username | It looks like I'm missing a 32bit version of the nvidia driver or so. | 22:26 |
decent-username | like described here: http://www.codewhirl.com/2016/01/ubuntu-libgl-error-failed-to-load-driver-swrast/ | 22:27 |
decent-username | Is there a 32bit version somewhere in the repos? I couldn't find one. | 22:27 |
decent-username | I would appreciate any pointers. | 22:27 |
specing | tuxd3v: a shell's execution speed is no longer important | 22:28 |
specing | what is important is the speed you produce scripts for it and the correctness of those scripts | 22:28 |
tuxd3v | specing: I understand what you said, but speed is always important, and Ksh has it.. | 22:29 |
tuxd3v | but Ksh88 is not something I would sugest to a friend.. | 22:30 |
tuxd3v | Ksh93 is diferent | 22:30 |
tuxd3v | On aix running in power7 a number has a signed int size... | 22:31 |
tuxd3v | that is very limiting | 22:31 |
tuxd3v | that problem was solved in Ksh93 | 22:31 |
tuxd3v | but that was Aix related/power7 | 22:32 |
tuxd3v | because on sparc it has a 128 bit size | 22:32 |
tuxd3v | So its a bit tricky to port code on Ksh between archs | 22:33 |
tuxd3v | on that regard bash works better | 22:33 |
tuxd3v | But its a nice shell | 22:34 |
tuxd3v | fast to fork&exec | 22:34 |
tuxd3v | if you end Running millions of jobs in a machine it matters | 22:35 |
tuxd3v | I have some aix systems ripping at full throttle, doing Database Cleaning Stuff | 22:37 |
tuxd3v | And its matters a lot | 22:37 |
decent-username | looks like people in here don't seem to know the answer. > . < I'm so tired, I'll figure it out tomorrow. Have a good night everyone. | 22:45 |
buZz | dpkg --add-architecture i386 ; apt update ; apt install libgl1-nvidia-glx:i386 | 23:01 |
buZz | no patience = no answer | 23:02 |
buZz | \o/ | 23:02 |
specing | :) | 23:03 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!