<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4046&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / /etc/os-release  clarification ?]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4046</link>
		<description><![CDATA[The most recent posts in /etc/os-release  clarification ?.]]></description>
		<lastBuildDate>Mon, 11 Jan 2021 13:29:06 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26741#p26741</link>
			<description><![CDATA[<p>@ifdv44, Yes, the various tty and sty (serial terminal) available on your system.</p><p>And I could have sworn I had configured some ssh daemon configs to print /etc/issue.net, but maybe it was just the same contents as my /etc/motd and I used setting &quot;PrintMotd yes&quot;. I cannot find it now. Plus, <a href="https://linux.die.net/man/5/issue.net" rel="nofollow">issue.net(5)</a> says that issue.net was for telnetd.</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Mon, 11 Jan 2021 13:29:06 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26741#p26741</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26677#p26677</link>
			<description><![CDATA[<div class="quotebox"><cite>bgstack15 wrote:</cite><blockquote><div><p>/etc/issue is traditionally the message that appears on the virtual terminals above the login prompt. And /etc/issue.net is traditionally the message for when you log in via ssh. They normally start with contents that might list the OS, but they can be set to whatever you want.</p><p>I had no idea /etc/os-release was a systemd thing... drat.</p></div></blockquote></div><p>Slightly off topic, but this has raised another two questions. </p><p>By virtual terminals you mean TTY , and a log in via a serial console connection ?&#160; </p><p>So as I&#039;m using SSH (via putty ) i&#039;d not see the first one ?</p>]]></description>
			<author><![CDATA[dummy@example.com (ifdv44)]]></author>
			<pubDate>Sat, 09 Jan 2021 22:00:59 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26677#p26677</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26658#p26658</link>
			<description><![CDATA[<p>nm. If you saw what was here, forget it. It was wrong.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 08 Jan 2021 16:20:09 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26658#p26658</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26657#p26657</link>
			<description><![CDATA[<div class="quotebox"><cite>ifdv44 wrote:</cite><blockquote><div><p>i appear to have installed Devuan without efi ...I think...it was two years or more since i installed so cant remember</p></div></blockquote></div><p>Check for /sys/firmware/efi, that will only exist if you are booted in UEFI mode. You could also use <span class="bbc">parted --list</span> and see if you have any EFI system partitions (which will have the &quot;boot,esp&quot; flags) — UEFI booting is not possible without an ESP.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 08 Jan 2021 14:01:51 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26657#p26657</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26655#p26655</link>
			<description><![CDATA[<div class="quotebox"><cite>bgstack15 wrote:</cite><blockquote><div><p>/etc/issue is traditionally the message that appears on the virtual terminals above the login prompt. And /etc/issue.net is traditionally the message for when you log in via ssh. They normally start with contents that might list the OS, but they can be set to whatever you want.</p><p>I had no idea /etc/os-release was a systemd thing... drat.</p></div></blockquote></div><p>It was with the aim of parsing the entry&#160; and comparing to one of the log in banner files called that i was driven to look at this , so might have got there eventually. The document I&#039;m looking at seems to be working on the assumption systemd is being used so having to work out the alternatives and with Devuan&#039;s roots in Debian still popping up in the install it&#039;s tricky to know if i will break things by changing with out spending a lot of time digging and reading</p>]]></description>
			<author><![CDATA[dummy@example.com (ifdv44)]]></author>
			<pubDate>Fri, 08 Jan 2021 13:36:57 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26655#p26655</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26654#p26654</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>If you&#039;re using grub-efi-amd64-signed and have ID=devuan in /etc/os-release, you&#039;ll boot to a grub prompt instead of a boot menu. That&#039;s because grub will expect the signed bootloader to be found under /boot/efi/EFI/debian, but your bootloader will be in /boot/efi/EFI/devuan instead.</p><p>Some third-party software that expects to see debian might complain or refuse to install. I don&#039;t have an example.</p><p>There&#039;s also /etc/issue, which is in most linux distros.</p></div></blockquote></div><p>Thanks. I have a whole host of questions and further reading to do about Grub that I&#039;ll save for another time, but i appear to have installed Devuan without efi ...I think...it was two years or more since i installed so cant remember and looking around the grub files i cant see any mention or efi or signed things...</p><p>Anyway the /etc/issue&#160; file is perfect for my purposes. I assume at the next release that becomes ? :</p><div class="codebox"><pre><code>Devuan GNU/Linux 4 </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ifdv44)]]></author>
			<pubDate>Fri, 08 Jan 2021 13:31:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26654#p26654</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26653#p26653</link>
			<description><![CDATA[<p>/etc/issue is traditionally the message that appears on the virtual terminals above the login prompt. And /etc/issue.net is traditionally the message for when you log in via ssh. They normally start with contents that might list the OS, but they can be set to whatever you want.</p><p>I had no idea /etc/os-release was a systemd thing... drat.</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Fri, 08 Jan 2021 13:30:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26653#p26653</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26651#p26651</link>
			<description><![CDATA[<p>If you&#039;re using grub-efi-amd64-signed and have ID=devuan in /etc/os-release, you&#039;ll boot to a grub prompt instead of a boot menu. That&#039;s because grub will expect the signed bootloader to be found under /boot/efi/EFI/debian, but your bootloader will be in /boot/efi/EFI/devuan instead.</p><p>Some third-party software that expects to see debian might complain or refuse to install. I don&#039;t have an example.</p><p>There&#039;s also /etc/issue, which is in most linux distros.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 08 Jan 2021 12:44:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26651#p26651</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26650#p26650</link>
			<description><![CDATA[<p>I did a little test on a temp install, deleted both /etc/os-release and /usr/lib/os-release.</p><p>Im not sure what applications would rely on these files but below link says it could break a link in a chroot or initrd environment if the symlink to them is absolute and not relative.</p><p>Ive updated initramfs updated-grub and rebooted, im yet to try a chroot but ive not seen any adverse effects thus far.</p><p><a href="https://www.freedesktop.org/software/systemd/man/os-release.html" rel="nofollow">https://www.freedesktop.org/software/sy … lease.html</a></p>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Fri, 08 Jan 2021 11:48:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26650#p26650</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26649#p26649</link>
			<description><![CDATA[<div class="quotebox"><cite>ifdv44 wrote:</cite><blockquote><div><p>Sooo, if I was being a purist I&#039;d try to ignore that file as it was driven by the systemd changes to Linux.</p></div></blockquote></div><p>You are free to ignore it but any applications that rely on it may not be pleased if it&#039;s malformed or missing and you may experience some strange behaviour or even dysfunction.</p><div class="quotebox"><cite>ifdv44 wrote:</cite><blockquote><div><p>Is/was there an pre systemd equivalent and where would i find it on Devuan ?</p></div></blockquote></div><p>/etc/debian_version &amp; /etc/lsb-release spring to mind but I&#039;m in OpenBSD at the moment so I don&#039;t know how Devuan handles those files.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 08 Jan 2021 10:39:55 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26649#p26649</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26646#p26646</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>See if you can guess who created the file. <a href="http://0pointer.de/blog/projects/os-release" rel="nofollow">[Spoiler Alert!]</a></p><p>Read os-release(5) for the implementation details.</p><p>Note that any edits to the file will be over-written whenever the base-files package is updated. EDIT: actually dpkg might ask you what to do with it if it has been edited.</p></div></blockquote></div><p>Thanks, that&#039;s interesting reading. <br />Sooo, if I was being a purist I&#039;d try to ignore that file as it was driven by the systemd changes to Linux. I can see the reasoning behind having a file like that though irrespective of the boot approach. Is/was there an pre systemd equivalent and where would i find it on Devuan ?</p><p>edit, and I should ask, is there a known plan to Devuan-ise those two fields referencing Debian for the future ?</p>]]></description>
			<author><![CDATA[dummy@example.com (ifdv44)]]></author>
			<pubDate>Fri, 08 Jan 2021 09:05:52 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26646#p26646</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26636#p26636</link>
			<description><![CDATA[<p>See if you can guess who created the file. <a href="http://0pointer.de/blog/projects/os-release" rel="nofollow">[Spoiler Alert!]</a></p><p>Read os-release(5) for the implementation details.</p><p>Note that any edits to the file will be over-written whenever the base-files package is updated. EDIT: actually dpkg might ask you what to do with it if it has been edited.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 07 Jan 2021 21:20:39 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26636#p26636</guid>
		</item>
		<item>
			<title><![CDATA[Re: /etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26633#p26633</link>
			<description><![CDATA[<p>Some applications can try to read various lines from here, as a way to determine if they are compatible. Ideally, a piece of software would see the ID_LIKE includes &quot;debian&quot; and so would adopt debian-like behavior for the application (which depends on the app). <br />This is indeed just a text file, so use your editor of choice. But be aware that there could be lots of things that read this file; I&#039;m sure there are ways to audit that but you can search for that on the Internet if you want to do that. In general, it&#039;s best to leave the /etc/os-release alone.</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Thu, 07 Jan 2021 21:04:14 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26633#p26633</guid>
		</item>
		<item>
			<title><![CDATA[/etc/os-release  clarification ?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=26632#p26632</link>
			<description><![CDATA[<p>Probably a simple question, but I&#039;m still learning about the deeper levels of a linux system.</p><p>my /etc/os-release is :</p><div class="codebox"><pre><code>PRETTY_NAME=&quot;Devuan GNU/Linux 3 (beowulf)&quot;
NAME=&quot;Devuan GNU/Linux&quot;
VERSION_ID=&quot;3&quot;
VERSION=&quot;3 (beowulf)&quot;
VERSION_CODENAME=beowulf
ID=debian
ID_LIKE=debian
HOME_URL=&quot;https://www.devuan.org/&quot;
SUPPORT_URL=&quot;https://devuan.org/os/community&quot;
BUG_REPORT_URL=&quot;https://bugs.devuan.org/&quot;</code></pre></div><p>I was curious as to what the references to Debian were for, and if i were to change them to Devuan , would i break anything ? I assume a simple update of the file in vi would be all I&#039;d need to do to change it, there isn&#039;t another utility I&#039;d need to do it with ?</p>]]></description>
			<author><![CDATA[dummy@example.com (ifdv44)]]></author>
			<pubDate>Thu, 07 Jan 2021 20:16:14 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=26632#p26632</guid>
		</item>
	</channel>
</rss>
