helvede.net is one of the many independent Mastodon servers you can use to participate in the fediverse.
Velkommen til Helvede, fediversets hotteste instance! Vi er en queerfeministisk server, der shitposter i den 9. cirkel. Welcome to Hell, We’re a DK-based queerfeminist server. Read our server rules!

Server stats:

133
active users

#doas

0 posts0 participants0 posts today
Ruben Schade :runbsd: 🔰 🇦🇺<p>It's time!</p><p>Thank you once again to the OpenBSD people for their excellent tooling.</p><p><a href="https://bsd.network/tags/freebsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>freebsd</span></a> <a href="https://bsd.network/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> <a href="https://bsd.network/tags/sudo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sudo</span></a></p>
R.L. Dane :Debian: :OpenBSD: 🍵 :MiraLovesYou:<p>Quick-and-easy installation instructions for <a href="https://polymaths.social/tags/librewolf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LibreWolf</span></a> on <a href="https://polymaths.social/tags/debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a>, just <a href="https://polymaths.social/tags/fyi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FYI</span></a>:</p><pre><code>doas apt update &amp;&amp; doas apt install extrepo -y &amp;&amp; doas extrepo enable librewolf &amp;&amp; doas apt update &amp;&amp; doas apt install librewolf -y </code></pre><p>Okay, ok, I guess we're not ALL <code>doas</code> enjoyers. XD</p><p>For my <code>sudo</code> friends:</p><pre><code>sudo apt update &amp;&amp; sudo apt install extrepo -y &amp;&amp; sudo extrepo enable librewolf &amp;&amp; sudo apt update &amp;&amp; sudo apt install librewolf -y </code></pre><p><a href="https://polymaths.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a></p>
matuzalem<p>My script to get <a href="https://mastodon.bsd.cafe/tags/wifibox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wifibox</span></a> working after waking my laptop from sleep. it works, for me.</p><p>wifibox_restart.sh<br>#!/bin/sh<br><a href="https://mastodon.bsd.cafe/tags/sudo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sudo</span></a> service netif restart wifibox0<br>echo netif stop | lolcat<br>doas service netif stop<br>echo wifibox restart | lolcat<br>doas wifibox stop<br>doas wifibox start<br>echo netif start | lolcat<br>doas service netif start<br>#<a href="https://mastodon.bsd.cafe/tags/echo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>echo</span></a> dhclient wifibox | lolcat<br>#<a href="https://mastodon.bsd.cafe/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> /sbin/dhclient wifibox0<br>echo routing restart | lolcat<br>doas service routing restart<br>echo dns sinkhole reload | lolcat<br>doas bastille restart unbound_blocker<br>echo ping check | lolcat<br>ping -c 3 1.1.1.1<br>echo dns check 1 | lolcat<br>dig pfsense.xmcnetwork.com<br>echo dns check 2 | lolcat<br>sleep 1<br>dig apple.com<br>echo done | lolcat<br>sleep 3</p>
waaheute<p><span class="h-card" translate="no"><a href="https://mastodon.social/@nixCraft" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nixCraft</span></a></span> I prefer installing <a href="https://framapiaf.org/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> more ligther</p>
Peter N. M. Hansteen<p><span class="h-card" translate="no"><a href="https://mastodon.mackners.com/@Ryan" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Ryan</span></a></span> <span class="h-card" translate="no"><a href="https://mas.to/@pasci_lei" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pasci_lei</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@nixCraft" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nixCraft</span></a></span> on <a href="https://mastodon.social/tags/openbsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openbsd</span></a>, <a href="https://mastodon.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> replaced <a href="https://mastodon.social/tags/sudo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sudo</span></a> in base -- the simpler program will do what a large majority of the users need -- but sudo is still available as an optional package.</p>
JdeBP<p><span class="h-card"><a href="https://bsd.network/@brynet" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brynet</span></a></span> <span class="h-card"><a href="https://hachyderm.io/@benjamineskola" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>benjamineskola</span></a></span> <span class="h-card"><a href="https://bsd.network/@judfilm" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>judfilm</span></a></span> <span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> </p><p>You in fact _are_ talking about PAM, though, because that's where 50% of the the <a href="https://tty0.social/tags/ifdef" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ifdef</span></a> __Linux__ conditional compilation actually is, and 25% of it is in comments. (-:</p><p>Example: <a href="https://github.com/slicer69/doas/blob/master/doas.c#L423" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/slicer69/doas/blob/</span><span class="invisible">master/doas.c#L423</span></a></p><p><a href="https://tty0.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> <a href="https://tty0.social/tags/LinuxPAM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LinuxPAM</span></a> <a href="https://tty0.social/tags/PAM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PAM</span></a></p>
JdeBP<p><span class="h-card"><a href="https://bsd.network/@brynet" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brynet</span></a></span> <span class="h-card"><a href="https://hachyderm.io/@benjamineskola" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>benjamineskola</span></a></span> <span class="h-card"><a href="https://bsd.network/@judfilm" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>judfilm</span></a></span> <span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> </p><p>Of course it's going to have <a href="https://tty0.social/tags/ifdefs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ifdefs</span></a>. It does PAM on systems with OpenPAM and LinuxPAM and BSD Auth on OpenBSD. It's a fairly superficial analysis to say that something is problematic because it has <a href="https://tty0.social/tags/ifdef" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ifdef</span></a> __Linux__. Indeed, that's the same level of analysis as the OpenDoas author wholesale deleting all the code that's behind <a href="https://tty0.social/tags/ifdef" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ifdef</span></a> __OpenBSD__, the exact commit for which is earlier in this very thread.</p><p><a href="https://tty0.social/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a> <a href="https://tty0.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a></p>
JdeBP<p><span class="h-card"><a href="https://bsd.network/@brynet" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brynet</span></a></span> <span class="h-card"><a href="https://hachyderm.io/@benjamineskola" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>benjamineskola</span></a></span> <span class="h-card"><a href="https://bsd.network/@judfilm" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>judfilm</span></a></span> <span class="h-card"><a href="https://mastodon.concordia.social/@mark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mark</span></a></span> <span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> </p><p>Ironically, one of its open bugs is completely down to <a href="https://tty0.social/tags/PAM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PAM</span></a>, specifically <a href="https://tty0.social/tags/LinuxPAM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LinuxPAM</span></a> not doing what <a href="https://tty0.social/tags/OpenPAM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenPAM</span></a> does.</p><p><a href="https://github.com/slicer69/doas/issues/17#issuecomment-1553249174" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/slicer69/doas/issue</span><span class="invisible">s/17#issuecomment-1553249174</span></a></p><p>The other open bug has a very simple and blunt answer: <a href="https://tty0.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> cannot compile an ioctl() out of the Linux kernel. This is a bug against <a href="https://tty0.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a>, the world knows it, and the bug filer should know it.</p><p><a href="https://github.com/slicer69/doas/issues/110" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/slicer69/doas/issue</span><span class="invisible">s/110</span></a></p><p><a href="https://tty0.social/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a></p>
JdeBP<p><span class="h-card"><a href="https://bsd.network/@brynet" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brynet</span></a></span> <span class="h-card"><a href="https://hachyderm.io/@benjamineskola" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>benjamineskola</span></a></span> <span class="h-card"><a href="https://bsd.network/@judfilm" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>judfilm</span></a></span> <span class="h-card"><a href="https://mastodon.concordia.social/@mark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mark</span></a></span> <span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> </p><p>The slicer69 <a href="https://tty0.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> has, however, retained most of the tedu code, and added an <a href="https://tty0.social/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a> library compatibility layer to avoid changing some stuff. strlcpy() is in there, using millert's code.</p><p>Indeed, it has stuck to its guns over those very ioctl()s, pointing out that if one wants that functionality one needs OpenBSD for it.</p><p>As I've already pointed out, OpenDoas just wholesale deleted everything that conditionally compiled for non-Linux.</p>
JdeBP<p><span class="h-card"><a href="https://hachyderm.io/@benjamineskola" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>benjamineskola</span></a></span> <span class="h-card"><a href="https://bsd.network/@judfilm" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>judfilm</span></a></span> <span class="h-card"><a href="https://mastodon.concordia.social/@mark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mark</span></a></span> <span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> </p><p>I pointed out the AUR having the other <a href="https://tty0.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> package, earlier. So a good start for the <a href="https://tty0.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a> and <a href="https://tty0.social/tags/Ubuntu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ubuntu</span></a> and whatnots would be following <a href="https://tty0.social/tags/ArchLinux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ArchLinux</span></a> . Interestingly, Debian renamed its OpenDoas package away from the name "doas", although it still installs the command under that name, so the now unused package name is presumably reassignable. I think even the transition package is gone, now, although I haven't checked.</p><p><a href="https://tty0.social/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a></p>
judfilm<p><span class="h-card"><a href="https://tty0.social/@JdeBP" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>JdeBP</span></a></span> <span class="h-card"><a href="https://mastodon.concordia.social/@mark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mark</span></a></span> <span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> </p><p>How can <a href="https://bsd.network/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> be correctly packaged for linux?</p><p><a href="https://bsd.network/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a></p>
JdeBP<p><span class="h-card"><a href="https://mastodon.concordia.social/@mark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mark</span></a></span> <span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> </p><p>No. Someone took the portable <a href="https://tty0.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> source code that targetted multiple operating systems, gutted all of the <a href="https://tty0.social/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a> parts from it, on the somewhat dubious grounds that the portable bits for other operating systems didn't build on Linux, and replaced them with mechanisms that work how sudo works. And they decided to name it "Opendoas".</p><p>And the people who put together <a href="https://tty0.social/tags/ArchLinux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ArchLinux</span></a>, <a href="https://tty0.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a>, et al. decided that that was what they were going to officially ship as "doas".</p>
JdeBP<p><span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> <span class="h-card"><a href="https://mastodon.concordia.social/@mark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mark</span></a></span> </p><p>... or <a href="https://tty0.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a> (and probably several of its derivatives) where the non-OpenBSD version of <a href="https://tty0.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> is the only choice and the one with the portable code that covers <a href="https://tty0.social/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a> and others is not packaged.</p><p><a href="https://tracker.debian.org/pkg/opendoas" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">tracker.debian.org/pkg/opendoa</span><span class="invisible">s</span></a></p>
JdeBP<p><span class="h-card"><a href="https://mastodon.online/@brightside" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brightside</span></a></span> <span class="h-card"><a href="https://mastodon.concordia.social/@mark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mark</span></a></span> </p><p>... except when you are using <a href="https://tty0.social/tags/ArchLinux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ArchLinux</span></a>, where the AUR <a href="https://tty0.social/tags/doas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doas</span></a> package has the <a href="https://tty0.social/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a> code, but the "official" doas package has had all of the OpenBSD code taken out and the timestamp files and other mechanisms from sudo substituted in.</p><p><a href="https://github.com/Duncaen/OpenDoas/commit/74449f015ff7a72300be5a27680d2c70af309328" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Duncaen/OpenDoas/co</span><span class="invisible">mmit/74449f015ff7a72300be5a27680d2c70af309328</span></a></p><p><a href="https://github.com/Duncaen/OpenDoas/commit/1899c37ea48dd1932edd913c510411ee4c9c242f" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Duncaen/OpenDoas/co</span><span class="invisible">mmit/1899c37ea48dd1932edd913c510411ee4c9c242f</span></a></p><p><a href="https://github.com/slicer69/doas/issues/15" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/slicer69/doas/issue</span><span class="invisible">s/15</span></a></p>