User:Sertonix/Freedom of choice: Difference between revisions
(add note about dinit shutdown commands) |
(a few updates) |
||
| Line 3: | Line 3: | ||
== Bootloaders == | == Bootloaders == | ||
* See: [[Bootloaders]] | * See: [[Bootloaders]] | ||
* Not supported: <code>systemd-boot</code> ([https:// | * Not supported: <code>systemd-boot</code> ([https://pkgs.postmarketos.org/packages?name=systemd-boot PostmarketOS does]) | ||
== Kernel == | == Kernel == | ||
| Line 52: | Line 52: | ||
| {{Pkg|dinit}} || style="background:orange" | In testing || Shutdown commands are prefixed with {{ic|dinit-}}. eg {{ic|dinit-reboot}} | | {{Pkg|dinit}} || style="background:orange" | In testing || Shutdown commands are prefixed with {{ic|dinit-}}. eg {{ic|dinit-reboot}} | ||
|- | |- | ||
| {{Pkg|s6-linux-init}} || style="background:orange" | Works || | | {{Pkg|s6-linux-init}} || style="background:orange" | Works || Requires manually running {{ic|s6-linux-init-maker}} | ||
|- | |- | ||
| {{Pkg|dumb-init}} || style="background:silver" | Needs testing || For containers | | {{Pkg|dumb-init}} || style="background:silver" | Needs testing || For containers | ||
| Line 64: | Line 64: | ||
| [https://core.suckless.org/sinit/ sinit] || style="background:red" | None || | | [https://core.suckless.org/sinit/ sinit] || style="background:red" | None || | ||
|- | |- | ||
| | | systemd || style="background:red" | None || Supported by postmarketOS | ||
|- | |- | ||
| | | custom || style="background:lime" | Full || For example in docker containers | ||
|} | |} | ||
* See also: [https://wiki.gentoo.org/wiki/Init_system Gentoo Wiki] | * See also: [https://wiki.gentoo.org/wiki/Init_system Gentoo Wiki] | ||
| Line 81: | Line 81: | ||
| {{Pkg|dinit}} || style="background:orange" | In testing || {{Pkg|dinit-alpine}} includes service files | | {{Pkg|dinit}} || style="background:orange" | In testing || {{Pkg|dinit-alpine}} includes service files | ||
|- | |- | ||
| {{Pkg|s6-rc}} || style="background:orange" | Works || Not integrated | | {{Pkg|s6-rc}} || style="background:orange" | Works || Not integrated. For containers there is {{Pkg|s6-overlay}} | ||
|- | |- | ||
| {{Pkg|runit}} || style="background:orange" | As OpenRC service || | | {{Pkg|runit}} || style="background:orange" | As OpenRC service || | ||
| Line 97: | Line 97: | ||
| systemd || style="background:red" | None || Supported by postmarketOS | | systemd || style="background:red" | None || Supported by postmarketOS | ||
|- | |- | ||
| without || style="background: | | without || style="background:lime" | Full || Requires to replace {{Pkg|alpine-base}} with custom set of packages (See {{Issue|71686}}) | ||
|} | |} | ||
* See also: [https://wiki.gentoo.org/wiki/Init_system Gentoo Wiki] | * See also: [https://wiki.gentoo.org/wiki/Init_system Gentoo Wiki] | ||
| Line 235: | Line 235: | ||
| {{Pkg|busybox}} || style="background:lime" | Full || Dependency of {{pkg|alpine-base}} | | {{Pkg|busybox}} || style="background:lime" | Full || Dependency of {{pkg|alpine-base}} | ||
|- | |- | ||
| {{Pkg|busybox-extras}} || style="background:lime" | Full || Some commands that are missing in the busybox package | | {{Pkg|busybox-extras}} || style="background:lime" | Full || Some commands that are missing in the main {{Pkg|busybox}} package | ||
|- | |- | ||
| {{Pkg|util-linux}} || style="background:lime" | Full || | | {{Pkg|util-linux}} || style="background:lime" | Full || | ||
| Line 265: | Line 265: | ||
| {{Pkg|bash}} || style="background:lime" | Full || | | {{Pkg|bash}} || style="background:lime" | Full || | ||
|- | |- | ||
| {{Pkg|dash}} || style="background:lime" | Full || | | {{Pkg|dash}} || style="background:lime" | Full || When used as /bin/sh this may cause breakage. | ||
|- | |- | ||
| {{Pkg|yash}} || style="background:lime" | Full || | | {{Pkg|yash}} || style="background:lime" | Full || | ||
| Line 284: | Line 284: | ||
! Name !! Support !! Notes | ! Name !! Support !! Notes | ||
|- | |- | ||
| su from {{Pkg|busybox-suid}} || style="background:lime" | Full || default, can't be removed by default ({{issue|11730}}) | | {{ic|su}} from {{Pkg|busybox-suid}} || style="background:lime" | Full || default, can't be removed by default ({{issue|11730}}) | ||
|- | |- | ||
| su from {{Pkg|shadow-login}} || style="background:lime" | Full || | | {{ic|su}} from {{Pkg|shadow-login}} || style="background:lime" | Full || | ||
|- | |- | ||
| su from {{Pkg|util-linux-login}} || style="background:lime" | Full || | | {{ic|su}} from {{Pkg|util-linux-login}} || style="background:lime" | Full || | ||
|- | |- | ||
| {{Pkg|sudo}} || style="background:lime" | Full || | | {{Pkg|sudo}} || style="background:lime" | Full || | ||
| Line 296: | Line 296: | ||
| [https://skarnet.org/software/s6/s6-sudo.html s6-sudo] || style="background:silver" | Needs testing || | | [https://skarnet.org/software/s6/s6-sudo.html s6-sudo] || style="background:silver" | Needs testing || | ||
|- | |- | ||
| without || style="background: | | without || style="background:lime" | Full || | ||
|} | |} | ||
| Line 333: | Line 333: | ||
| systemd.timer || style="background:red" | None || Supported by postmarketOS | | systemd.timer || style="background:red" | None || Supported by postmarketOS | ||
|- | |- | ||
| without || style="background:lime" | Full || alpine-baselayout includes cron specific directories though | | without || style="background:lime" | Full || {{Pkg|alpine-baselayout}} includes cron specific directories though | ||
|} | |} | ||
* See also: [https://wiki.archlinux.org/title/Cron Archwiki] | * See also: [https://wiki.archlinux.org/title/Cron Archwiki] | ||
| Line 346: | Line 346: | ||
| [[Setting_up_a_SSH_server#OpenSSH|openssh]] || style="background:lime" | Full || | | [[Setting_up_a_SSH_server#OpenSSH|openssh]] || style="background:lime" | Full || | ||
|- | |- | ||
| [[Setting_up_a_SSH_server#Dropbear|dropbear]] || style="background:lime" | Full || provide ssh command {{pkg|dropbear-ssh}} | | [[Setting_up_a_SSH_server#Dropbear|dropbear]] || style="background:lime" | Full || provide {{ic|ssh}} command {{pkg|dropbear-ssh}} | ||
|- | |- | ||
| without || style="background:lime" | Full || | | without || style="background:lime" | Full || | ||
Revision as of 22:12, 28 September 2024
This is an overview over the different available programms, etc. that can be selected from when using alpine. It is also intended as a reference what should be documented and what could be supported.
Bootloaders
- See: Bootloaders
- Not supported:
systemd-boot(PostmarketOS does)
Kernel
- See: Kernels
Libc
| Name | Support | Notes |
|---|---|---|
| musl | Full | Default |
| glibc | None | Running glibc programs |
| without aka static | depends on package | Note that this only means no libc at runtime |
- See also: alpine-glibc
- See also: Gentoo Wiki
Initramfs
| Name | Support | Notes |
|---|---|---|
| mkinitfs | Full | Default |
| dracut | Full | |
| booster | Full | |
| tinyramfs | None | |
| without | None | may require custom Kernel, kisslinux without initramfs |
- See also: Initramfs init
- See also: Gentoo Wiki
PID 1
| Name | Support | Notes |
|---|---|---|
| busybox init | Full | Default |
| dinit | In testing | Shutdown commands are prefixed with dinit-. eg dinit-reboot
|
| s6-linux-init | Works | Requires manually running s6-linux-init-maker
|
| dumb-init | Needs testing | For containers |
| runit-init | Needs testing | runit-init starting OpenRC |
| epoch | Needs testing | |
| openrc-init | None | Is excluded from the openrc package |
| sinit | None | |
| systemd | None | Supported by postmarketOS |
| custom | Full | For example in docker containers |
- See also: Gentoo Wiki
- See also: Archwiki
Service Manager
| Name | Support | Notes |
|---|---|---|
| OpenRC | Full | Default |
| dinit | In testing | dinit-alpine includes service files |
| s6-rc | Works | Not integrated. For containers there is s6-overlay |
| runit | As OpenRC service | |
| daemontools | Needs testing | |
| daemontools-encore | Needs testing | |
| supervisor | Needs testing | |
| busybox runit | None | Not enabled in a busybox package |
| svc | None | |
| systemd | None | Supported by postmarketOS |
| without | Full | Requires to replace alpine-base with custom set of packages (See #71686) |
- See also: Gentoo Wiki
- See also: Archwiki
System Logs
| Name | Support | Notes |
|---|---|---|
| busybox syslog | Full | Default |
| rsyslog | Full | |
| syslog-ng | Full | |
| socklog | Needs testing | |
| s6-socklog from s6 | Needs testing | |
| systemd-journald | None | Supported by postmarketOS |
| without | Needs testing |
- See also: Syslog
Device Manager
| Name | Support | Notes |
|---|---|---|
| mdev | Full | Default |
| mdevd | Full | |
| eudev | Full | |
| smdev | None | |
| vdev | None | |
| systemd-udev | None | Supported by postmarketOS |
Power Managment
| Name | Support | Notes |
|---|---|---|
| busybox acpid | Full | Default |
| acpid | Full | |
| elogind | Needs testing | |
| systemd-logind | None | Supported by postmarketOS |
| without | Full |
- See also: Archwiki
- See also: Gentoo Wiki
DHCP Client
| Name | Support | Notes |
|---|---|---|
| busybox udhcpc | Full | Default |
| dhcpcd | Full | |
| dhclient | Full | |
| sdhcp | None | |
| without aka static | Full |
- See also: Configure Networking
- See also: Archwiki
- See also: Gentoo Wiki - resolv.conf
Wi-Fi
Seat/Session Managnent
| Name | Support | Notes |
|---|---|---|
| elogind | Full | |
| seatd | Full | seats only |
| turnstile | needs testing | session only |
| systemd-logind | None | Supported by postmarketOS |
| without | Full | Not recommended with graphical enviroment |
Login
| Name | Support | Supports PAM | Notes |
|---|---|---|---|
| busybox login | Full | No | Default |
| greetd | Full | Yes | requires greeter |
| shadow-login | Full | Yes | |
| util-linux-login | Full | Yes | |
| systemd-logind | None | Yes | Supported by postmarketOS |
| without | Full | No |
- See also: Gentoo Wiki
Shell Utils
| Name | Support | Notes |
|---|---|---|
| busybox | Full | Dependency of alpine-base |
| busybox-extras | Full | Some commands that are missing in the main busybox package |
| util-linux | Full | |
| coreutils | Full | |
| s6-portable-utils | Full | |
| s6-linux-utils | Full | |
| toybox | Needs testing | |
| sbase | Needs testing | |
| ubase | Needs testing | |
| without | None | A lot of implicit dependency |
- See also: Archwiki
Shell
| Name | Support | Notes |
|---|---|---|
| busybox ash | Full | Default |
| bash | Full | |
| dash | Full | When used as /bin/sh this may cause breakage. |
| yash | Full | |
| busybox hush | None | |
| without | None | sometimes implicit dependency |
- See also: Change default shell
- See proposal: replace busybox ash with another /bin/sh
- See also: Archwiki
- See also: Gentoo Wiki
SU
| Name | Support | Notes |
|---|---|---|
su from busybox-suid |
Full | default, can't be removed by default (#11730) |
su from shadow-login |
Full | |
su from util-linux-login |
Full | |
| sudo | Full | |
| doas | Full | sudo shim using doas: doas-sudo-shim |
| s6-sudo | Needs testing | |
| without | Full |
SSL/TLS
| Name | Support | Notes |
|---|---|---|
| openssl | Full | Default |
| libressl | Needs testing | |
| bearssl | Needs testing |
- See also: consider LibreSSL as default OpenSSL provider again
- See also: Archwiki
- See also: haproxy SSL Libraries Support Status
Cron
| Name | Support | Notes |
|---|---|---|
| cronie | Full | |
| dcron | Full | |
| fcron | Full | |
| vixie-cron | None | |
| scron | None | |
| systemd.timer | None | Supported by postmarketOS |
| without | Full | alpine-baselayout includes cron specific directories though |
- See also: Archwiki
- See also: Gentoo Wiki
SSH
| Name | Support | Notes |
|---|---|---|
| openssh | Full | |
| dropbear | Full | provide ssh command dropbear-ssh
|
| without | Full |
- See also: Archwiki
- See also: Gentoo Wiki - OpenSSH
- See also: Gentoo Wiki - Dropbear