<?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=2630&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Beowulf - new stuff]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2630</link>
		<description><![CDATA[The most recent posts in Beowulf - new stuff.]]></description>
		<lastBuildDate>Sat, 16 Mar 2019 23:16:33 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Beowulf - new stuff]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14913#p14913</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Geoff 42 wrote:</cite><blockquote><div><p> ... thinking that <span class="bbc">apparmor</span> is stopping it ...</p></div></blockquote></div><p>AppArmor is disabled in ASCII.</p><div class="codebox"><pre><code>groucho@devuan:~$ sudo dmesg | grep -i apparmor
[    0.010652] AppArmor: AppArmor disabled by boot time parameter
groucho@devuan:~$ </code></pre></div><p>I do <em>not</em> have a boot time parameter disabling apparmor (ie: not my doing), so it is probably disabled at a lower level in ASCII and it&#039;s not even in the repository.<br />I&#039;m guessing that there may have been good motive for all that.</p><p>When I tried my hand at the newer post-ASCII kernel, AppArmor was installed along with it.</p><p>The newer kernel ended up complicating things in my rig so I gave up.<br />But on uninstalling it, <span class="bbc">AppArmor</span> was left behind and on reboot threw a few errors in the logs.</p><p>AppArmor is a service and as such you could disable it to see what happens with <span class="bbc">haveged</span> and eventually remove it if it gives you too much trouble.<br />On the other hand, I guess AppArmor could be configured not to mess with haveged.</p><p>I for one am rather weary of <span class="bbc">AppArmor</span> (or <span class="bbc">SELinux</span> for that matter) and it&#039;s eventual usefulness in a single user installation, where you make every possible effort to run a tight ship. I see it as being more an administrator&#039;s tool in a multi-user environment but then, what do <em>I</em> know?</p><p>I may well be mistaken and prove to be a god-send instead of a headache.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 16 Mar 2019 23:16:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14913#p14913</guid>
		</item>
		<item>
			<title><![CDATA[Re: Beowulf - new stuff]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14908#p14908</link>
			<description><![CDATA[<p>When I look in <span class="bbc">syslog</span> I can see where it tries to start :-</p><div class="codebox"><pre><code>grep have syslog
Mar 16 20:12:02 beowulf kernel: [    8.642908] audit: type=1400 audit(1552767120.069:5): apparmor=&quot;STATUS&quot; operation=&quot;profile_load&quot; profile=&quot;unconfined&quot; name=&quot;/usr/sbin/haveged&quot; pid=1517 comm=&quot;apparmor_parser&quot;
Mar 16 20:12:02 beowulf haveged: haveged starting up</code></pre></div><p>But it is not running, according to <span class="bbc">ps</span>.</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Sat, 16 Mar 2019 20:32:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14908#p14908</guid>
		</item>
		<item>
			<title><![CDATA[Re: Beowulf - new stuff]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14907#p14907</link>
			<description><![CDATA[<p><span class="bbc">haveged</span> is running ok in ASCII, but it is failing in a Beowulf VM.</p><p>In Beowulf, if I run haveged manually as root, then it keeps running :-</p><div class="codebox"><pre><code>haveged -F -w 1024
haveged starting up</code></pre></div><p>If I then ^C it and run :-</p><div class="codebox"><pre><code>/etc/init.d/haveged start 
/etc/init.d/haveged status
[FAIL] haveged is not running ... failed!</code></pre></div><p>But I noticed on the console :-</p><div class="codebox"><pre><code>[  426.107690] kauditd_printk_skb: 5 callbacks suppressed
[  426.107691] audit: type=1400 audit(1552767537.537:17): apparmor=&quot;DENIED&quot; operation=&quot;mknod&quot; profile=&quot;/usr/sbin/haveged&quot; name=&quot;/run/haveged.pid&quot; pid=3276 comm=&quot;haveged&quot; requested_mask=&quot;c&quot; denied_mask=&quot;c&quot; fsuid=0 ouid=0</code></pre></div><p>so I am thinking that <span class="bbc">apparmor</span> is stopping it from running and I have not yet got to grips with apparmor which seems to come as standard with Beowulf.</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Sat, 16 Mar 2019 20:27:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14907#p14907</guid>
		</item>
		<item>
			<title><![CDATA[Re: Beowulf - new stuff]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14895#p14895</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Geoff 42 wrote:</cite><blockquote><div><p>... appears to start but I cannot see it running ...</p></div></blockquote></div><p>I installed it and have it running in my Devuan ASCII:</p><div class="codebox"><pre><code>groucho@devuan:~$ /etc/init.d/haveged status
[ ok ] haveged is running.
groucho@devuan:~$ </code></pre></div><p>I cannot remember how I did it.&#160; =-/</p><p>But see here:<br /><a href="https://www.techrepublic.com/article/how-to-add-more-entropy-to-improve-cryptographic-randomness-on-linux/" rel="nofollow">https://www.techrepublic.com/article/ho … -on-linux/</a></p><div class="quotebox"><blockquote><div><p><em>Set haveged up to start at boot with the command <span class="bbc">sudo update-rc.d haveged defaults</span>.</em></p></div></blockquote></div><p>Then you would get a script in <span class="bbc">/etc/init.d/haveged</span></p><div class="codebox"><pre><code>#! /bin/sh
### BEGIN INIT INFO
# Provides:          haveged
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Entropy daemon using the HAVEGE algorithm
# Description:         haveged uses HAVEGE (HArdware Volatile Entropy Gathering
#                           and Expansion) to maintain a pool of random bytes used
#                           to fill /dev/random whenever necessary.
### END INIT INFO</code></pre></div><p>Other than default options:</p><div class="codebox"><pre><code>groucho@devuan:~$ sudo haveged --help

Usage: haveged [options]

Collect entropy and feed into random pool or write to file.
  Options:
     --buffer    , -b [] Buffer size [KW], default: 128
     --data      , -d [] Data cache size [KB], with fallback to: 16
     --inst      , -i [] Instruction cache size [KB], with fallback to: 16
     --file      , -f [] Sample output file,  default: &#039;sample&#039;, &#039;-&#039; for stdout
     --Foreground, -F    Run daemon in foreground
     --run       , -r [] 0=daemon, 1=config info, &gt;1=&lt;r&gt;KB sample
     --number    , -n [] Output size in [k|m|g|t] bytes, 0 = unlimited to stdout
     --onlinetest, -o [] [t&lt;x&gt;][c&lt;x&gt;] x=[a[n][w]][b[w]] &#039;t&#039;ot, &#039;c&#039;ontinuous, default: ta8b
     --pidfile   , -p [] daemon pidfile, default: /var/run/haveged.pid
     --verbose   , -v [] Verbose mask 0=none,1=summary,2=retries,4=timing,8=loop,16=code,32=test
     --write     , -w [] Set write_wakeup_threshold [bits]
     --help      , -h    This help
groucho@devuan:~$ </code></pre></div><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 16 Mar 2019 03:17:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14895#p14895</guid>
		</item>
		<item>
			<title><![CDATA[Re: Beowulf - new stuff]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=13926#p13926</link>
			<description><![CDATA[<p>Another entry in daemon.log is for <span class="bbc">haveged</span>. From <span class="bbc">/etc/init.d/haveged</span> the description is :-</p><div class="codebox"><pre><code>haveged uses HAVEGE (HArdware Volatile Entropy Gathering and Expansion)
 to maintain a pool of random bytes used to fill /dev/random whenever necessary.</code></pre></div><p>This daemon appears to start but I cannot see it running and there are no error messages.</p><div class="codebox"><pre><code>/etc/init.d/haveged status
[FAIL] haveged is not running ... failed!</code></pre></div><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Fri, 01 Feb 2019 10:21:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=13926#p13926</guid>
		</item>
		<item>
			<title><![CDATA[Beowulf - new stuff]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=13922#p13922</link>
			<description><![CDATA[<p>Having installed Beowulf, I notice that there are some new daemons some of which I don&#039;t recognise. These include :-</p><p><span class="bbc">/usr/sbin/dundee</span><br /><span class="bbc">/usr/sbin/ofonod</span><br /><span class="bbc">/usr/sbin/connmand</span><br /><span class="bbc">/usr/sbin/bluetoothd</span></p><p>and in my name :-</p><p><span class="bbc">/usr/lib/geoclue-2.0/demos/agent</span><br /><span class="bbc">/usr/bin/qlipper</span></p><p><span class="bbu">connman</span> is the new network connection manager, although I don&#039;t have much to manage, just the wired ether.<br /><span class="bbu">bluetooth</span>; my desktop does not have bluetooth hardware and so I can disable that.<br /><span class="bbu">dundee</span> does not have a man page and I have not found anything about it yet on the net. /etc/init.d/dundee says that it is a Bluetooth DUN daemon, which I think is for DialUp Networking.<br /><span class="bbu">ofonod</span> is an oFono mobile telephony daemon, according to &quot;man ofonod&quot;. Some Ubuntu docs report that it is responsible for the mobile telephony part and bluetoothd uses it to place and answer phone calls.<br /><a href="https://wiki.ubuntu.com/DebuggingBluetooth" rel="nofollow">https://wiki.ubuntu.com/DebuggingBluetooth</a></p><p><span class="bbu">geoclue</span> works out where you are, using WiFi, GPS, 3G etc. Brought in by LXQt.<br /><span class="bbu">qlipper</span> is a clipboard history applet, brought in by LXQt.</p><p>dmesg also reports that <span class="bbc">AppArmor</span> is enabled. There is some info at :-</p><p><a href="https://wiki.debian.org/AppArmor/HowToUse" rel="nofollow">https://wiki.debian.org/AppArmor/HowToUse</a></p><div class="codebox"><pre><code># aa-status
apparmor module is loaded.
11 profiles are loaded.
9 profiles are in enforce mode.
   /usr/bin/man
   /usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session
   /usr/lib/x86_64-linux-gnu/lightdm/lightdm-guest-session//chromium
   /usr/sbin/haveged
   libreoffice-senddoc
   libreoffice-soffice//gpg
   libreoffice-xpdfimport
   man_filter
   man_groff
2 profiles are in complain mode.
   libreoffice-oopslash
   libreoffice-soffice
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.</code></pre></div><p>Adding &quot;Z&quot; to &quot;ps&quot; shows the Labels. Most things are &quot;unconfined&quot;, but if you run LibreOffice then<br /><span class="bbc">ps axjfZ</span> includes :-</p><div class="codebox"><pre><code>LABEL                            PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND

unconfined                       2657  3111  3111  2657 pts/1     3111 R+    1026   0:00      \_ ps axjfZ
libreoffice-oopslash (complain)     1  3055  3054  3054 ?           -1 Sl    1026   0:00 /usr/lib/libreoffice/program/oosplash --calc
libreoffice-soffice (complain)   3055  3072  3054  3054 ?           -1 Sl    1026   0:01  \_ /usr/lib/libreoffice/program/soffice.bin --calc --splash-pipe=5</code></pre></div><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Thu, 31 Jan 2019 16:54:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=13922#p13922</guid>
		</item>
	</channel>
</rss>
