#launchd

Kevin Karhan :verified:kkarhan@infosec.space
2025-06-25

@CursedSilicon @gettie mostly because #systemD (and it's competitiors) took all the right lessions:

  • Start less
  • Start more in parallel
  • Resolve dependencies to avoid waiting times

And basically everyone (#OpenRC, #Upstart, etc. Even #LaunchD [the #init for #macOS that is literally the SystemD but before SystemD and by Apple] and #SMF [#Sun's SystemD for #Solaris] did that to allow for boot times in secinds, not minutes…

youtube.com/watch?v=o_AIw9bGog

Kevin Karhan :verified:kkarhan@infosec.space
2025-06-12

@fabiscafe @okapi OFC @chesheer 's criticism is understandable on #FreeBSD given that #SystemD is inherenty focussed and intertwined with #Linux (just as it's Inspiration, #LaunchD, is intertwined with #macOS's Darwin/NeXTstep kernel).

  • The problem is after some hefty "init wars" with like #Upstart and others SystemD became the de-facto standard, and the "(statistical) rounding errors" of #BSD users got sidelined, in part because BSDs looked at that mess and went like "Nyet, SysVinit is fine!" and continued their fiddling around...

And sadly there's nothing they (or anyone else) could've done unless they had multiplied suddenly and being able to keepcthe old tech stack maintainable.

OFC I wish for more diversity in solutions, but #Linux being #streamlined is what makes #portability across distros easier and boosted adoption as well as providing massive gains in solutions like #DXVK, #Proton and #Wine in general.

  • And TBH most "#TechIlliterates" aka. "#Normies" frankly don't give a shit what OS they use. All it needs to do is serve them their eMails and allow them to 'consoom themselbes happy' as in watching YouTube, Play games, etc.
Kevin Karhan :verified:kkarhan@infosec.space
2025-06-12

@fabiscafe @okapi espechally in the form of an interactive desktop...

  • I could see it valid for multiple shell sessions, but #tmux & #screen cover that pretty well.

  • If one has to login into different machines then chances are #aithentification is centralized anyway.

Needless to say #modernizations like #SystemD don't happen because people like #Poettering are "hobbyless", but because the preexisting status-quo (#SysVinit) was slow, inflexible and error-prone by strict linearity and non-parallelization.

  • With a literal /etc/init file one can literally get a system to hang due to a mistake (i.e. certain call doesn't get invoked correctly), whereas on #SystemD (and competing solutions like #LaunchD on #macOS and #SMF on #Solaris) your desktop / laptop will continue to noot even if it doesn't have a network connection.

Not to mention as Benno Rice explained: 'Shit just gotmore dynamic!': We don't have that one big ass maingrame and serial terminals, instead we have laptops that may he carried around a campus or traveled with all day and that constantly switch between wireless and wired networks and have VPN tunnels open and whatnot...

N-gated Hacker Newsngate
2025-04-10

🐌 Wow, someone found a way to make their even more convoluted! Now, instead of just typing "localhost:4333", you can go through the joyous process of configuring daemons, editing /etc/hosts, and wrangling for that sweet appname.localhost experience. 🧙‍♂️ Truly the pinnacle of for when you have too much time and not enough friends. 🤦‍♂️
inclouds.space/localhost-domai

2025-03-20

@Uilebheist @cstross

Learn from the voice of experience when saying such things. (-:

I used to joke about someone putting an XML parser into the code for process #1, as an example of something outlandish that no-one would do.

Then one of the people who tried to port launchd to FreeBSD did exactly that.

jdebp.info/FGA/launchd-on-bsd.

#launchd

2025-03-20

@quixoticgeek @js @cstross

Upstart both rose and fell in the time that it has taken even to get launchd ports to the BSDs attempted, let alone to Linux-based operating systems.

launchd leans heavily on MacOSisms.

jdebp.info/FGA/launchd-on-bsd.

#launchd

Kevin Karhan :verified:kkarhan@infosec.space
2025-03-17

@freya @BrodieOnLinux makes sense, ofc.

  • I like SystemD but for #OS1337 had to stick with the classic /etc/init file for space reasons alone.

Tho in fairness I'm shure #SMF did inspire #Apple to do #LaunchD which in turn was copied with #SystemD, abeit all 3 are very much centric about the Kernel and Userland they target.

Tomáš Slížtomas@iosdev.space
2025-03-15

I spent some time tweaking the backup agent for the #bearapp via #launchd. It still does not work as I wanted. I am missing some starting triggers, and the documentation does not contain much detail. It’s hard to tweak certain things on #macOS these days.

2025-02-19

Hmm, so #macOS #Seqoia completely breaks local network access for processes run via #launchd user agents BeCaUsE Of sEcUrItY!1.

This means no automated daily backups for me any more. Slow clap, Apple, slow clap.

developer.apple.com/documentat

(In other words … uhh … halp?!)

Elias Probsteliasp
2025-01-22

@rust_discussions in contrast to what the article claims, socket activation wasn't pioneered by Apple's , but much earlier in 1986 by as part of BSD 4.3.

Björnthaodan
2024-07-25

@shupfel There were quite many developers interested in . The drama around system seems to be really a Linux thing.
youtube.com/watch?v=o_AIw9bGogo

Kevin Karhan :verified:kkarhan@infosec.space
2024-06-23

@BestGirlGrace yes, and they'll basically refuse to accept the #InconvenientTruth that #systemd is at worst a "#NecessaryEvil" because what came before it was way worse, competing solutions failed to get adopted and even mainline #Unix like #Solaris (#SMF) and #macOS (#LaunchD clearly is the inspiration for SystemD!) did the same...

youtube.com/watch?v=o_AIw9bGogo

#TheTragedyOfSystemd

Kevin Karhan :verified:kkarhan@infosec.space
2024-06-22

@nuintari @pid_eins @OS1337 Again: I disagree as both #SMF and #LaunchD do more than just #init amd like #systemd are a whole collection of utilities and not a single massive binary.

In fact, #journalctl is an evidently better way to debug issues and fix problems with #services / #daemons than having to parse #Syslog through dozens of filters or spechalized tools.

Similarly, if #gstreamer & #ALSA / #OSS / #PulseAudio weren't shitshows, we'd not see the need for #PipeWire!

Kevin Karhan :verified:kkarhan@infosec.space
2024-06-22

@nuintari I disagree.

#SystemD is a "necessary evil" because what existed previously was bad for anything that isn't a "build once never change" server that never gets changed much...
youtube.com/watch?v=o_AIw9bGog

The only reason I "cut" systemd from @OS1337 as of now is because I can't make it - or the #GNUtils that preceded it - fit within the few hundred kB on a 1.440 kB FDD I can spare.

Noone wants to go back to #SysVinit when even the fastest systems took longer to boot that most peoole need to make a shitty coffee or dump ass on the toilet.

  • Amd dumping SysVinit - just like #Linux dumping #i386 - is somewhat inevitable given the amount of work it took to keep it workable at all...
2024-06-15

Periodic Backup of a Mac Folder on a Synology NAS
https://en.ileif.de/wp-content/uploads/2024/06/image2-150x150.webp

This arti­cle describes how to use rsync in a shell script to cre­ate back­ups of your Obsid­i­an Vault. It then guides you through set­ting up this script for a 1‑click back­up solu­tion using Apple Short­cuts and automat­ing peri­od­ic back­ups using launchd on macOS.

#automation #launchd #macos #obsidian #shortcuts
https://en.ileif.de/2024/06/15/periodic-backup-of-a-mac-folder-on-a-synology-nas/

A vibrant, nostalgic 1990s GeoCities-style image depicting the concept of backup. The scene features stacked boxes labeled with dates like ‘2024-06-08_16-06-49’, ‘2024-06-08_17-06-49’, and ‘2024-06-08_18-06-49’, symbolizing different backups, arranged in an organized manner. Surrounding the boxes are colorful, retro office supplies like notebooks, pens, and folders. The background includes playful elements and vibrant colors, evoking a sense of retro tech nostalgia. The image is in landscape format, lively and visually engaging. done with Dall-E
dit und datblog@ileif.de
2024-06-11

Regelmäßige Backups von Mac-Ordnern mit rsync und launchd auf ein Synology NAS
https://ileif.de/wp-content/uploads/2024/06/rsync-launchd-150x150.webp

In die­sem Artikel wird gezeigt, wie man regel­mä­ßi­ge Backups von Mac-Ordnern auf ein Synology NAS mit­hil­fe von rsync und launchd ein­rich­tet. Die Anleitung umfasst die Konfiguration des Backup-Skripts, das Einrichten der Automatisierung mit launchd und den Umgang mit mög­li­chen Problemen.

#automation #launchd #Mac #obsidian
https://ileif.de/2024/06/11/regelmaessige-backups-von-mac-ordnern-mit-rsync-und-launchd-auf-ein-synology-nas/

Schwarz-Weiß-Strichzeichnung eines Desktop-Computers mit Mac-OS-Interface. Ein Terminal-Fenster zeigt einen rsync-Befehl. Im Hintergrund ist ein Synology NAS zu sehen, das über ein Netzwerk verbunden ist. Zusätzliche Elemente sind ein Uhr-Symbol, das periodische Backups darstellt, und ein Sicherheits-Symbol, das die Datenintegrität repräsentiert.
2024-05-16

Periodic Execution of Apple Shortcuts with launchd

This arti­cle demon­strates how to use the sys­tem ser­vice ‘launchd‘ on a Mac to run Apple Short­cuts reg­u­lar­ly and auto­mat­i­cal­ly.

#automation #launchd #macos #shortcuts

https://en.ileif.de/wp-content/uploads/2024/05/DALL·E-2024-05-16-18.08.33-Transform-the-black-and-white-line-art-illustration-of-a-modern-desk-setup-into-a-1990s-GeoCities-style-image.-The-scene-should-feature-vibrant-nosta-150x150.webp

reflect a 1990s GeoCities style, featuring vibrant, nostalgic graphics and pixelated details that capture the essence of early internet design. You can view the updated avatar above. Created by DALL-E
dit und datblog@ileif.de
2024-05-16

In die­sem Artikel zei­ge ich, wie Apple Kurzbefehle mit­hil­fe des Systemdienstes launchd auf dem Mac regel­mä­ßig und auto­ma­tisch aus­ge­führt wer­den kön­nen.

https://ileif.de/2024/05/16/periodische-ausfuehrung-von-apple-kurzbefehle-mit-launchd/

Schwarz-weiße Linienzeichnung eines modernen Schreibtisch-Setups ohne Person. Der Computerbildschirm zeigt eine Schnittstelle zur Automatisierung wiederkehrender Aufgaben, die einen Flussdiagramm oder Zyklus zur Darstellung der periodischen Ausführung enthält. Der Schreibtisch ist mit Gadgets, einer Lampe, einer Kaffeetasse und Schreibwaren überladen. Im Hintergrund sind Regale und Fenster zu sehen, die eine detaillierte und dynamische Arbeitsplatzszene schaffen. created by DALL-E
Kevin Karhan :verified:kkarhan@infosec.space
2024-04-03

@landley @pid_eins
Because if #SysVinit was good he'd likely not made systemd nor would any other #Unix-esque OS that isn't a tiny embedded distro that can handle just using an #init file use basically their primitive systemd-predecessor like #launchD (#macOS), & #SMF (#Solaris & #illumos) instead...
youtube.com/watch?v=o_AIw9bGog

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst