The officially official Devuan Forum!

You are not logged in.

#1 2021-04-01 12:47:15

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

systemd's new feature (wtf?)

Hello:

I know that it's 01/04 today (at least here) but ...

Tim Anderson @TheRegister wrote:

Version 248 of systemd, a widely used system and service manager for Linux, adds a feature called system extension images, designed to allow system files to be added, or appear to be added, even on read-only file systems.

https://www.theregister.com/2021/04/01/systemd_248/

For fuck's sake, does the shit never stop flowing?

Best,

A.

Offline

#2 2021-04-01 12:55:32

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: systemd's new feature (wtf?)

Over here it's 04/01 and people have been doing this at least as long as debian-live has been around. This "new" implementation sounds like it might be a useful addition for a couple of specific cases.

Offline

#3 2021-04-01 13:16:18

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: systemd's new feature (wtf?)

Hello:

fsmithred wrote:

Over here it's 04/01 ...

fsmithred wrote:

This "new" implementation sounds like it might be a useful addition ...

With the obvious proviso that your opinion with respect to this has much more weight that mine, I just see it as yet another one of systemd tentacles.
Reminds me so much of the MS registry.

Thanks for your input.

Best,

A.

Offline

#4 2021-04-01 13:53:17

yeti
Member
From: I'm not here: U R halucinating
Registered: 2017-02-23
Posts: 334  

Re: systemd's new feature (wtf?)

I'm waiting for systemE to get stable.


*๐š›๐š’๐š‹๐š‹๐š’๐š!*

Offline

#5 2021-04-01 14:04:27

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: systemd's new feature (wtf?)

Ive only just discovered "immutable operating systems" via fedora while i was browsing a reddit. Fedora/redhat silverblue i think this is more or less aimed at.

Offline

#6 2021-04-01 16:02:09

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: systemd's new feature (wtf?)

I actually thought this was an April Fool's joke but:

% systemd-sysext status
HIERARCHY EXTENSIONS SINCE
/opt      none       -    
/usr      none       -    
%

Anyway stateless systems are a good idea IMO. Feel free to throw stuff at me tongue


Brianna Ghey โ€” Rest In Power

Offline

#7 2021-04-01 16:41:59

steve_v
Member
Registered: 2018-01-11
Posts: 381  

Re: systemd's new feature (wtf?)

Altoid wrote:

For fuck's sake, does the shit never stop flowing?

Apparently not. At least not where corporate agendas are concerned, and shit always flows downhill.

fsmithred wrote:

This "new" implementation sounds like it might be a useful addition for a couple of specific cases.

By which we mean embedded systems integrators, which along with IBM, Microsoft, and the US military, is where the bulk of Redhat's funding is coming from at the moment.

dice wrote:

Ive only just discovered "immutable operating systems"

I was doing this sort of thing back in ~2000, when you could fit an entire GNU/Linux OS on a 1.44MB floppy disk. It's doesn't need to be complicated, it doesn't need containers, and it sure doesn't need systemd.
Of course you could do it with systemd + containers + whatever other bloated over-engineered garbage the shareholders are into at any given moment, but then you end up with something that's non-POSIX, non-portable, not even remotely Unix-like, and can't be reasoned about by a human sysadmin without 10 layers of abstraction and 30 management utilities... Not real surprising that's the approach the systemd devs are pushing, is it?

Then again. it could be a prank. If it is, it's a good one, because this is exactly the kind of "feature" I expect from the developers involved.

Last edited by steve_v (2021-04-01 16:43:23)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#8 2021-04-01 17:12:13

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: systemd's new feature (wtf?)

steve_v wrote:

it could be a prank

No, it's real. I'm using v248 of systemd in my Arch box.


Brianna Ghey โ€” Rest In Power

Offline

#9 2021-04-02 12:19:26

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: systemd's new feature (wtf?)

steve_v wrote:
dice wrote:

Ive only just discovered "immutable operating systems"

I was doing this sort of thing back in ~2000, when you could fit an entire GNU/Linux OS on a 1.44MB floppy disk. It's doesn't need to be complicated, it doesn't need containers, and it sure doesn't need systemd.
Of course you could do it with systemd + containers + whatever other bloated over-engineered garbage the shareholders are into at any given moment, but then you end up with something that's non-POSIX, non-portable, not even remotely Unix-like, and can't be reasoned about by a human sysadmin without 10 layers of abstraction and 30 management utilities... Not real surprising that's the approach the systemd devs are pushing, is it?

Then again. it could be a prank. If it is, it's a good one, because this is exactly the kind of "feature" I expect from the developers involved.

Right, back in 2000 i was working at dhl using wyse terminals.

Offline

#10 2021-04-02 16:10:54

Spock
Member
Registered: 2021-04-02
Posts: 37  

Re: systemd's new feature (wtf?)

Altoid wrote:

Hello:

a feature called system extension images, designed to allow system files to be added, or appear to be added, even on read-only file systems.

I read about this and, although the systemd people themselves say, "Don't think of this as a flatpack system orcontainer system"
I can't help thinking it is a container system that can be implemented on a users system against their wishes
a bit like how windows updates are forced on people
Have I got hold of the wrong end of the stick on this?
Am I wrong?

Offline

#11 2021-04-02 22:01:19

steve_v
Member
Registered: 2018-01-11
Posts: 381  

Re: systemd's new feature (wtf?)

dice wrote:

back in 2000 i was working at dhl using wyse terminals.

Back in 2000 I had rather more free time than I do now. wink I was also recovering from a very traumatic experience with RPM dependency hell and exploring a custom package management solution for LFS. Sadly that one was lost to the sands of time along with the hardware.

Spock wrote:

Am I wrong?

I doubt it. The truth will reveal itself soon enough, but it sure looks like a container system to me.

Last edited by steve_v (2021-04-02 22:26:04)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#12 2021-04-03 13:45:56

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: systemd's new feature (wtf?)

Spock wrote:

I can't help thinking it is a container system that can be implemented on a users system against their wishes
a bit like how windows updates are forced on people
Have I got hold of the wrong end of the stick on this?
Am I wrong?

It only allows for extensions to /usr & /opt (at the moment) so any "forced updates" could only be applied to those directories, which would limit them to themes, fonts & icon sets. Anyway the paradigm is intended to be used with immutable system images, which would preclude permanent upgrades.


Brianna Ghey โ€” Rest In Power

Offline

#13 2021-04-03 15:48:44

Spock
Member
Registered: 2021-04-02
Posts: 37  

Re: systemd's new feature (wtf?)

Head_on_a_Stick wrote:

It only allows for extensions to /usr & /opt (at the moment) so any "forced updates" could only be applied to those directories, which would limit them to themes, fonts & icon sets. Anyway the paradigm is intended to be used with immutable system images, which would preclude permanent upgrades.

Thanks for the clarification
Although, as Steve_v implies, that could all change, right?

Offline

#14 2021-04-03 18:41:42

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: systemd's new feature (wtf?)

Well the systemd developers certainly aren't shy about adding new features (although this pales in comparison to the kernel devs) but they also like to keep systemd as modular as possible so if they wanted a service to control updates then I would expect them to announce systemd-updated. The systemd-sysext service is aimed towards boxen that are specifically designed not to be updated at all in the conventional sense.

And as with almost all systemd features it can be easily disabled and prevented from ever being used with

# systemctl mask systemd-sysext.service

Or by using this command on the system image so it isn't ever loaded at all:

# ln -s /dev/null /etc/systemd/system/systemd-sysext.service

EDIT: from my Arch system:

% apropos systemd|grep update
systemd-system-update-generator (8) - Generator for redirecting boot to offline update mode
systemd-update-done (8) - Mark /etc/ and /var/ fully updated
systemd-update-done.service (8) - Mark /etc/ and /var/ fully updated
systemd-update-utmp (8) - Write audit and utmp updates at bootup, runlevel changes and shutdown
systemd-update-utmp-runlevel.service (8) - Write audit and utmp updates at bootup, runlevel changes and shutdown
systemd-update-utmp.service (8) - Write audit and utmp updates at bootup, runlevel changes and shutdown
systemd.offline-updates (7) - Implementation of offline updates in systemd
%

lol

Last edited by Head_on_a_Stick (2021-04-03 18:53:32)


Brianna Ghey โ€” Rest In Power

Offline

Board footer