The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » /lib/systemd/ folder? and /etc/systemd/ folder? » 2018-04-04 18:45:27

fsmithred wrote:

Does /lib/sysvinit/init even exist on your setup?

Yes it exists.

Edit:
Just because of curiosity I checked an other devuan computer (desktop) here. Strange thing is that there the /lib/sysvinit/ does NOT exist.
The only difference with my laptop is that I replaced the kernel for libre-kernel 4.16 and installed openbox as the windowmanager.

So on my laptop (devuan core, no X) it does exist, not on my desktop (devuan core + librekernel + Xserver + openbox) ....

#2 Re: Other Issues » /lib/systemd/ folder? and /etc/systemd/ folder? » 2018-04-04 11:47:14

Thanks fsmithred,

I Installed the Devuan net-install, without X.

Here the menuentry for each in my /boot/grub/grub.cfg:

}
submenu 'Advanced options for Devuan GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c562ab2a-f161-4647-b133-075f03f08ca4' {
	menuentry 'Devuan GNU/Linux, with Linux 3.16.0-5-amd64' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-5-amd64-advanced-c562ab2a-f161-4647-b133-075f03f08ca4' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bfd5444c-4928-4ba9-9b71-6e9ae93a34df
		else
		  search --no-floppy --fs-uuid --set=root bfd5444c-4928-4ba9-9b71-6e9ae93a34df
		fi
		echo	'Loading Linux 3.16.0-5-amd64 ...'
		linux	/vmlinuz-3.16.0-5-amd64 root=/dev/mapper/debinox--vg-root ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.16.0-5-amd64
	}
	menuentry 'Devuan GNU/Linux, with Linux 3.16.0-5-amd64 (sysvinit)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-5-amd64-init-sysvinit-c562ab2a-f161-4647-b133-075f03f08ca4' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bfd5444c-4928-4ba9-9b71-6e9ae93a34df
		else
		  search --no-floppy --fs-uuid --set=root bfd5444c-4928-4ba9-9b71-6e9ae93a34df
		fi
		echo	'Loading Linux 3.16.0-5-amd64 ...'
		linux	/vmlinuz-3.16.0-5-amd64 root=/dev/mapper/debinox--vg-root ro  quiet init=/lib/sysvinit/init
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.16.0-5-amd64

Thanks for the explanation. There is no real problem here, but I am just curious and want to know what is happening  "under the hood'.

#3 Re: Other Issues » /lib/systemd/ folder? and /etc/systemd/ folder? » 2018-04-04 10:41:23

Thank you for your quick reply! That answers my first question about the systemd files and folders.

What about the two different kernels?
In Grub: 
- Devuan GNU/Linux, with Linux 3.16.0-5-amd64
- Devuan GNU/Linux, with Linux 3.16.0-5-amd64 (sysvinit)

What is the difference?

#4 Other Issues » /lib/systemd/ folder? and /etc/systemd/ folder? » 2018-04-04 09:36:06

Ducas
Replies: 6

Hello,

I just installed Devuan Jessie.

I found a systemd-folder in /lib/ and also in /etc/
What is the purpose of these folders in a non-systemd distro?

In Grub I found two 3.16 kernels. One has a (SysV) behind the kernel name. What is the difference?
Does the other use systemd?

Thanks in advance.

Board footer

Forum Software