[SOLVED] Go-Flex Home migrating to systemd

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[SOLVED] Go-Flex Home migrating to systemd

Postby dannyp » Sat Feb 02, 2013 6:16 pm

Are there any instructions on how to achieve this??
Last edited by dannyp on Wed Feb 20, 2013 1:51 pm, edited 1 time in total.
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: Go-Flex Home migrating to systemd

Postby Highvoltag3 » Sun Feb 03, 2013 1:19 am

Not really, at least not that I know of.

And from my experience just follow this: http://archlinuxarm.org/support/reinstallation

And from my experience the process is not quite smooth, just DO NOT reboot once you get it working (again my experience).

Good luck, this is my 4th or 5th re-install after I screwed my GoFlex Net (that was running and maintained for about 2 years when I decided to update and move completely to systemd).
Highvoltag3
 
Posts: 45
Joined: Sat Mar 19, 2011 10:28 am

Re: Go-Flex Home migrating to systemd

Postby moonman » Sun Feb 03, 2013 5:58 am

The wiki is here: https://wiki.archlinux.org/index.php/Systemd

However it requires uBoot modifications. I think you could install systemd and systemd-sysvcompat and would do it, then you can start getting rid of rc.conf by enabling systemd services and removing them from daemons. But if you reboot and can't ssh in don't blame me :roll: then you will have to do a reinstall.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Go-Flex Home migrating to systemd

Postby pepedog » Sun Feb 03, 2013 9:58 am

You don't have to mess with uboot. Default it's looking for /sbin/init
$this->bbcode_second_pass_code('', '# pacman -Qo /sbin/init
/sbin/init is owned by systemd-sysvcompat 197-4
# ls -l /sbin/init
lrwxrwxrwx 1 root root 26 Jan 16 18:38 /sbin/init -> ../usr/lib/systemd/systemd')
initscripts is what's keeping the rc system running, and system enable won't work until reboot.
If you are worried you could get the essentials of systemd enabled before reboot
$this->bbcode_second_pass_code('', 'ln -s /usr/lib/systemd/system/sshd.service /etc/systemd/system/multi-user.target.wants/sshd.service
ln -s /usr/lib/systemd/system/dhcpcd@.service /etc/systemd/system/multi-user.target.wants/dhcpcd@eth0.service')
No one is going to give a cast iron promise
Other thread viewtopic.php?f=18&t=4961
Remember not for OXNAS Pro/Video/V3/B0x
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Go-Flex Home migrating to systemd

Postby WarheadsSE » Sun Feb 03, 2013 2:32 pm

$this->bbcode_second_pass_quote('pepedog', '
')Remember not for OXNAS Pro/Video/V3/B0x
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Go-Flex Home migrating to systemd

Postby dannyp » Mon Feb 04, 2013 6:52 pm

I have to say..... it was pretty smooth. I had no issues what so ever :D

Did
$this->bbcode_second_pass_code('', 'pacman -Sy systemd-sysvcompat')
then
$this->bbcode_second_pass_code('', '# pacman -Qo /sbin/init
/sbin/init is owned by systemd-sysvcompat 197-4
# ls -l /sbin/init
lrwxrwxrwx 1 root root 26 Jan 16 18:38 /sbin/init -> ../usr/lib/systemd/systemd')
then
$this->bbcode_second_pass_code('', 'systemctl enable dhcpcd@eth0.service')
then
$this->bbcode_second_pass_code('', 'systemctl enable sshd.servive')
then
$this->bbcode_second_pass_code('', 'systemctl enable smbd.service')
then
$this->bbcode_second_pass_code('', 'systemctl enable mysqld.service')
did a reboot and all works fine.

As always, thanks to all that had an input, what a great community of people.

no stress :D
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: Go-Flex Home migrating to systemd

Postby pepedog » Mon Feb 04, 2013 8:26 pm

Check the DAEMONS line in /etc/rc.conf and make sure everything is systemctl enabled.
Now get rid of rc by removing initscripts
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Go-Flex Home migrating to systemd

Postby dannyp » Mon Feb 04, 2013 9:32 pm

$this->bbcode_second_pass_quote('pepedog', 'C')heck the DAEMONS line in /etc/rc.conf and make sure everything is systemctl enabled.
Now get rid of rc by removing initscripts


What do i need to do to accomplish this??
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: Go-Flex Home migrating to systemd

Postby pepedog » Mon Feb 04, 2013 9:52 pm

cat /etc/rc.conf
Take a note of things in DAEMONS line
eg if openntpd is there then-
systemctl enable openntpd
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Go-Flex Home migrating to systemd

Postby WarheadsSE » Mon Feb 04, 2013 11:07 pm

$this->bbcode_second_pass_code('', 'grep DAEMONS /etc/rc.conf')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests