systemd

Problems with packages? Post here, using [tags] of the package name.

systemd

Postby cirrus » Fri Aug 24, 2012 4:31 pm

Hi
As you probably aware arch is phazing out rc.conf and initscripts to be replaced by systemd in the coming weeks / months , i recently took the plunge and went native systemd on 2 arch 64 bit installs i have at home , i wrote a guide to help others make the transition , ( which worked flawless on both my installs and at least 6 other folks i know of who followed my guide using x86_64 machines) i was asked by a fellow archlinuxarm forum user to test my method on the RPI ArchArm , i duly obliged and im sorry to say it didnt work , i had sysctl I/O errors and could only boot to a shell with no jobs so couldnt even login or use pacman , so this is just a heads up to ArchArm users , if anyone has successfuly went native systemd on ArchArm id be interested to know how they accomplished it.
regards
cirrus
 
Posts: 7
Joined: Wed Aug 22, 2012 8:50 pm

Re: systemd

Postby ebbix » Sun Sep 02, 2012 11:21 am

Well, yesterday pacman -Syu asked me whether to replace libsystemd with systemd (or something like that) on my GoFlex Net.
Even though I decided not to switch over to systemd some weeks ago, I agreed. I then followed the Arch wiki entry for systemd, and it worked.
I don't know why it doesn't work for you, but systemd doesn't seem to cause problems on GoFlex devices.
ebbix
 
Posts: 48
Joined: Fri Aug 10, 2012 1:55 pm

Re: systemd

Postby pepedog » Sun Sep 02, 2012 8:02 pm

I am going to miss the charm of rc.conf
The main reason I was drawn to arch
I updated my cubox, systemd installed, rebooted with no intervention just fine
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: systemd

Postby ebbix » Sun Sep 02, 2012 8:24 pm

$this->bbcode_second_pass_quote('pepedog', 'I') am going to miss the charm of rc.conf

I agree. It was so damn easy to configure daemons.
$this->bbcode_second_pass_quote('pepedog', 'I') updated my cubox, systemd installed, rebooted with no intervention just fine

Well, it wasn't that easy for me, I had to enable nearly all service files manually (and even write new ones for cherokee server and pyLoad), but now it works just fine :D
ebbix
 
Posts: 48
Joined: Fri Aug 10, 2012 1:55 pm

Re: systemd

Postby replabrobin » Mon Sep 03, 2012 6:01 pm

I too have updated and see all the new arch sstemd related stuff coming in, but I'm still using the old style init. The official arch wiki says to boot first with an init=/bin/systemd kernel parameter and then install the systemd-sysvcompat package. Is that feasible with archlinuxarm?
replabrobin
 
Posts: 110
Joined: Tue Nov 30, 2010 11:18 am

Re: systemd

Postby pepedog » Mon Sep 03, 2012 6:25 pm

systemd-sysvcompat is built, why not try?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: systemd

Postby replabrobin » Mon Sep 03, 2012 8:00 pm

I think the arhlinux wiki method allows to shutdown with the old initscripts in place so disks get shutdown properly etc etc.

I would do that, but I don't know how to pass an argument to the kernel at boot time with uboot. I guess the risk is small though and I can always simulate the shutdown process by hand. I have some old rc.sysinit hooks which I will have to rewrite though; systemd is a big curve for an old fashioned unixer like me.
replabrobin
 
Posts: 110
Joined: Tue Nov 30, 2010 11:18 am

Re: systemd

Postby pepedog » Tue Sep 04, 2012 3:38 pm

I just made a cubox rootfs pure systemd, comented out DAEMONS line in rc.conf
So fast booting and halting
Welcome to Arch Linux ARM!

Expecting device dev-ttyS0.device...
[ OK ] Listening on Syslog Socket.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Swap.
[ OK ] Listening on Journal Socket.
Starting udev Kernel Device Manager...
Mounting Debug File System...
Starting udev Coldplug all Devices...
Starting Setup Virtual Console...
Starting Apply Kernel Variables...
Mounting POSIX Message Queue File System...
Starting Remount Root and Kernel File Systems...
Starting Journal Service...
[ OK ] Started Journal Service.
[ OK ] Reached target Syslog.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Apply Kernel Variables.
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Reached target Local File Systems (Pre).
Mounting /tmp...
Starting Load Random Seed...
[ OK ] Mounted /tmp.
[ OK ] Reached target Local File Systems.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Recreate Volatile Files and Directories...
[ OK ] Started Load Random Seed.
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
[ OK ] Started Recreate Volatile Files and Directories.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Setup Virtual Console.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting dhcpcd on eth0...
Starting OpenSSH Daemon...
[ OK ] Started OpenSSH Daemon.
Starting Login Service...
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting Permit User Sessions...
Starting System Logger Daemon...
[ OK ] Started System Logger Daemon.
[ OK ] Started Permit User Sessions.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
[ OK ] Started Login Service.
[ OK ] Reached target Sound Card.
[ OK ] Found device /dev/ttyS0.
Starting Serial Getty on ttyS0...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[ OK ] Started dhcpcd on eth0.
[ OK ] Reached target Network.
Starting Network Time Service...
[ OK ] Started Network Time Service.
[ OK ] Reached target Multi-User.
[ OK ] Reached target Graphical Interface.

Arch Linux 3.5.3-1-ARCH+ (ttyS0)
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: systemd

Postby replabrobin » Tue Sep 04, 2012 7:48 pm

Well after a couple of missteps I have pure systemd working OK. I copied the apache2 service from [urlhttps://wiki.archlinux.org/index.php/Systemd/Services#apache2[/url], but I'm not exactly sure how it relates to the systemd.special builtin http-daemon.target.
replabrobin
 
Posts: 110
Joined: Tue Nov 30, 2010 11:18 am

Re: systemd

Postby pepedog » Tue Sep 04, 2012 8:39 pm

I am really surprised apache isn't done.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 5 guests