systemd

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

Re: systemd

Postby ezyclie » Mon Sep 10, 2012 12:50 pm

It works for Raspberry Pi but not for Cubox. It wont boot with this boot.scr
$this->bbcode_second_pass_code('', '
setenv bootargs 'console=ttyS0,115200n8 vmalloc=384M root=/dev/mmcblk0p2 video=dovefb:lcd0:1920x1080-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0'
ext2load mmc 0:1 0x00200000 /boot/uImage
bootm
init=/bin/systemd
')
OR

$this->bbcode_second_pass_code('', '
setenv bootargs 'console=ttyS0,115200n8 vmalloc=384M root=/dev/mmcblk0p2 video=dovefb:lcd0:1920x1080-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0 init=/bin/systemd'
ext2load mmc 0:1 0x00200000 /boot/uImage
bootm
')
$this->bbcode_second_pass_code('', 'mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n 'Boot setup script for SD' -d bootcmd boot.scr')
ezyclie
 
Posts: 23
Joined: Tue Jul 24, 2012 2:29 pm

Re: systemd

Postby pepedog » Mon Sep 10, 2012 2:04 pm

I just converted my CuBox.
You will need this for serial to work
$this->bbcode_second_pass_code('', 'ln -s /lib/systemd/systemd/serial-getty@.service /etc/systemd/system/getty.target.wants/serial-getty@ttyS0.service')
This for network
$this->bbcode_second_pass_code('', 'systemctl start dhcpcd@eth0.servic')
$this->bbcode_second_pass_code('', 'cat /boot.txt
echo ======== Setting bootargs ========
setenv bootargs 'console=ttyS0,115200n8 console=tty1,115200n8 init=/bin/systemd root=/dev/mmcblk0p2 rw video=dovefb:lcd0:1280x720-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0 usb0Mode=host usb1Mode=host'
echo ======== Loading kernel ========
ext2load mmc 0:1 0x00200000 /boot/uImage
echo ======== Booting kernel ========
bootm')
$this->bbcode_second_pass_code('', 'mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Cubox mmc systemd boot script" -d boot.txt /boot/boot.scr')
Check /boot.scr doesn't exist
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: systemd

Postby ezyclie » Mon Sep 10, 2012 2:49 pm

Thanks it works, but i have an issue with vsftpd daemon

$this->bbcode_second_pass_code('', '[root@cubox ~]# systemctl list-units
.
.
.
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
vsftpd.service loaded failed failed vsftpd daemon
dbus.socket loaded active running D-Bus System Message Bus Socket
.
.
.
[root@cubox ~]# systemctl status vsftpd.service
vsftpd.service - vsftpd daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled)
Active: failed (Result: exit-code) since Mon, 10 Sep 2012 09:51:22 -0500; 5min ago
Process: 183 ExecStart=/usr/sbin/vsftpd -olisten_ipv6=yes (code=exited, status=2)
CGroup: name=systemd:/system/vsftpd.service

[root@cubox ~]# grep listen_ipv6 /etc/vsftpd.conf
# with the listen_ipv6 directive.
#listen_ipv6=YES
')
ezyclie
 
Posts: 23
Joined: Tue Jul 24, 2012 2:29 pm

Re: systemd

Postby ezyclie » Mon Sep 10, 2012 3:00 pm

The vsftpd issue is solved by changing

$this->bbcode_second_pass_code('', '#listen_ipv6=YES')
to

$this->bbcode_second_pass_code('', 'listen_ipv6=NO')
ezyclie
 
Posts: 23
Joined: Tue Jul 24, 2012 2:29 pm

Re: systemd

Postby krovetz » Wed Sep 12, 2012 11:50 pm

I think I'll wait until the installers are updated to be pure systemd, and then simply reinstall.

I wonder if this is scheduled for any time soon.
krovetz
 
Posts: 78
Joined: Tue Jun 26, 2012 11:03 pm

Re: systemd

Postby pepedog » Thu Sep 13, 2012 5:10 pm

I have reverted my cubox back to rc.conf
Have to investigate what's wrong, modules can't be found, no connection to dbus, halt and reboot don't complete, etc
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: systemd

Postby slashproc » Sun Nov 04, 2012 6:04 pm

$this->bbcode_second_pass_quote('pepedog', 'I') have reverted my cubox back to rc.conf
Have to investigate what's wrong, modules can't be found, no connection to dbus, halt and reboot don't complete, etc


Humm. Did that situation improve? Since Archlinux (non ARM) has migrated to systemd I would like to migrate my cubox, too. It would simplify things to have both configurations similar.
slashproc
 
Posts: 7
Joined: Sat Jul 21, 2012 2:00 am

Re: systemd

Postby pepedog » Sun Nov 04, 2012 6:19 pm

Today might be the day. Just website edit for install, then a symlink change
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Previous

Return to Packages

Who is online

Users browsing this forum: No registered users and 53 guests