Nitrux / openrc-config

OpenRC configuration.
1 stars 0 forks source link

Add proper OpenRC init scripts #1

Open UriHerrera opened 4 years ago

UriHerrera commented 4 years ago

Currently, for OpenRC images, we are utilizing init scripts provided by the package initscripts. However, these scripts are SysV init scripts, which are compatible with OpenRC.

This package should provide OpenRC init scripts so that we can replace the files in initscripts.

Note: These init scripts should be provided upstream in the package openrc but the upstream package does not include them and what it does is simply create symlinks to existing files (that don't exist too).

ghost commented 3 years ago

I have experience with several init systems from working on various Linux distributions in the past. What exactly do you require for this bounty to be considered complete?

UriHerrera commented 3 years ago

I have experience with several init systems from working on various Linux distributions in the past. What exactly do you require for this bounty to be considered complete?

Thanks for taking a look at the issue. I'd like that this package provided service scripts specifically made for OpenRC for these services.

This package is currently just copying the files in /etc/init.d to each runlevel. These scripts are provided by upstream (Debian), but they're SysV scripts.

Services in /etc/runlevels/default/:
acpi-support,acpid,avahi-daemon,bluetooth,bootlogs,console-setup.sh,cron,cups,dbus,dhcpcd,dnsmasq,elogind,haveged,irqbalance,network-manager,plymouth,preload,pulseaudio-enable-autospawn,rc.local,rmnologin,rng-tools,rsync,rsyslog,sddm,uuidd 

Services in /etc/runlevels/nonetwork/:
local

Services in /etc/runlevels/off:
savecache,sendsigs,umountfs,umountnfs.sh,umountroot

Services in /etc/runlevels/recovery:
bootlogs,killprocs,single

Services in /etc/runlevels/sysinit:
alsa-utils,apparmor,bootmisc.sh,brightness,checkfs.sh,checkroot-bootclean.sh,checkroot.sh,eudev,hostname.sh,hwclock.sh,keyboard-setup.sh,kmod,mount-configfs,mountall-bootclean.sh,mountall.sh,mountdevsubfs.sh,mountkernfs.sh,mountnfs.sh,networking,plymouth-log,procps,selinux-autorelabel,ufw,urandom,x11-common
K0D1NGK1DD commented 1 year ago

Are you're seeking someone to convert the SysV scripts into proper OpenRC scripts?

UriHerrera commented 1 year ago

@K0D1NGK1DD Yes.

kodingfinesse commented 1 year ago

@UriHerrera I'll try and take a stab at it and see what I can come up with.