`systemd` is all you need

2 years ago by flamingos-cant (hopepunk arc) to c/linuxmemes

FreshLight 248 points 2 years ago

Oh fuck. I'll use this from now on. Except for if I won't use it next week. Then I'll forget about it because my memory is a damn sieve.

path: 0 13121458, hotness: undefined, score: 248, children: 12
Catoblepas 130 points 2 years ago

Just take the next step and make a text file you dump all these commands into and then forget about in a week. When you randomly stumble across it years from now you’ll be able to say “wow, I could have used this 10 months ago if I remembered it existed!”

path: 0 13121458 13121865, hotness: undefined, score: 130, children: 4
boredsquirrel 57 points 2 years ago

I make a separate text file per command so I can search them!

Which I dont.

path: 0 13121458 13121865 13122109, hotness: undefined, score: 57, children: 2
variants 33 points 2 years ago

I usually print these out and put them in a safe deposit box at a bank so I never lose them

path: 0 13121458 13121865 13122109 13122160, hotness: undefined, score: 33, children: 0
Jessica 12 points 2 years ago

We can store those text files in a terminal and search for them from the command line with man command!

path: 0 13121458 13121865 13122109 13123930, hotness: undefined, score: 12, children: 0
prole 5 points 2 years ago

I keep a persistent "sticky note" (in KDE) drop down on my top bar where I copy/paste important commands, scripts, etc.

I actually remember to use it sometimes.

path: 0 13121458 13121865 13128813, hotness: undefined, score: 5, children: 0
Technofrood 14 points 2 years ago

Use a systemd timer to send yourself a reminder. Discoverd them recently myself and honestly liking them more than cron.

path: 0 13121458 13127547, hotness: undefined, score: 14, children: 0
folkrav 5 points 2 years ago

I feel you. It’s however gotten a lot better since I turned some of these commands into abbreviations. They’re aliases that expands in place, more or less. Fish has them natively, I personally use zsh-abbr.

path: 0 13121458 13123571, hotness: undefined, score: 5, children: 4
prole 2 points 2 years ago

Fish is super useful, but I usually only start it up if I'm having trouble finding or remembering a command.

path: 0 13121458 13123571 13128823, hotness: undefined, score: 2, children: 3
folkrav 3 points 2 years ago

Yeah, it’s a good shell. I’ve found the lack of compatibility with some bash tools to be inconvenient enough that I just went back to zsh and found alternatives for the parts that I liked about it. Works well enough for me.

path: 0 13121458 13123571 13128823 13129390, hotness: undefined, score: 3, children: 2
prole 1 point 2 years ago

I'm relatively new to Linux in general (have only been on it for about a year and a half, but have taken to it like a fish to water), so forgive me if this is a dumb question, but what are some benefits to using zsh over bash? Are there any cons?

path: 0 13121458 13123571 13128823 13129390 13149666, hotness: undefined, score: 1, children: 1
meiti 1 point 2 years ago

Using a large shell history (currently at 57283 entries) along with readline (and sometimes fzf) has served me well over the past few yeas when trying to remember past commands.

path: 0 13121458 13131086, hotness: undefined, score: 1, children: 0
_____ 120 points 2 years ago

me: systemd is not that bloated

systemd:

path: 0 13123075, hotness: undefined, score: 120, children: 8
exu 57 points 2 years ago

You need a calendar and time handling anyways for logging purposes and to set timers correctly. It's likely not that much extra work exposing that functionality.

path: 0 13123075 13127223, hotness: undefined, score: 57, children: 4
Kusimulkku 18 points 2 years ago

No, UNIX philosophy demands that every single one of those things is one or more separate things and that half of them are poorly or not at all maintained. Just like God intended.

path: 0 13123075 13127223 13131953, hotness: undefined, score: 18, children: 3
DrDystopia 1 point 2 years ago

Finding the next super holiday is a core system feature I could survive without. 🎉

path: 0 13123075 13127223 13131953 13134734, hotness: undefined, score: 1, children: 2
Kusimulkku 7 points 2 years ago

Well, date time stuff for a system working with timers and scheduling actions might be pretty useful...

path: 0 13123075 13127223 13131953 13134734 13135133, hotness: undefined, score: 7, children: 0
ggppjj 4 points 2 years ago

That's not what it's there for. It can also be used that way.

path: 0 13123075 13127223 13131953 13134734 13137838, hotness: undefined, score: 4, children: 0
bestboyfriendintheworld 16 points 2 years ago

Try scheduling a cron tab job to run a task on dates defined that way.

path: 0 13123075 13127215, hotness: undefined, score: 16, children: 1
DrDystopia 3 points 2 years ago

But that's not what I need and the world revolves around me...

path: 0 13123075 13127215 13134751, hotness: undefined, score: 3, children: 0
Kusimulkku 13 points 2 years ago

I think this is for setting date oriented timers

path: 0 13123075 13127148, hotness: undefined, score: 13, children: 0
mogoh 100 points 2 years ago

Usually such things have a simple explanation. systemd does a lot with time and date, for example scheduling tasks. It's quite obvious that it has this capabilities, when you think about it.

path: 0 13122812, hotness: undefined, score: 100, children: 14
m4m4m4m4 46 points 2 years ago
path: 0 13122812 13122885, hotness: undefined, score: 46, children: 8
Kusimulkku 7 points 2 years ago

Not that that's bad when it's stuff like this

path: 0 13122812 13122885 13127150, hotness: undefined, score: 7, children: 3
nick -7 points 2 years ago

Yes it is.

path: 0 13122812 13122885 13127150 13129304, hotness: undefined, score: -7, children: 2
Kusimulkku 9 points 2 years ago

How is this functionality bad?

path: 0 13122812 13122885 13127150 13129304 13129518, hotness: undefined, score: 9, children: 1
phoenixz 1 point 2 years ago

Too much

But that has been a complaint for 10 years and it's only gotten worse

I wouldn't mind systemd if it weren't for the fact that it was to be a startup system that promised to make everything easier and faster to startup yet managing systemd is a drag at best, and of it did one thing it's making my systems boot up like mud

path: 0 13122812 13122885 13130977, hotness: undefined, score: 1, children: 3
Kusimulkku 2 points 2 years ago

I feel like the glued together collection of scripts was way worse to manage than systemd.

path: 0 13122812 13122885 13130977 13131993, hotness: undefined, score: 2, children: 2
phoenixz 0 points 2 years ago

Is it? It was always super easy to get anything done and with systems it suddenly got factors more complicated. Port assignment was super easy to do, note the past tense. It now requires systemd and instead of a 15 second config file change and service restart I now need to create and delete files, restart multiple services, God knows what in systems.

Simply put: why? If you make an alternative solution AT LEAST it shouldn't become way more over complicated to get basic tasks done

path: 0 13122812 13122885 13130977 13131993 13150683, hotness: undefined, score: 0, children: 1
bricked -2 points 2 years ago

I thought the same, but didn't we already have things like chron syntax for this? Systemd didn't have to build its own library.

path: 0 13122812 13126503, hotness: undefined, score: -2, children: 4
Takios 14 points 2 years ago

Systemd's method is more powerful than Cron syntax.

path: 0 13122812 13126503 13126939, hotness: undefined, score: 14, children: 1
bricked 7 points 2 years ago

Aight, didn't know that. I cannot yet imagine any scheduled task that would require anything more advanced than cron (or a similar standalone syntax), but I'll just trust you with that one.

path: 0 13122812 13126503 13126939 13128700, hotness: undefined, score: 7, children: 0
fallingcats 6 points 2 years ago

Can you tell Cron to catch up on the things that should've happened but didn't because the system was off?

path: 0 13122812 13126503 13127892, hotness: undefined, score: 6, children: 1
hfiwg 7 points 2 years ago

I think fcron and anacron can do that

path: 0 13122812 13126503 13127892 13128032, hotness: undefined, score: 7, children: 0
rustydrd 89 points 2 years ago

systemd is a great operating system, it just lacks a decent text editor.

path: 0 13126914, hotness: undefined, score: 89, children: 11
fallingcats 39 points 2 years ago

Good thing it's editor agnostic so everybody can do the right thing in the end and choose nano

path: 0 13126914 13127843, hotness: undefined, score: 39, children: 8
ricdeh 41 points 2 years ago

Funny way to misspell vim

path: 0 13126914 13127843 13128376, hotness: undefined, score: 41, children: 7
John 15 points 2 years ago

Micro anyone? :D

path: 0 13126914 13127843 13128376 13128605, hotness: undefined, score: 15, children: 4
WhiskyTangoFoxtrot 18 points 2 years ago

ed is the standard text editor.

path: 0 13126914 13127843 13128376 13128605 13128759, hotness: undefined, score: 18, children: 1
vox 3 points 2 years ago

the only reason im not using it is that it makes copying from terminal impossible

path: 0 13126914 13127843 13128376 13128605 13130678, hotness: undefined, score: 3, children: 1
morbidcactus 2 points 2 years ago

Enough people mention it that I've jumped over to helix

path: 0 13126914 13127843 13128376 13133270, hotness: undefined, score: 2, children: 1
SanndyTheManndy 3 points 2 years ago

Eyy, helix mentioned! The only editor that can handle the 50k LoC files at work.

path: 0 13126914 13127843 13128376 13133270 13184916, hotness: undefined, score: 3, children: 0
rickyrigatoni 12 points 2 years ago

alias systemd-texted=micro

path: 0 13126914 13130399, hotness: undefined, score: 12, children: 0
ziggurat 2 points 2 years ago

Have you tried emacs with evil mode? It's a bit slow, not as slow as VS code or anything, but not really fast. But it's basically neovim but you get to use lisp to configure it instead of lua

path: 0 13126914 13134584, hotness: undefined, score: 2, children: 0
solidgrue 60 points 2 years ago

Thanks! I hate this. 🖤

path: 0 13121447, hotness: undefined, score: 60, children: 0
PanArab 49 points 2 years ago

systemd is the future, and the future has been here for over a decade and yet old Unix and BSD purists still cry about it

I have one simple thing to say to the downvoters: I am not using a minicomputer from 1970, why should I be bound by the limits set then?

path: 0 13124790, hotness: undefined, score: 49, children: 5
pimeys 41 points 2 years ago

Yeah, I'm also one of these people silently enjoying systemd and wayland. Every now and then there's fuzz on one of these. I shrug, and move on still enjoying both of them.

path: 0 13124790 13126244, hotness: undefined, score: 41, children: 0
SomethingBurger 5 points 2 years ago

They are also still complaining about PulseAudio, despite Pipewire having mostly replaced it, while spending hours fiddling with ALSA to use their headphones.

path: 0 13124790 13136994, hotness: undefined, score: 5, children: 0
phoenixz 1 point 2 years ago

I wouldn't cry about it if it wasn't so God awful to work with

path: 0 13124790 13126281, hotness: undefined, score: 1, children: 2
Kusimulkku 23 points 2 years ago

I've felt like systemd has been a breeze compared to the hodgepodge of different stuff that preceded it. Now most distros have it mostly the same way, tools are well documented, things works together. It wasn't always like that from what I remember

path: 0 13124790 13126281 13127185, hotness: undefined, score: 23, children: 0
Naich 11 points 2 years ago

In what way?

path: 0 13124790 13126281 13126366, hotness: undefined, score: 11, children: 0
lazynooblet 46 points 2 years ago

In the UK, if Christmas or New Year falls on a weekend, a seperate equivalent holiday is made during the week to compensate.

path: 0 13126461, hotness: undefined, score: 46, children: 9
blackn1ght 17 points 2 years ago

Wait, do other countries not do this? So if a public holiday falls on a Saturday it doesn't get pushed to Monday?

path: 0 13126461 13127380, hotness: undefined, score: 17, children: 4
superkret 15 points 2 years ago

Germany doesn't do this, but the minimum, when all holidays fall on the worst possible days, is more than the number of holidays in the UK.

path: 0 13126461 13127380 13128765, hotness: undefined, score: 15, children: 2
lord_ryvan 2 points 2 years ago

Netherlands doesn't do this, and we have less holidays then UK haha

path: 0 13126461 13127380 13128765 13264804, hotness: undefined, score: 2, children: 0
Kusimulkku 2 points 2 years ago

So even when you lose you win.

path: 0 13126461 13127380 13128765 13132012, hotness: undefined, score: 2, children: 0
thebestaquaman 11 points 2 years ago

Don't do that in Norway either - just bad luck if the holidays happen to land on a weekend. On the other hand, we have five weeks of paid vacation, and holidays are not counted into those, I'm not sure how that's done in other countries?

path: 0 13126461 13127380 13129523, hotness: undefined, score: 11, children: 0
John 12 points 2 years ago

but the UK has the fewest public holidays in Europe. In Germany we have 9-13 but don't get a day off if a public holiday is on a weekend. And we have a minimum of 20/24 days of holiday on top

path: 0 13126461 13128679, hotness: undefined, score: 12, children: 0
my_hat_stinks 4 points 2 years ago

This is true for all public holidays in the UK, there's a (usually) fixed number of public holidays but the dates are flexible.

They're also included in the minimum 28 days paid time off too, meaning if you're a full time worker and have to work on a bank holiday your employer is legally required to offer an extra day off somewhere else instead, either a fixed date or added to your holiday allowance. Conversely, the "extra" day off you get when a monarch keels over may be subtracted from your holiday allowance for the year. This is also why my employer is allowed to follow English bank holidays despite having next to no presence in England; the number is fixed but the dates are not.

path: 0 13126461 13127233, hotness: undefined, score: 4, children: 0
poinck 4 points 2 years ago

Awesome!

path: 0 13126461 13126834, hotness: undefined, score: 4, children: 0
chiliedogg 2 points 2 years ago

Same for lots of jobs here.

Honestly, Wednesday and Thursday are the worst days for Christmas for those of us who also get Christmas Eve because they're the only days that don't result in 4 days in a row off from work.

If it's on a Friday, we get Thursday through Saturday. If it's on a Saturday, Sunday, or Monday, they give us Friday through Monday, and if it's on a Tuesday, they give us Saturday through Tuesday.

But this year, we're off Saturday and Sunday, work Monday, are off Tuesday and Wednesday, and return to work on Thursday.

It's the same total number of days off, but it's way less useful - especially if travel is involved.

path: 0 13126461 13133166, hotness: undefined, score: 2, children: 0
clay_pidgin 40 points 2 years ago

That's pretty clever.

path: 0 13121348, hotness: undefined, score: 40, children: 0
WhiskyTangoFoxtrot 36 points 2 years ago

Finally we can put all the controversy around systemd to rest.

path: 0 13128839, hotness: undefined, score: 36, children: 0
peopleproblems 31 points 2 years ago

Well. I mean, that's pretty cool. I don't think I would have ever guess that was an actual function from systemd but here we are

path: 0 13122087, hotness: undefined, score: 31, children: 0
frezik 29 points 2 years ago

This plays some kind of role in the debate of systemd being good or not. I'm not sure if goes in the good column or the bad column, but I know it goes into a column.

path: 0 13132634, hotness: undefined, score: 29, children: 5
barsquid 22 points 2 years ago

I am typically in the group saying "systemd is overlarge with too many responsibilities" but this capability makes perfect sense for its job running services. Probably the good column.

path: 0 13132634 13133108, hotness: undefined, score: 22, children: 3
okwhateverdude 6 points 2 years ago

This kinda functionality is surprisingly apropos to a problem I have a work, I realize. And yet, I have k8s. More and more I am appreciating the niche systemd can play with pets instead of cattle and wished corps weren't jumping to managed k8s and all of that complexity it entails immediately.

path: 0 13132634 13133108 13137466, hotness: undefined, score: 6, children: 2
kattfisk 1 point 2 years ago

You can run systemd (or cron) inside a pod for scheduling and call the kubernetes API from there to run jobs and stuff. Not sure if this helps you, but it can be easy to overlook.

path: 0 13132634 13133108 13137466 13154499, hotness: undefined, score: 1, children: 1
okwhateverdude 2 points 2 years ago

haha, yeah I am well aware I could do something like that. Unfortunately, once you start working for larger companies, your options for solutions to problems typically shrink dramatically and also need to fit into neat little boxes that someone else already drew. And our environment rules are so draconian, that we cannot use k8s to its fullest anyhow. Most of the people I work with have never actually touched k8s, much less any kind of server oriented UNIX. Thanks for the advice though.

path: 0 13132634 13133108 13137466 13154499 13167785, hotness: undefined, score: 2, children: 0
cypherpunks 4 points 2 years ago

I think it depends which side of the debate one is on?

path: 0 13132634 13132864, hotness: undefined, score: 4, children: 0
umbraroze 24 points 2 years ago

Well, systemd developers made one of the classic blunders a software developer can do: make a program that has to deal with time and dates. Every time I have to deal with timestamps I'm like "oh shit, here we go again".

Anyway, as I understood it the reason this is in systemd is because they wanted to replace cron, and it's fine by me because cron has it's own brain-hurt. (The cron syntax is something that always makes me squint real hard for a while.)

path: 0 13147524, hotness: undefined, score: 24, children: 7
flying_sheep 2 points 2 years ago

Yeah and they actually added some usability in the form of that utility helping you debug what you're doing. Pretty nice!

path: 0 13147524 13149686, hotness: undefined, score: 2, children: 0
phoenixz 0 points 2 years ago

I'm sorry but Cron is really easy, of all systems.

Try using systemd with an ssh server that you want to have running on a non standard port. On non systemd it's a 15 second ordeal while on systemd I don't even know where to start, I pushed it out of my memories. It's something something create files here, restart demons there, removing other files, it is WAY WAY over complicated

path: 0 13147524 13149978, hotness: undefined, score: 0, children: 5
offspec 5 points 2 years ago

What do you mean? You literally just change the /etc/sshd config to point at a different port do you not?

path: 0 13147524 13149978 13154779, hotness: undefined, score: 5, children: 3
phoenixz 1 point 2 years ago

Oh yeah, without systemd that's all there is to it. With systemd, however, port management is taken out of the ssh config and is done how it was decades ago

path: 0 13147524 13149978 13154779 13255730, hotness: undefined, score: 1, children: 2
offspec 2 points 2 years ago

I run systemd with a different sshd service port and that's all I changed

path: 0 13147524 13149978 13154779 13255730 13259318, hotness: undefined, score: 2, children: 1
umbraroze 2 points 2 years ago

Well cron is "really easy" as long as your requirements are really easy too.

Run a task at specific hour or minute or weekday or whatever? Easy peasy.

Run a task at complex intervals? What the fuck is this syntax. How do I get it right even. Guess I'll come back next week and see if it ran correctly.

Actually have to look at the calendar to schedule this stuff? Oh lawd here come the hacks, they're so wide, they're coming

Run a task at, say, granularity of seconds? Of course it's not supported, who would ever need that, if you really need that just do an evil janky shellscript hack

path: 0 13147524 13149978 13153206, hotness: undefined, score: 2, children: 0
ScreaminOctopus 21 points 2 years ago

This is basically just a way nicer, more flexible cron syntax being dressed up as something ridiculous. There are legitimate reasons for wanting something like this, like running some sort of resource heavy disk optimization the first Friday evening of every month or something.

path: 0 13137344, hotness: undefined, score: 21, children: 0
kameecoding 20 points 2 years ago

It is literally happening this year.

24th is Tuesday. 1st of January is Wednesday and as a bonus Jan 6 is also a holiday in my country and that's Monday.

So from dec 22 to jan 6 i can be home by using just 6 days off

path: 0 13125642, hotness: undefined, score: 20, children: 3
Ullallulloo 3 points 2 years ago

The 25th is a Wednesday, not a Tuesday like he was wanting. Tuesday is nice because you get a four-day weekend without using any days off. (Though, usually you'd get the next off if it was a Monday or Sunday or whatever.) I think the best is Friday or Monday because then New Year's gives you a three-day weekend too.

path: 0 13125642 13131227, hotness: undefined, score: 3, children: 1
kameecoding 1 point 2 years ago

to me it doesn't matter tbh, as long as the 24th is somewhere monday-wednesday, that means days off that week, we get 24,25,26 off.

path: 0 13125642 13131227 13132283, hotness: undefined, score: 1, children: 0
piecat 2 points 2 years ago

It is, but they searched starting in 2025. Skipping this one.

path: 0 13125642 13130565, hotness: undefined, score: 2, children: 0
DmMacniel 19 points 2 years ago

God, I only have one question...

Why?

path: 0 13121526, hotness: undefined, score: 19, children: 2
alteredEnvoy 51 points 2 years ago

I bet it's for timers

path: 0 13121526 13121939, hotness: undefined, score: 51, children: 1
DmMacniel 15 points 2 years ago

Did you know the next Friday the 13th is in December? ChatGPT didn't know it. (I had to give it an extra date.now for it to figure it out)

path: 0 13121526 13121939 13122182, hotness: undefined, score: 15, children: 0
mariusafa 16 points 2 years ago

Damn and does it work as an init too? xD.

path: 0 13127083, hotness: undefined, score: 16, children: 0
cypherpunks 15 points 2 years ago
$ systemd-analyze calendar tomorrow
Failed to parse calendar specification 'tomorrow': Invalid argument
Hint: this expression is a valid timestamp. Use 'systemd-analyze timestamp "tomorrow"' instead?
$ systemd-analyze timestamp tuesday
Failed to parse "tuesday": Invalid argument
Hint: this expression is a valid calendar specification. Use 'systemd-analyze calendar "tuesday"' instead?

ಠ_ಠ

$ for day in Mon Tue Wed Thu Fri Sat Sun; do TZ=UTC systemd-analyze calendar "$day 02-29"|tail -2; done
    Next elapse: Mon 2044-02-29 00:00:00 UTC
       From now: 19 years 4 months left
    Next elapse: Tue 2028-02-29 00:00:00 UTC
       From now: 3 years 4 months left
    Next elapse: Wed 2040-02-29 00:00:00 UTC
       From now: 15 years 4 months left
    Next elapse: Thu 2052-02-29 00:00:00 UTC
       From now: 27 years 4 months left
    Next elapse: Fri 2036-02-29 00:00:00 UTC
       From now: 11 years 4 months left
    Next elapse: Sat 2048-02-29 00:00:00 UTC
       From now: 23 years 4 months left
    Next elapse: Sun 2032-02-29 00:00:00 UTC
       From now: 7 years 4 months left

still image from "Zach Galifianakis Math" gif, with Zach looking contemplative with math notation floating in front of his face

(It checks out.)

Surprisingly its calendar specification parser actually allows for 31 days in every month:

$ TZ=UTC systemd-analyze calendar '02-29' && echo OK || echo not OK
  Original form: 02-29
Normalized form: *-02-29 00:00:00
    Next elapse: Tue 2028-02-29 00:00:00 UTC
       From now: 3 years 4 months left
OK
$ TZ=UTC systemd-analyze calendar '02-30' && echo OK || echo not OK
  Original form: 02-30
Normalized form: *-02-30 00:00:00
    Next elapse: never           
OK
$ TZ=UTC systemd-analyze calendar '02-31' && echo OK || echo not OK
  Original form: 02-31
Normalized form: *-02-31 00:00:00
    Next elapse: never           
OK
$ TZ=UTC systemd-analyze calendar '02-32' && echo OK || echo not OK
Failed to parse calendar specification '02-32': Invalid argument
not OK
path: 0 13132798, hotness: undefined, score: 15, children: 0
humblebun 13 points 2 years ago

No Christmas for 5 years?? Why are you doing this to us, systemd???

path: 0 13121779, hotness: undefined, score: 13, children: 0
subignition 12 points 2 years ago

That's actually really cool!

path: 0 13121931, hotness: undefined, score: 12, children: 0
Pulptastic 9 points 2 years ago

How is Tuesday Christmas optimal?

path: 0 13123756, hotness: undefined, score: 9, children: 7
jonne 7 points 2 years ago

I guess that makes a long weekend with Christmas Eve and then Christmas?

path: 0 13123756 13123812, hotness: undefined, score: 7, children: 3
brbposting 3 points 2 years ago

Is Friday Christmas just as good?

path: 0 13123756 13123812 13124565, hotness: undefined, score: 3, children: 2
windowsphoneguy 11 points 2 years ago

Not in Germany, where 25th and 26th are bank holidays. So having these close to the prior or following weekend makes for four days off

path: 0 13123756 13123812 13124565 13125675, hotness: undefined, score: 11, children: 0
jonne 3 points 2 years ago

Seems like it would be, maybe OP has more reasons to think why Tuesday is more optimal.

path: 0 13123756 13123812 13124565 13125043, hotness: undefined, score: 3, children: 0
Ferrous 6 points 2 years ago

I suppose for people in the office, it means everyone else has fucked off and the week is basically a wash.

path: 0 13123756 13125346, hotness: undefined, score: 6, children: 0
rtxn 3 points 2 years ago

Students here usually get Mondays off when the next Tuesday is a holiday. As a university sysadmin, I cherish those days because that's when we can get actual work done without having to work around the chaotic classroom reservations or work in ten-minute bursts during breaks. It's also when we can implement changes to the network and update the servers because the office workers don't tend to come in.

The last time that happened, all of us sysadmins did about three months' worth of actual work in a few hours, then used the smaller lecture hall as a cinema for the rest of the day.

path: 0 13123756 13145872, hotness: undefined, score: 3, children: 0
psud 1 point 2 years ago

For me if Christmas eve is a Monday we usually get the whole Monday off, if it's later in the week we only get a half day. We get from Christmas eve 12 noon to January 1 off normally

path: 0 13123756 13245218, hotness: undefined, score: 1, children: 0
mlg 8 points 2 years ago

Systemd ignored my calendar override for the builtin raid scanner, so every week my server would chug to a halt to scan the entire array.

In true systemd fashion, the documentation could not explain this behavior, so I had to make a full copy override instead of a merge override because reasons.

path: 0 13136174, hotness: undefined, score: 8, children: 2
snowfalldreamland 4 points 2 years ago path: 0 13136174 13139184, hotness: undefined, score: 4, children: 1
mlg 1 point 2 years ago

Thank you for this, I am dumb when it comes to config merge rules because I've screwed up ALSA the same way

path: 0 13136174 13139184 14974575, hotness: undefined, score: 1, children: 0
RV5 5 points 2 years ago

Ahh, you made my day!

path: 0 13135536, hotness: undefined, score: 5, children: 0
Digit 1 point 3 months ago

Already have a program that does that one thing, well. For stuff about dates, try the date command.

As in the case of wanting to know the day of the week of some distant future event's date:

date -d "YYYY-MM-DD" +"%A".

Had that before systemd existed.

... Since "systemd is all you need" do systemd users uninstall date?

path: 0 23601071, hotness: undefined, score: 1, children: 2
mittorn 0 points 3 months ago path: 0 23601071 23605846, hotness: undefined, score: 0, children: 1
Digit 1 point 3 months ago

it will be replaced by systemd-dated soon

Not on my machines.

I distrust the tech and the corporation behind the tech being pushed on us as the one true way.

I have no room for the one true way in the Free Software paradigm.

Amen for choice. Grateful for init freedom. ... Grateful for date freedom. ... And whatever else systemd attempts to embrace-extend-extinguish.

... Just realised, I can't tell if that["it will be replaced by systemd-dated soon"]'s satire. Systemd, so bad, one can say horrible things they'll be doing, and listeners will not be able to tell. Systemd, so bad, it's beyond susceptibility to satirical reductio-absurdism, already reduced to the absurd.

path: 0 23601071 23605846 23605847, hotness: undefined, score: 1, children: 0
thecheddarcheese 1 point 2 years ago

Okay this is cool and all, but why would systemd have a calendar?

(also how do i do this)

path: 0 13294703, hotness: undefined, score: 1, children: 1
flamingos 3 points 2 years ago

As others have said on this thread, it's because systemd has fairly advanced timer system that basically requires implementing a calendar.

To do it, the command is in the screenshot systemd-analyze calendar "Tue *-12-25".

path: 0 13294703 13312789, hotness: undefined, score: 3, children: 0
DieserTypMatthias 0 points 2 years ago

Just write your own initialization system in bash. It is more reliable and less bloated.

path: 0 13146435, hotness: undefined, score: 0, children: 0
MehBlah -2 points 2 years ago

Systemd. A tool created in search of problem.

path: 0 13135501, hotness: undefined, score: -2, children: 2
SomethingBurger 10 points 2 years ago

The problem: incomprehensible init scripts

path: 0 13135501 13136962, hotness: undefined, score: 10, children: 1
MehBlah -7 points 2 years ago

The solution is learn them.

path: 0 13135501 13136962 13137315, hotness: undefined, score: -7, children: 0
corsicanguppy -29 points 2 years ago

Too bad about its failure as an init system, though.

path: 0 13122065, hotness: undefined, score: -29, children: 15
possiblylinux127 25 points 2 years ago

If by failure you mean every system under the sun using it

path: 0 13122065 13124030, hotness: undefined, score: 25, children: 1
Kusimulkku 1 point 2 years ago

I don't think they are using popularity as a metric. But I think the functionality of it is also very good, so dunno what their gripe is.

path: 0 13122065 13124030 13132040, hotness: undefined, score: 1, children: 0
kalibri 8 points 2 years ago

You must be either the very old get off my lawn type or very young and edgy. Everyone else in between likes systemd, one of the best things that happened to GNU/Linux in a while.

path: 0 13122065 13127075, hotness: undefined, score: 8, children: 0
DmMacniel 5 points 2 years ago

This just like Emacs all over again!

path: 0 13122065 13122199, hotness: undefined, score: 5, children: 11
flamingos 24 points 2 years ago path: 0 13122065 13122199 13122980, hotness: undefined, score: 24, children: 0
SpaceNoodle 6 points 2 years ago

No, emacs is superior

path: 0 13122065 13122199 13122846, hotness: undefined, score: 6, children: 0
InverseParallax 1 point 2 years ago

No, nobody forces you to use emacs at gunpoint.

path: 0 13122065 13122199 13122749, hotness: undefined, score: 1, children: 8
Vilian 11 points 2 years ago

Whoever forced you? distros wanting a stable system?

path: 0 13122065 13122199 13122749 13123171, hotness: undefined, score: 11, children: 5
InverseParallax -10 points 2 years ago
path: 0 13122065 13122199 13122749 13123171 13123505, hotness: undefined, score: -10, children: 4
rc__buggy 5 points 2 years ago

Some emacs evangelicals would like to.

path: 0 13122065 13122199 13122749 13123362, hotness: undefined, score: 5, children: 1
InverseParallax 6 points 2 years ago

path: 0 13122065 13122199 13122749 13123362 13123514, hotness: undefined, score: 6, children: 0
linuxmemes
linuxmemes

@lemmy.world

login for more options
32537
2322
8246

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

go to feed...