You are not logged in.

#1 2012-12-05 22:25:27

theking2
Member
Registered: 2009-03-04
Posts: 317

[SOLVED] initscripts

Hi!

On latest news I read

End of initscripts support 

2012-11-04


As systemd is now the default init system, Arch Linux is receiving minimal testing on initscripts systems. Due to a lack of resources and interest, we are unlikely to work on fixing initscripts-specific bugs, and may close them as WONTFIX.

in https://wiki.archlinux.org/index.php/Systemctl I read

It is highly recommended to switch to the new initscripts configuration system described in the rc.conf article. Once you have this configuration established, you will have done most of the work needed to make the switch to systemd. 

so what is the recommendation?

Last edited by theking2 (2012-12-12 09:42:57)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer, Samba, MiniDLNA, TOR

Offline

#2 2012-12-05 22:28:14

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,676

Re: [SOLVED] initscripts

Basically you should switch to systemd as all support for the legacy configurations will be dropped soon.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-12-05 22:30:02

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,006
Website

Re: [SOLVED] initscripts

The recommendation is to follow the beginners guide and mark this topic as solved. The switch to systemd is only affecting old installations, not new installations with the current iso. New installations use systemd by default.

Last edited by teateawhy (2012-12-05 22:31:01)

Offline

#4 2012-12-05 22:34:41

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] initscripts

The wiki is slightly misleading: "the new initscripts configuration systm" == "the systemd configuration system" (i.e., both initscripts and systemd use the same configuration files).

Offline

#5 2012-12-05 23:11:42

theking2
Member
Registered: 2009-03-04
Posts: 317

Re: [SOLVED] initscripts

tomegun wrote:

The wiki is slightly misleading: "the new initscripts configuration systm" == "the systemd configuration system" (i.e., both initscripts and systemd use the same configuration files).

Thanks tomegun. I understand  now that what is meant by the new initscripts configurariont system is the systemd configuration system. It would indeed be clearer to not mention initscripts in the recommendations as it apparently is not recommended anymore. :-)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer, Samba, MiniDLNA, TOR

Offline

#6 2012-12-05 23:13:51

theking2
Member
Registered: 2009-03-04
Posts: 317

Re: [SOLVED] initscripts

teateawhy wrote:

The recommendation is to follow the beginners guide and mark this topic as solved. The switch to systemd is only affecting old installations, not new installations with the current iso. New installations use systemd by default.

A link to "beginners guide" would be helpful.

The system is about 5 years old. So I probably am a beginner but my system is not.

Is a smooth transition possible or should I forget about it and just do a fresh install?


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer, Samba, MiniDLNA, TOR

Offline

#7 2012-12-05 23:18:19

theking2
Member
Registered: 2009-03-04
Posts: 317

Re: [SOLVED] initscripts

teateawhy wrote:

The recommendation is to follow the beginners guide and mark this topic as solved. The switch to systemd is only affecting old installations, not new installations with the current iso. New installations use systemd by default.

Btw I'm close reading the [https://wiki.archlinux.org/index.php/Sy … _switching] and got as far as the LVM section. As all my NAS data is on a LVM the message I got in [https://bbs.archlinux.org/viewtopic.php?id=154178] is not very promising.


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer, Samba, MiniDLNA, TOR

Offline

#8 2012-12-06 02:20:32

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,661

Re: [SOLVED] initscripts

When you say it is 5 years old, you don't mean that you have not updated an installation of Arch in 5 years, right? You just mean that's when you installed it?

A smooth transition is completely possible - just follow the wiki on systemd.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#9 2012-12-11 18:41:26

theking2
Member
Registered: 2009-03-04
Posts: 317

Re: [SOLVED] initscripts

cfr wrote:

When you say it is 5 years old, you don't mean that you have not updated an installation of Arch in 5 years, right? You just mean that's when you installed it?

A smooth transition is completely possible - just follow the wiki on systemd.

No, no no. CFR I do a weekly sudo pacman. -Syu so it is rather up to date.


I've converted all the initscripts long time ago so those shouldn't be a problem. Unfortunately the system is DNS cache DHCP server and media, file and backup server. So every reboot is a bit a nuisance.

A list of a which daemons are supported would be helpful.

jk


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer, Samba, MiniDLNA, TOR

Offline

#10 2012-12-11 19:00:53

chris_l
Member
Registered: 2010-12-01
Posts: 387

Re: [SOLVED] initscripts

theking2 wrote:

A list of a which daemons are supported would be helpful.

You mean this?
https://wiki.archlinux.org/index.php/Daemons_List


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#11 2012-12-11 19:04:52

theking2
Member
Registered: 2009-03-04
Posts: 317

Re: [SOLVED] initscripts

Ok. I made a small but vital addition to the systemd wiki. In the emergency console I had to add systemctl enable lvm to allow for the lvm devices to be mounted.. It seems that all daemons could be loaded, after some coercion with systemctl enable

Only one is having a problem: minidlna.

So yes, after carefully executing the steps in the systemd wiki (and ignoring the lvm section) A transition to a systemd/initscript boot is possible.


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer, Samba, MiniDLNA, TOR

Offline

#12 2012-12-12 00:05:52

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,661

Re: [SOLVED] initscripts

Why "coercion with systemctl enable"? Is that the way it is usually done?!

For LVM, I think a lot depends on how you are using LVM and when you need to mount that stuff. I have hooks in mkinitcpio.conf as I need it early and I didn't need to do anything to systemd to get it to work. If you need it later in the boot process, I think that's when you need the systemd services enabled. (My machine won't even get to systemd without LVM...)

Last edited by cfr (2012-12-12 00:09:34)


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB