<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=8195&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / An interesting attempt to modify init->openrc-init]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=8195</link>
		<description><![CDATA[The most recent posts in An interesting attempt to modify init->openrc-init.]]></description>
		<lastBuildDate>Tue, 15 Sep 2026 07:37:24 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: An interesting attempt to modify init->openrc-init]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65575#p65575</link>
			<description><![CDATA[<p>The &quot;what&quot; is easy, the &quot;who&quot; is hard.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 15 Sep 2026 07:37:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65575#p65575</guid>
		</item>
		<item>
			<title><![CDATA[An interesting attempt to modify init->openrc-init]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65574#p65574</link>
			<description><![CDATA[<p># Using OpenRC-init&#160; as pid=1</p><p>Inspired by this [<a href="https://laskarnix.org/devuan-migrate-from-sysv-to-openrc-init/" rel="nofollow">https://laskarnix.org/devuan-migrate-fr … enrc-init/</a>], I tried the following approach on Devuan.</p><p>## 1. Create an empty package to replace `sysvinit-core`</p><p>I created an empty package named `openrc-init` with the following control information:</p><p>```text<br />Conflicts: sysvinit-core<br />Replaces: sysvinit-core<br />Provides: sysvinit-core<br />Depends: openrc<br />```</p><p>After installing this package, `sysvinit-core` is removed from the system.</p><p>## 2. Use `openrc-init` as PID 1</p><p>Create a symlink that points `/sbin/init` to the `openrc-init` provided by OpenRC:</p><p>```sh<br />ln -sf /sbin/openrc-init /sbin/init<br />```</p><p>I also created the `poweroff` and `reboot` commands.</p><p>### `poweroff`</p><p>```sh<br />#!/bin/sh<br />exec /sbin/openrc-shutdown -p 0<br />```</p><p>### `reboot`</p><p>```sh<br />#!/bin/sh<br />exec /sbin/openrc-shutdown -r 0<br />```</p><p>## 3. Create and enable TTY services</p><p>Create `agetty` service links for `tty1` through `tty6`, then add them to the default runlevel:</p><p>```sh<br />for n in $(seq 1 6); do<br />&#160; &#160; ln -s agetty &quot;agetty.tty$n&quot;<br />&#160; &#160; rc-update add &quot;agetty.tty$n&quot; default<br />done<br />```</p><p>The system was able to boot normally. 👍</p><p>## Idea</p><p>As more and more Debian packages remove support for SysV service scripts in the future, it may be possible to build a Devuan distribution centered around OpenRC without extensively modifying or rebuilding upstream Debian packages.</p><p>The general approach could be:</p><p>- Reuse upstream Debian SysV service scripts whenever they are still available, reducing maintenance work;<br />- When a service no longer has a usable SysV script, obtain an appropriate OpenRC service script from Gentoo or Alpine Linux;<br />- Provide a compatibility layer or adaptation mechanism so that existing Debian packages can continue to work in an OpenRC environment;<br />- Minimize modifications to upstream packages in order to reduce long-term maintenance costs.</p><p>In this way, Devuan could preserve the Debian package ecosystem while gradually building a more complete and independent initialization and service-management system centered around OpenRC.</p>]]></description>
			<author><![CDATA[dummy@example.com (alin)]]></author>
			<pubDate>Tue, 15 Sep 2026 03:35:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65574#p65574</guid>
		</item>
	</channel>
</rss>
