Post 9u0G1OxDQL9BJPrZRY by geosum@chaos.social
 (DIR) More posts by geosum@chaos.social
 (DIR) Post #9tyrQFdmUoyHedZ7Ls by alexbuzzbee@fosstodon.org
       2020-04-12T21:59:18Z
       
       0 likes, 0 repeats
       
       $ file /sbin/init/sbin/init: /bin/sh script, ASCII text executable
       
 (DIR) Post #9tysnKtnDD5kZqctA8 by ataraxia937@fosstodon.org
       2020-04-12T22:14:39Z
       
       0 likes, 0 repeats
       
       @alexbuzzbee You're in good company; /init on most every initramfs is a shell script.
       
 (DIR) Post #9tytIGooQskYtp2zgW by geosum@chaos.social
       2020-04-12T22:20:16Z
       
       0 likes, 0 repeats
       
       @alexbuzzbee JuSt uSe sYsTemD LiKe tHe rEsT oF tHe wOrlD!
       
 (DIR) Post #9tz2GeMWpF2qvZ7UqO by alexbuzzbee@fosstodon.org
       2020-04-13T00:00:47Z
       
       0 likes, 0 repeats
       
       @ataraxia937 Including the one on my custom initramfs (which I had to build for Gentoo-being-weird reasons), but this isn't that. This is a "real" /sbin/init that I'm writing. You can do all kinds of evil things with a custom init... Not that I would do any of them. :]
       
 (DIR) Post #9tz2c4rHVcidBVio9Q by alexbuzzbee@fosstodon.org
       2020-04-13T00:04:43Z
       
       0 likes, 0 repeats
       
       @geosum But then I can't use emacs as my entire userspace!
       
 (DIR) Post #9tz2dy5rdCu2mcRbcm by ataraxia937@fosstodon.org
       2020-04-13T00:05:02Z
       
       0 likes, 0 repeats
       
       @alexbuzzbee For some reason this is making me think of Solaris' init, which does hardly anything, for the express purpose of making it extremely stable. All the fancy SMF logic is offloaded to another daemon which is basically the only thing that inittab runs.
       
 (DIR) Post #9tz33cIFJ5YchSSwfg by alexbuzzbee@fosstodon.org
       2020-04-13T00:09:39Z
       
       0 likes, 0 repeats
       
       @ataraxia937 Well, given that this init script is 19 lines (10 significant), it's vaguely similar. But it does exec to s6-scansv, so something more complicated does run in process 1, it's just delayed slightly until /sbin/init has fiddled around with some things first.
       
 (DIR) Post #9tz39Ns3qFKThuy5Ym by alexbuzzbee@fosstodon.org
       2020-04-13T00:10:44Z
       
       0 likes, 0 repeats
       
       @ataraxia937 Then again, s6-scansv is also expressly designed to be very stable, so it remains similar.
       
 (DIR) Post #9u0G1OxDQL9BJPrZRY by geosum@chaos.social
       2020-04-13T14:09:33Z
       
       0 likes, 0 repeats
       
       @alexbuzzbee Just install Eclipse, it's better anyway.