MX multi-init setup --> Arch Linux

For interesting topics. But remember this is a Linux Forum. Do not post offensive topics that are meant to cause trouble with other members or are derogatory towards people of different genders, race, color, minors (this includes nudity and sex), politics or religion. Let's try to keep peace among the community and for visitors.

No spam on this or any other forums please! If you post advertisements on these forums, your account may be deleted.

Do not copy and paste entire or even up to half of someone else's words or articles into posts. Post only a few sentences or a paragraph and make sure to include a link back to original words or article. Otherwise it's copyright infringement.

You can talk about other distros here, but no MX bashing. You can email the developers of MX if you just want to say you dislike or hate MX.
Message
Author
User avatar
rasat
Posts: 653
Joined: Tue Dec 19, 2017 12:19 pm

MX multi-init setup --> Arch Linux

#1 Post by rasat »

On Arch Linux there is a discussion to have a multi-init setup with systemd. I introduced MX which coexist with systemd and sysVinit through systemd-shim. Also posted a sample how it works. Lone_Wolf who started this topic, is asking:
Does anyone know whether MX Linux has adopted systemd-shim project and will act as upstream for it ?
Are the sources for the MX linux systemd-shim packages published somewhere ?
https://bbs.archlinux.org/viewtopic.php ... 8#p1875978

User avatar
anticapitalista
Developer
Posts: 4315
Joined: Sat Jul 15, 2006 10:40 am

Re: MX multi-init setup --> Arch Linux

#2 Post by anticapitalista »

anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
dolphin_oracle
Developer
Posts: 22801
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX multi-init setup --> Arch Linux

#3 Post by dolphin_oracle »

I would be very happy to get more eyes on that system-shim package.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
asqwerth
Developer
Posts: 8040
Joined: Sun May 27, 2007 5:37 am

Re: MX multi-init setup --> Arch Linux

#4 Post by asqwerth »

I had no idea MX was using a modified systemd.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: MX multi-init setup --> Arch Linux

#5 Post by Head_on_a_Stick »

asqwerth wrote: Thu Dec 05, 2019 11:19 pm I had no idea MX was using a modified systemd.
The MX version of systemd is also old and lacks this fix: https://security-tracker.debian.org/tra ... 2019-15718

A few other things have been corrected in the version bump since MX added the epoch to their package: https://metadata.ftp-master.debian.org/ ... _changelog
mod note: Signature removed, please read the forum rules

User avatar
dolphin_oracle
Developer
Posts: 22801
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX multi-init setup --> Arch Linux

#6 Post by dolphin_oracle »

asqwerth wrote: Thu Dec 05, 2019 11:19 pm I had no idea MX was using a modified systemd.
Yep. Patches are required to make it work with the shim package.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
rasat
Posts: 653
Joined: Tue Dec 19, 2017 12:19 pm

Re: MX multi-init setup --> Arch Linux

#7 Post by rasat »

Not clear how to build.... "ln -s debian/patches" is in /systemd-shim-master not /systemd-shim..... systemd-shim.git and systemd-shim-master.zip.
https://github.com/MX-Linux/systemd-shim

User avatar
Stevo
Developer
Posts: 14892
Joined: Fri Dec 15, 2006 7:07 pm

Re: MX multi-init setup --> Arch Linux

#8 Post by Stevo »

Head_on_a_Stick wrote: Fri Dec 06, 2019 12:49 am
asqwerth wrote: Thu Dec 05, 2019 11:19 pm I had no idea MX was using a modified systemd.
The MX version of systemd is also old and lacks this fix: https://security-tracker.debian.org/tra ... 2019-15718

A few other things have been corrected in the version bump since MX added the epoch to their package: https://metadata.ftp-master.debian.org/ ... _changelog
Hopefully, I can just add the new Debian security patches to the MX version to make them equivalent. :crossfingers: :crossfingers:

User avatar
Stevo
Developer
Posts: 14892
Joined: Fri Dec 15, 2006 7:07 pm

Re: MX multi-init setup --> Arch Linux

#9 Post by Stevo »

Does anyone know exactly what four patches are meant here for the MX systemd?
Propped forward 4 patches from old systemd that were removed when systemd-shim was removed
I'm guessing it's these four, and commenting them as such in the debian/patches/series file:

Code: Select all

# Following patches restore compatibility with systemd-shim as on MX

debian/Make-logind-hostnamed-localed-timedated-D-Bus-activa.patch
debian/Start-logind-on-demand-via-libpam-systemd.patch
debian/Make-sd_login_monitor_new-work-for-logind-without-sy.patch
debian/Restore-old-user-runtime-path-functionality.patch
debian/don-t-try-to-start-autovt-units-when-not-running-wit.patch
But I end up with five, not four... :frown:, and the debian file in github has no MX stanza in the changelog file at all. :frown: :frown:

Let me see if the version in our repo has any hints.

anixer

Re: MX multi-init setup --> Arch Linux

#10 Post by anixer »

Nevermind ... :D

Post Reply

Return to “General”