danuan | where is the celebration? | 00:12 |
---|---|---|
danuan | anyone ever talk here ? | 00:19 |
gnarface | yes | 00:22 |
danuan | ohh , first time on irc in maybe 15 years | 00:23 |
gnarface | if you have support questions just ask, but please read /topic | 00:23 |
danuan | well , no real questions yet , just wondered the right place to go for contributing a howto | 00:26 |
danuan | been playing with zfs on devuan for a while , and just got it installed on root with legacy boot , scrabbled together from various other howtos , wonder if its worth a new howto of mine come out simpler | 00:27 |
danuan | of = if | 00:28 |
fsmithred | the forum would be a good place for a howto | 00:28 |
fsmithred | dev1galaxy.org | 00:28 |
fsmithred | mailing list is ok, but some posts dissapear due to a problem with the server | 00:29 |
Hurgotron | yikes | 00:29 |
fsmithred | they don't go immediately | 00:29 |
brocashelm | fsmithred: i'm starting to get random errors on the server when i check/apply upgrades (such as "cannot be found"). if i try again immediately, usually works fine | 00:30 |
danuan | apt update right before upgrade , and making sure system time is correct . those two are the reasons i ever see errors with upgrades and installs | 00:31 |
brocashelm | i always apt update and apt upgrade (if any results) | 00:32 |
brocashelm | system time is correct | 00:32 |
danuan | in testing branch i see this stuff when they move upgrade files on server | 00:34 |
brocashelm | yeah, i'm using chimaera/ceres. i also have ntp installed | 00:34 |
brocashelm | i was only wondering why that was the case | 00:35 |
brocashelm | but if it's normal, i won't think much of it | 00:35 |
danuan | hence testing and unstable | 00:35 |
danuan | just got to try again or wait a bit for them to finish | 00:35 |
brocashelm | indeed | 00:36 |
golinux | danuan: Do not use suite name in Devuan for sources.list. Use the codename | 00:37 |
danuan | sorry i do not , just as a long time debian user i still call em that | 00:38 |
brocashelm | that is true. the planet names are pretty cool, anyway | 00:38 |
golinux | If you use "testing" or "stable", you could find yourself in a world of hurt | 00:38 |
golinux | Factoid . . . one of Devuan's creators was an astronomer | 00:38 |
brocashelm | nice | 00:39 |
danuan | just out of curiosity what would happened if one did use stable testing and unstable in sources ? | 00:55 |
gnarface | heh, that, apparently | 00:57 |
brocashelm | lol | 01:01 |
golinux | danuan: https://beta.devuan.org/os/releases | 01:53 |
danuan | i was just wondering what would happened , and would it only happened when the branch gets moved up from unstable to testing ? and it would seem as you did dist-upgrade next time you messes with apt ? | 01:55 |
golinux | Bulleye will be stable long before chimaera is stable | 01:56 |
golinux | If you are on stable (Beowulf) and Bullseye goes "stable" you will land on Chimaera which will not yet be stable. | 01:58 |
golinux | Oops. | 01:59 |
xrogaan | Has it ever been explain why people shouldn't use packages.devuan.org ? | 03:19 |
xrogaan | made the mistake the check my mails before sleep. Oh well. | 03:22 |
xrogaan | If somebody has a better answer: https://lists.dyne.org/lurker/message/20200828.172951.f2a02bfb.en.html | 03:23 |
systemdlete | My experiment with the 4-bay enclosure continues. I haven't concluded anything yet, but here's what I've done so far. I've mapped which of the sata ports goes to which bay (this helps, if for nothing more than knowing what is what). I know that Linux will assign any /dev/sdx and whatever ataX it wants for a drive. And it does. | 11:07 |
systemdlete | I am not noticing any significant differences in behavior, overall, between ascii and beowulf. All 3 of the once-dead 500GB drives have come back to life, like happy little vampires. I'm sitting here laughing because I was certain they were dead. Although... | 11:09 |
systemdlete | One thing I noticed months ago when they started "dying" on me, is that I could take each drive to my other (testbox) machine and insert them in the hotswap bay and run badblocks and a few other things on them (smartctl self tests etc), and they seemed OK. | 11:10 |
systemdlete | But once I put them back on the main box in the drive bays, they clicked and got nasty nasty. So I'd remove them immediately. | 11:10 |
systemdlete | The KF4001BK has no internal controllers from what I can tell. The only thing it has is 4 pairs of sata power and data connectors. They are passive connections; I mean you just insert the drive and you're done, there is no drive tray to mount and slide in, etc. | 11:12 |
systemdlete | I believe that what we see is simple dumb connectors inside the rack. I doubt there is much intelligence beyond that. | 11:13 |
systemdlete | I've been reading about sata and it seems that there is no harm to a sata drive by connecting and disconnecting drives even with power. That's because of the design: The grounding tabs on the connectors are longer than the others so that no damage can occur (in theory of course). So this Kingwin rack can accommodate the abuse like any other sata item whose connectors are standards compliant. | 11:15 |
systemdlete | (I meant "contacts," not "tabs" sorry) | 11:16 |
systemdlete | It is looking more and more like the problem may lie in the ASUS mobo sata controller. But until I re-install the rack I won't know for certain. I gave the rack a good cleaning I think -- I didn't take it apart, but I did remove the fan and clean that and I removed some of the dust inside the rack case. | 11:18 |
systemdlete | (It's too bad I don't get paid to do this) | 11:18 |
systemdlete | As far as the power supply, the main (original) box the rack was in has a 500W PS. The testbox, where my testing has been going on, has a 400W(!) PS. The ASUS mobo is rocking the FX8350 8 core and 32GB ddr3 memory. And the 3 disk drives, now directly connected to the mobo. | 11:22 |
systemdlete | The testbox, by comparison, has a 2 core Athlon II and only 4GB ddr3 ram | 11:22 |
systemdlete | I think I put the power supply in the main box last summer. The 400W in the testbox is about 2 years old I think. | 11:23 |
xrogaan | weren't there logs for this channel before? | 11:27 |
xrogaan | oh, my brain read "chanlog" as "changelog" | 11:28 |
suavedandy | Guys. You can use Devuan with Runit? | 11:50 |
suavedandy | But I haven't found that option in the installer. | 11:50 |
suavedandy | Is that in a seperate ISO? | 11:51 |
gnarface | suavedandy: i don't think there's any installer support, but you can add it afterwards | 11:52 |
gnarface | the package is in the repos | 11:52 |
gnarface | can't say i've tried it myself | 11:53 |
SuaveDandy | Oof, I got disconnected. | 11:59 |
fling | can I convert armhf debian 10 on beaglebone black to devuan? | 11:59 |
SuaveDandy | That IRC client. Annoying. | 12:00 |
SuaveDandy | What did you say before, gnarface? My connection broke. | 12:00 |
fling | looks like I can | 12:09 |
SuaveDandy | Guys. Is there a Runit installation ISO? Sorry for repeating the question at least 3 times. I have a terrible Wi-Fi connection in the bathroom. | 15:38 |
SuaveDandy | Wi-Fi is annoying. | 15:38 |
xinomilo | no | 15:39 |
xinomilo | https://dev1galaxy.org/viewtopic.php?id=3628 | 15:39 |
brocashelm | you are just going to have to install runit-init package, which will remove sysvinit-core and some refracta tools | 15:43 |
brocashelm | i use runit since i installed devuan and it's perfect imo | 15:43 |
SuaveDandy | The installer says OpenRC is experimental. Is Runit experimental too? | 16:00 |
SuaveDandy | Wait a sec. | 16:01 |
SuaveDandy | YOU HAVE A FORUM? | 16:01 |
SuaveDandy | OMG. | 16:01 |
SuaveDandy | Why didn't you tell me? | 16:01 |
xinomilo | https://www.devuan.org/os/community | 16:06 |
danuan | is there a live cd with 5.X kernel for beowulf or live cd for chimaera? | 16:13 |
fsmithred | danuan, I have some unofficial isos that might meet your needs. I'll get the link in a minute. | 16:14 |
fsmithred | SuaveDandy, runit will be a choice in the next round of installer isos. | 16:14 |
fsmithred | https://get.refracta.org/files/experimental/ | 16:16 |
danuan | trying to iron out zfs on root install howto , but so far i was using my own installs with upgraded kernels as a starting point , but its an extra step for someone with only one comp and no extra drives or memsticks | 16:16 |
brocashelm | runit works really well on distros like artix and void. it's snappy and fast | 16:16 |
SuaveDandy | There are also s6 and 66. How well do they work? | 16:17 |
fsmithred | ^^^ There's one with 5.4-bpo, one 5.6-bpo and one chimaera with 5.whatever-from-early-july | 16:17 |
brocashelm | and it meets quality standards on devuan | 16:17 |
danuan | thanx | 16:17 |
fsmithred | danuan, what howto for zfs? | 16:18 |
fsmithred | or do you mean one that you are creating? | 16:18 |
xinomilo | runit isn't complete in debian/devuan, still relies on sysvinit scripts... | 16:18 |
fsmithred | SuaveDandy, where are you finding 66? It's impossible to search for it. | 16:20 |
danuan | i managed to get zfs on root installed painlesly for whole drive zfs pool with legasy boot , but starting point was beuwulf or chimera with 5.x kernel installed | 16:20 |
xinomilo | https://web.obarun.org/software/66/ | 16:20 |
SuaveDandy | Devuan's site lists it. | 16:20 |
SuaveDandy | https://devuan.org/os/init-freedom | 16:21 |
SuaveDandy | 66-devuan | 16:21 |
fsmithred | no link. I did install s6 in one VM, but I don't think it's being used. I didn't play with it. | 16:22 |
SuaveDandy | The installer says OpenRC is experimental. Is Runit experimental too? | 16:24 |
fsmithred | sorry, I don't know what that means | 16:25 |
fsmithred | runit is not yet a choice in the installer, but it will be | 16:25 |
fsmithred | and as mentioned, the other inits use sysvinit scripts | 16:26 |
SuaveDandy | The installer says "Install OpenRC only if you know what you're doing." | 16:26 |
fsmithred | a few people are using runit and more people are using openrc | 16:27 |
brocashelm | well, it's a start. it can only get better as it is tested more often | 16:27 |
fsmithred | I've created several live-isos with openrc, and I don't know wtf I'm doing. Yet, they worked. | 16:27 |
fsmithred | I think I have a couple VM's with openrc. The only difference I see is that there's more colored text when booting. | 16:28 |
SuaveDandy | So why is the installer making it look like OpenRC is going to, like, destroy my system or something? | 16:29 |
SuaveDandy | That's, like, a very threatening and intimidating message. | 16:30 |
fsmithred | because it's a new addition to the installer | 16:30 |
fsmithred | good | 16:30 |
fsmithred | it means fewer newbies selecting it and then running into problems they don't know how to fix | 16:31 |
danuan | fsmithred , how would those images handle backports from devuan repos ? | 16:31 |
fsmithred | when more people have used it and it's been around longer, we'll probably remove that warning | 16:31 |
fsmithred | danuan, I don't remember if I left the backports repo enabled or not. If not, it's just commented out in sources.list | 16:32 |
fsmithred | and those isos use ONLY devuan repos | 16:32 |
SuaveDandy | So you think it's a perfectly fine replacement of SysVinit? I heard somewhere that OpenRC is still unfinished or something. | 16:33 |
SuaveDandy | Like Wayland. | 16:33 |
SuaveDandy | And Runit has been around longer. | 16:33 |
fsmithred | yes, it's unfinished - openrc is still using sysvinit scripts | 16:33 |
SuaveDandy | Is Runit finished? | 16:33 |
fsmithred | I don't know | 16:33 |
fsmithred | like I said, a few people are using it | 16:34 |
SuaveDandy | Hmmmm. | 16:34 |
fsmithred | do you actually do stuff with your init system? | 16:34 |
SuaveDandy | I mean, yes. | 16:35 |
fsmithred | most I ever do is stop/start/restart a service | 16:35 |
SuaveDandy | Managing services and stuff. | 16:35 |
fsmithred | there are a few discussions about openrc and runit on the forum. You might take a look at talk to people who are using them. | 16:35 |
SuaveDandy | I also, like delete 'em, change configs, yada-yada-yada. | 16:36 |
SuaveDandy | Used Void with Runit before. I think Runit is lovely and cute. | 16:36 |
SuaveDandy | Didn't have any issues with it. | 16:36 |
SuaveDandy | Such a pleasant init system to work with. | 16:37 |
fsmithred | it's easy to install it after you do the initial install | 16:37 |
SuaveDandy | Tho I must say. Using symlinks to enable services in /var/service is a tad weird. | 16:37 |
SuaveDandy | BUT. | 16:37 |
SuaveDandy | I got used to it. | 16:38 |
SuaveDandy | Like, in SysVinit and Systemd you do something like "service start whatever." And in Runit you, like, "ln -s /etc/sv/whatever /var/service." | 16:39 |
SuaveDandy | It's eh… unusual. | 16:40 |
leafwiz | Hello! Just wondering. Can I run docker in my devuan installation? | 16:41 |
SuaveDandy | Why does service symlinking make me laugh, lol. | 16:41 |
Hurgotron | leafwiz: Yes | 16:42 |
leafwiz | Cool | 16:43 |
leafwiz | Do you know of a guide? | 16:43 |
Hurgotron | leafwiz: But you need to use iptables-legacy | 16:43 |
leafwiz | Hurgotron okay, but thats fine I guess | 16:43 |
Hurgotron | leafwiz: let me check my notes | 16:43 |
leafwiz | I'm running ascii on my arm device | 16:44 |
leafwiz | (rpi) | 16:44 |
Hurgotron | leafwiz: I can give you what I did for beowulf on amd64, other than that I don't know | 16:46 |
leafwiz | Sure | 16:47 |
leafwiz | It try it out | 16:47 |
Hurgotron | https://dpaste.org/E87U | 16:50 |
Hurgotron | I hope you get my notation | 16:50 |
leafwiz | Hurgotron thank you. I'tt try to see if I understand it :) | 16:53 |
Hurgotron | It's basically the same as you can find on https://docs.docker.com/engine/install/debian/ | 16:54 |
leafwiz | Hmm.. Says no alternatives to iptables | 16:54 |
Hurgotron | since you are running ascii, I guess you are fine | 16:55 |
leafwiz | cool | 16:55 |
Hurgotron | but docker seems to have issues with the newer nft implementation of iptables. Which *should* be compatible, but well... | 16:56 |
leafwiz | In your notes you use buster, should I switch that to strech , since I run ascii? | 16:56 |
Hurgotron | I guess so. | 16:56 |
SuaveDandy | Is it something bad that OpenRC uses SysVinit scripts? | 16:58 |
Hurgotron | leafwiz: I'm not sure an older install will be useful, though (but I don't really know how to use docker). The guy who I set it up for told me the 2019 packages are totally outdated and useless. Something with docker being very agile or somesuch, dunno | 16:59 |
leafwiz | Hurgotron what is the last command for? | 16:59 |
leafwiz | It seems to be installing now | 16:59 |
Hurgotron | leafwiz: as sorry that's an alternative for the previous one, for a leaner install. | 17:00 |
Hurgotron | I didn't want the dkms stuff (which didn't work for me anyway) | 17:00 |
leafwiz | aha.. oki. But yeah seemed to install itself good. | 17:01 |
leafwiz | Lets see if I get to install some containers on it.. | 17:01 |
leafwiz | Jupp, all good it seems. Is there a small wiki one could put this kind of info? | 17:04 |
Hurgotron | I think fsmithred mentioned that the forum https://dev1galaxy.org would be a good place for that kind of info. | 17:06 |
SuaveDandy | Alright. So. | 17:18 |
SuaveDandy | According to Gentoo Wiki… | 17:18 |
SuaveDandy | …OpenRC works on top of SysVinit… | 17:18 |
SuaveDandy | …and Runit works instead of SysVinit. | 17:18 |
SuaveDandy | I'll choose Runit then. | 17:19 |
SuaveDandy | Tho OpenRC def picks my curiosity. | 17:19 |
SuaveDandy | Alright, how do I install OpenRC? "aptitude install OpenRC?" | 17:27 |
SuaveDandy | Is that it? | 17:27 |
SuaveDandy | Nevermind. | 17:33 |
mason | piques | 19:31 |
mason | Pretty sure OpenRC replaces sysvinit with a pile of binary good the same way systemd does, only it does a better job of sticking to just managing processes. | 19:32 |
mason | s/good/goop/ | 19:32 |
MinceR | i thought rc remained in the form of shell scripts | 19:33 |
MinceR | or something | 19:33 |
mason | looking for an example now | 19:34 |
mason | https://github.com/OpenRC/openrc/blob/master/service-script-guide.md | 19:35 |
mason | IIRC it's run by a customized bash. | 19:36 |
MinceR | ah, so scripts with their own interpreter | 19:36 |
MinceR | + an unchanged sysvinit binary, if i'm reading it right | 19:36 |
mason | And a bunch of binary pieces. | 19:43 |
SuaveDandy | Gentlemen. Do you know a regex for egrep to get a string with a specific word and output only the number? | 21:13 |
SuaveDandy | Like "egrep -o…" | 21:13 |
SuaveDandy | Or should I use Grep's Perl mode? | 21:13 |
SuaveDandy | *grep's | 21:14 |
fsmithred | pipe is your friend | 21:15 |
fsmithred | you don't have to do it all in one act. | 21:15 |
SuaveDandy | Damn. | 21:15 |
SuaveDandy | And I wanted to do it all in one act. | 21:16 |
fsmithred | there's probably a way | 21:16 |
gnarface | i'm not sure you can do that with egrep | 21:16 |
fsmithred | maybe with sed | 21:16 |
gnarface | maybe use wc | 21:16 |
gnarface | since that's what it's for? | 21:16 |
fsmithred | oh... | 21:16 |
SuaveDandy | Weirdly, egrep's regex is unlike any other regex implementation. It doesn't have placeholders like %d. | 21:17 |
fsmithred | what number do you want to output? | 21:17 |
gnarface | you could use a combination of wc and sed or grep and pipes | 21:17 |
fsmithred | a number that's part of the string, or the number of times the string appears? | 21:17 |
gnarface | he just wants to count how many times a word shows up in a document, right? | 21:17 |
SuaveDandy | I want to save the total amount of memory into a variable. | 21:17 |
gnarface | tbh i think that's also a built-in feature in libreoffice | 21:17 |
SuaveDandy | In Kb, ofc. | 21:17 |
gnarface | and i assume it can be done in emacs with some arcane key combination that looks like regexp | 21:18 |
SuaveDandy | I'm in Bash. What does LibreOffice have to do with CLI? | 21:18 |
furrywolf | I don't understand the question. | 21:18 |
fsmithred | what will generate the string? | 21:18 |
SuaveDandy | I DON'T HAVE XORG. | 21:18 |
gnarface | SuaveDandy: so wait, you want to search a document for a sepecific word then count the total bytes in all instances of that word? | 21:18 |
SuaveDandy | NO. | 21:19 |
SuaveDandy | I want to search /proc/meminfo for total RAM. | 21:19 |
SuaveDandy | To create a swapfile. | 21:19 |
furrywolf | SuaveDandy: your question didn't make sense, so people aren't giving useful answers. | 21:19 |
gnarface | SuaveDandy: i got confused by "get a string with a specific word and output only the number" | 21:20 |
gnarface | SuaveDandy: number of what? | 21:20 |
SuaveDandy | Total memory. | 21:20 |
SuaveDandy | RAM. | 21:20 |
gnarface | SuaveDandy: in this context the obvious assumption is word count though | 21:20 |
SuaveDandy | In kilos. | 21:20 |
gnarface | SuaveDandy: you actually want to find a number on the same line as the word, not the number of words, is what you're saying? | 21:20 |
SuaveDandy | count? | 21:20 |
SuaveDandy | Yes. | 21:21 |
DHE | So.. something like: awk '/MemTotal:/ {print $2 }' /proc/meminfo | 21:21 |
gnarface | SuaveDandy: that would be easy in any regexp syntax: WORD\d\d\d | 21:21 |
gnarface | SuaveDandy: or WORD\d+ | 21:21 |
SuaveDandy | And put it into $memsize. | 21:21 |
gnarface | SuaveDandy: symbol for "number" varies but usually \d | 21:21 |
gnarface | SuaveDandy: words are usually interpreted literally if they don't have symbols | 21:21 |
fsmithred | memsize=$(awk '/MemTotal:/ {print $2 }' /proc/meminfo) | 21:22 |
furrywolf | sed -rn 's/^MemTotal:[[:space:]]*([0-9]+).*/\1/p' /proc/meminfo | 21:22 |
mason | Awk über alles. | 21:22 |
SuaveDandy | I want to grep the string with total memory and put the amount of memory in kilos so I can double it and put it into a dd command to create a swapfile | 21:22 |
DHE | well that's about the limit of my awk skills | 21:23 |
DHE | :) | 21:23 |
SuaveDandy | Thanks. | 21:23 |
SuaveDandy | Finally. | 21:23 |
SuaveDandy | Maaan, that awk command. | 21:23 |
SuaveDandy | Looks… funny. | 21:23 |
SuaveDandy | Okay, I'll try to not mess it up. | 21:24 |
fsmithred | it looks like a bunch of others that I use in some scripts | 21:24 |
mason | FWIW, it's super easy to add in some conditional behaviour too. E.g., awk '{if ($2 == "foo" && $3 == "bar") print $1}' | 21:24 |
SuaveDandy | What does '{print $2}' mean? | 21:26 |
mason | print the second word | 21:26 |
furrywolf | I should use awk more. I usually use sed and regexs. | 21:26 |
fsmithred | print the second field | 21:26 |
SuaveDandy | Ohhhhhhhhhh. | 21:26 |
SuaveDandy | Cleveeeeeer. | 21:26 |
SuaveDandy | And that slash. Is that an escape symbol in awk? | 21:27 |
mason | You can help define what "field" means with -F | 21:27 |
fsmithred | no, the slashes surround a search pattern | 21:27 |
mason | You enclose a regex to match... that | 21:27 |
SuaveDandy | Oh. | 21:27 |
fsmithred | in that awk command | 21:27 |
mason | I'm on a quest to use more awk and less Perl. | 21:27 |
fsmithred | I like awk | 21:28 |
SuaveDandy | I need to learn some awk too. | 21:28 |
furrywolf | awk is very powerful and also very annoying. heh. | 21:28 |
mason | SuaveDandy: https://www.oreilly.com/library/view/sed-awk/1565922255/ | 21:28 |
fsmithred | there are some good cheat sheets for common awk and sed commands | 21:28 |
SuaveDandy | Wow. That sed command. Oof. | 21:28 |
SuaveDandy | Compared to that awk's like a walk in the park. | 21:29 |
furrywolf | that web page (oreilly) seems broken. it has a scroll bar and looks like you should scroll down, but the second you touch it it's just blank... | 21:29 |
fsmithred | look up 'sed one-liners' or 'awk one-liners' | 21:30 |
mason | furrywolf: Odd. Renders here, with NoScipt not allowing anything on the page and AdBlock Plus enabled. | 21:30 |
mason | Firefox | 21:30 |
mason | Ah, well. Errand, bbl! o/ | 21:31 |
furrywolf | inspect element shows there's some kind of recommendations div covering the page, but there's no content in it. | 21:31 |
fsmithred | I see the page here. Running ff with noscript | 21:32 |
furrywolf | and there's no actual content anywhere in there. | 21:32 |
fsmithred | you copied the entire url? | 21:33 |
furrywolf | if I use the inspecter to delete the recommendations div, the table of contents is visible, but no actual book content. | 21:33 |
fsmithred | oh, I see a book description and buttons to buy it on amazon or start my free trial | 21:34 |
fsmithred | not sure what the trial is | 21:34 |
SuaveDandy | EPIC. | 21:34 |
SuaveDandy | awk is awesome. | 21:34 |
SuaveDandy | It worked. | 21:35 |
gnarface | it's all about knowing how to ask the right questions, SuaveDandy | 21:35 |
fsmithred | command substitution is pretty cool, too | 21:35 |
gnarface | furrywolf: do you want a screenshot of the page, or just the cover of the book? | 21:35 |
furrywolf | the recommendations div is, according to firefox, 1184×8951270 pixels. | 21:35 |
furrywolf | being 9 million pixels high would explain firefox's not rendering it well. | 21:36 |
gnarface | hmmm, there's no ad on this page | 21:37 |
SuaveDandy | Alright, creating the swapfile with the created $swapsize variable. | 21:38 |
fsmithred | oh | 21:38 |
furrywolf | looks like they're probably using javascript to do some shit with the images in the ad, and doing it very wrong. :P | 21:38 |
fsmithred | you might steal some code from refractainstaller | 21:38 |
SuaveDandy | Aaaaaand done. | 21:39 |
furrywolf | specifically, the figure with the ad image is -8944140 (yes, -) pixels tall when it's done. | 21:39 |
furrywolf | either firefox is broken, or it's letting javascript do very broken things. | 21:39 |
SuaveDandy | Now I shall activate my swapfile. Thanks for the awk command. Before I just piped grep into grep to get the RAM size. | 21:41 |
SuaveDandy | And that felt very weird. | 21:41 |
SuaveDandy | Gentlemen. How do you set swappiness in OpenRC? | 22:29 |
SuaveDandy | And does OpenRO work alongside SysVinit or something? | 22:31 |
golinux | Gentlemen . . . urm . . . ? | 22:31 |
SuaveDandy | Well, you're gentlemen. | 22:31 |
SuaveDandy | Are you not? | 22:31 |
furrywolf | no? | 22:31 |
golinux | Nope | 22:31 |
SuaveDandy | Kind sirs. | 22:32 |
golinux | Try again | 22:32 |
furrywolf | hrmm, is there a gender-neutral term of respect for a group of unknown individuals? | 22:32 |
MinceR | how are you gentlemen !! | 22:32 |
SuaveDandy | Masters. | 22:32 |
MinceR | all your base are belong to us. | 22:32 |
golinux | We should take this to #devuan-offtopic | 22:32 |
SuaveDandy | I meant "gentlemen" in a neutral way. But oh, well. | 22:33 |
Hurgotron | gentlebeings | 22:34 |
* SuaveDandy sighs | 22:34 | |
golinux | If gentlemen were neutral gentlewomen would not exist | 22:34 |
SuaveDandy | They don't. | 22:34 |
SuaveDandy | They're called ladies. | 22:35 |
SuaveDandy | Ladies and gentlemen. | 22:35 |
golinux | #devuan-offtopic | 22:35 |
Hurgotron | https://en.wiktionary.org/wiki/gentlebeing | 22:35 |
SuaveDandy | Aaaaaaaanywaaaaaaaaaay. | 22:36 |
SuaveDandy | How do I set swappiness on OpenRC? | 22:36 |
gnarface | you don't set it in your init, you set it in /etc/sysctl.conf or /etc/sysctl.d | 22:37 |
SuaveDandy | Alright. | 22:37 |
gnarface | i mean, i guess if you really wanted to set it in openrc you could do so by making a start-up script set /proc/sys/vm/swappiness but there's really no need | 22:38 |
gnarface | oh if you're doing a dynamic swap setup or something maybe for you there is a reasont o | 22:38 |
gnarface | reason to* | 22:38 |
gnarface | the /proc/ file can be manipulated directly, or you can use the /sbin/sysctl binary | 22:39 |
gnarface | (check the man page) | 22:40 |
SuaveDandy | Yeah, I completely forgot that systemctl≠sysctl. | 22:40 |
MinceR | gentlepeople | 22:46 |
SuaveDandy | How do you set up TRIM in OpenRC? There doesn't seem to be any fstream. | 22:46 |
sixwheeledbeast | fstrim? | 22:49 |
SuaveDandy | Periodic TRIM. | 22:49 |
SuaveDandy | fstream.timer, to be precise | 22:49 |
SuaveDandy | A systemd service. | 22:50 |
sixwheeledbeast | no idea about the systemd service. I have always seen a fstrim cronjob, or discard | 22:51 |
SuaveDandy | Wait. Let me chack the repos. Maybe there's a non-systemd version. | 22:52 |
SuaveDandy | fstrim cronjob? | 22:52 |
SuaveDandy | Wait. Maybe Gentoo Wiki has the answer. | 22:52 |
sixwheeledbeast | fstrim is it's own thing can be called by whatever you choose | 22:52 |
sixwheeledbeast | systemd has taken over control of cron tasks as well as everything else now tho. | 22:53 |
SuaveDandy | THERE WE GO. https://wiki.gentoo.org/wiki/SSD#Periodic_fstrim_jobs | 22:54 |
sixwheeledbeast | the systemd service is just calling fstrim on a one shot timer. | 22:54 |
SuaveDandy | Thanks, Gentoo Wiki. | 22:55 |
SuaveDandy | I need to keep both Gentoo Wiki and Arch Wiki near me. | 22:55 |
SuaveDandy | Guys. Does ext2 support TRIM? | 23:28 |
SuaveDandy | Do I even need to trim ESP and /boot? | 23:28 |
SuaveDandy | Looking at the Arch Wiki. It only mentions Ext3/4 but not Ext2. | 23:29 |
specing | who the heck still uses ext2 | 23:30 |
SuaveDandy | I use it for /boot. | 23:30 |
SuaveDandy | Why do you need to use Ext4 for /boot? | 23:30 |
SuaveDandy | *would | 23:31 |
specing | no idea, I use btrfs for boot (I dont have a separate /boot) | 23:31 |
specing | why would you have a separate /boot | 23:31 |
furrywolf | why would you need trim for /boot? | 23:31 |
SuaveDandy | Because I have a LUKS root. | 23:31 |
specing | I have a LUKS root too | 23:32 |
specing | GRUB has been able to boot from LUKS for more than a decade | 23:32 |
SuaveDandy | The installer doesn't support LUKS-encryption without an unencrypted boot. | 23:32 |
specing | the installer is dumb, then | 23:32 |
fsmithred | the live installer does, but it has other limitations | 23:33 |
SuaveDandy | Oh, well. | 23:33 |
fsmithred | no lvm or raid | 23:33 |
SuaveDandy | It's fine. | 23:33 |
fsmithred | I don't like having /boot encrypted | 23:33 |
fsmithred | grub is slow to take the password | 23:33 |
fsmithred | and then you have to enter it again for the encrypted volume | 23:34 |
SuaveDandy | Where do I get the live installer? Will it install a GUI as well or I can tick it off? | 23:34 |
fsmithred | in the live isos or else install refractainstaller | 23:34 |
fsmithred | it uses rsync to copy the running live system to hard drive | 23:35 |
fsmithred | and then adds grub if you want | 23:35 |
fsmithred | if you want to use it without installing a gui, you must boot a live-iso that doesn't have a gui | 23:35 |
SuaveDandy | Also. Does it install BtrFS the proper way? With subvolumes and stuff. | 23:36 |
fsmithred | no | 23:36 |
fsmithred | you can do it manually | 23:36 |
fsmithred | there's a discussion about it at the forum. | 23:36 |
fsmithred | I've done it, but I sure don't remember how. | 23:36 |
SuaveDandy | What about ZFS? | 23:37 |
fsmithred | probably could if your live system has the necessary packages installed | 23:37 |
fsmithred | again, you'd do the partitioning and formatting manually | 23:38 |
fsmithred | then run the installer script | 23:38 |
fsmithred | but you might prefer setting up the partitions and then doing a debootstrap install | 23:38 |
fsmithred | then you can chroot and install whatever you want from the repo | 23:38 |
SuaveDandy | Is ZFS good for SSDs? What's the performance hit? Surely on SSDs it must be unnoticeable, right? | 23:39 |
fsmithred | I have no idea | 23:39 |
fsmithred | pretty sure mason uses zfs. He might have something to say about it. | 23:39 |
SuaveDandy | debootstrap is for Debian. It will not install OpenRC, will it? | 23:45 |
fsmithred | not sure. You might be able to exclude sysvinit and include openrc | 23:45 |
fsmithred | that should work | 23:45 |
fsmithred | actually you might not even need to exclude sysvinit | 23:45 |
SuaveDandy | Man, it's configuring full LUKS on Void all over again. Yet another installer doesn't support full LUKS. | 23:46 |
SuaveDandy | That's sad. | 23:46 |
SuaveDandy | How about… em, installing pure Runit? With no SysVinit/OpenRC? | 23:49 |
SuaveDandy | It's not included, obv. | 23:49 |
fsmithred | pretty sure runit uses the sysvinit scripts by default | 23:50 |
fsmithred | SuaveDandy, http://dev1galaxy.org/viewtopic.php?id=3628 | 23:53 |
SuaveDandy | OpenRC as well? | 23:58 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!