<?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=2845&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=2845</link>
		<description><![CDATA[The most recent posts in Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error].]]></description>
		<lastBuildDate>Sun, 19 May 2019 23:34:43 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16177#p16177</link>
			<description><![CDATA[<p>i just need fix the permissions during boot of that file and make during boot</p><div class="codebox"><pre><code>chmod 000755 /media/Devuan/var/log/cups/error_log
chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper</code></pre></div><p>Before &quot;cups-daemon&quot; begins</p><p>Another issue appear because of this, i am trying to run VirtualBox and now i can&#039;t start now appear this error :<br />NS_ERROR_FAILURE (0x80004005)</p><p>i try a lot of things like root:root permisons on /usr, /usr/lib<br />purge the package and reinstall again<br />recompile the dkms modules<br />but nothing of that works.</p><p>Another problem :</p><p>pulseaudio :</p><div class="codebox"><pre><code>E: [pulseaudio] core-util.c: XDG_RUNTIME_DIR (/run/user/0) is not owned by us (uid 1000), but by uid 0! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don&#039;t do that.)
E: [pulseaudio] main.c: No se ha podido detener el demonio: No existe el fichero o el directorio
--- start
--- exit
E: [autospawn] core-util.c: XDG_RUNTIME_DIR (/run/user/0) is not owned by us (uid 1000), but by uid 0! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don&#039;t do that.)
W: [autospawn] lock-autospawn.c: No se puede acceder al candado de autogeneración.
E: [pulseaudio] main.c: Failed to acquire autospawn lock</code></pre></div><div class="codebox"><pre><code>locate xsession
locate: no se puede abrir `/var/lib/mlocate/mlocate.db&#039;: Permiso denegado</code></pre></div><p>That error make a mess with my permissions.</p>]]></description>
			<author><![CDATA[dummy@example.com (inukaze)]]></author>
			<pubDate>Sun, 19 May 2019 23:34:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16177#p16177</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16076#p16076</link>
			<description><![CDATA[<p>I would advise you to truncate&#160; /usr/lib/cups/notifier/error_log if it&#039;s getting too big:<br /><span class="bbc">&gt;&#160; /usr/lib/cups/notifier/error_log</span></p><p>rm will remove the directory entry, but won&#039;t free space if something still has the file open. You might be able to find it by looking in /proc (it will be in a directory of the PID of the task that has it open) and truncate it there. Otherwise restarting the task(s) will free the space (if all else fails a reboot restarts everything).</p><p>Chris</p><p>PS. I learnt that in the college of hard knocks.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Wed, 15 May 2019 16:40:11 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16076#p16076</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16068#p16068</link>
			<description><![CDATA[<p>yesterday i investigate the kcore file is a virtual file to set the limitation of ram capable of linux 64 bits</p><p>The problem is when i restart the system the permissons of /usr/lib/cups/notifier again its 777 and not 000755<br />Using OpenRC, where i can set the permission of that files / folders ?</p><p>and the another thing i need is a script (with root permisions) to check the size of /usr/lib/cups/notifier/error_log , and if the size is =&gt; 10MB delete it, and generate again in black </p><p>Something maybe like (i use the another file can grow without limits for this example) :</p><div class="codebox"><pre><code>XSE=$(du -h &quot;$HOME/.xsession-errors&quot; | awk &#039;{print $1}&#039;)
if [ &quot;$XSE&quot; = &quot;512K&quot; ] ; then
        rm -rf &quot;$HOME/.xsession-errors&quot;
        touch &quot;$HOME/.xsession-errors&quot;
        echo &#039;&#039; | tee &quot;$HOME/.xsession-errors&quot;
fi</code></pre></div><p>I don&#039;t know why this logs file don&#039;t have a logic limitation, using size and/or days for prevent generate the error of 0 Bytes Available</p>]]></description>
			<author><![CDATA[dummy@example.com (inukaze)]]></author>
			<pubDate>Tue, 14 May 2019 21:43:28 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16068#p16068</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16063#p16063</link>
			<description><![CDATA[<p>/proc isn&#039;t a real filesystem on disk and doesn&#039;t contain real files:</p><div class="codebox"><pre><code>chris@rigel:~/bin$ df -k /proc/
Filesystem     1K-blocks  Used Available Use% Mounted on
proc                   0     0         0    - /proc</code></pre></div><p>/proc/kcore will be your systems virtual storage mapped to a file. Don&#039;t worry about it (or anything else in /proc).</p><p>And in case it helps:<br />chris@rigel:~/bin$ ll /usr/lib/cups/notifier/dbus<br />-rwxr-xr-x 1 root root 14328 Jul 11&#160; 2018 /usr/lib/cups/notifier/dbus</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Tue, 14 May 2019 16:41:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16063#p16063</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16059#p16059</link>
			<description><![CDATA[<div class="quotebox"><cite>inukaze wrote:</cite><blockquote><div><div class="codebox"><pre><code>find / -type f -printf &#039;%s %p\n&#039;| sort -nr | head -50</code></pre></div><p>Results :</p><div class="codebox"><pre><code>140737477877760 /proc/kcore
11829440493 /media/Devuan/var/log/cups/error_log</code></pre></div><p>WTF!. the available size on my pc total is 790GB. its impossible to be 128 Teras</p></div></blockquote></div><p>This looks like a file with holes in it.</p><p>When something is mapped to memory only some of the pages may be present, thus there could be a page starting at 0 and another page high up in memory. If this address space is mapped to a file, then the file can have a (big) hole in it. Some measures of the size of the file look at the final address and report that as the size. Other methods look at how many pages are used and report a size based on that.</p><p>This has the advantage that a large address space can be stored in a much smaller file.</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Tue, 14 May 2019 09:18:39 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16059#p16059</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16056#p16056</link>
			<description><![CDATA[<p>i found the guilty of last error -&gt; /media/Devuan/var/log/cups/error_log</p><p>This message repeat infinity : </p><div class="codebox"><pre><code>D [13/May/2019:23:06:09 -0400] Notifier dbus started - PID = 0
W [13/May/2019:23:06:09 -0400] Notifier for subscription 275 (dbus://) went away, retrying!
E [13/May/2019:23:06:09 -0400] File \&quot;/usr/lib/cups/notifier/dbus\&quot; has insecure permissions (0100777/uid=0/gid=0).</code></pre></div><p>i just need the right permissions of the file : <br />/usr/lib/cups/notifier/dbus</p><p>apt-get install -y --reinstall cups-daemon</p><p>i saw a ne error :</p><div class="codebox"><pre><code>GDBus.Error:org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct</code></pre></div><p>Checking permissions :</p><div class="codebox"><pre><code>ls -al /usr/lib/dbus-1.0/dbus-daemon-launch-helper
-rwxrwxrwx 1 root messagebus 44048 mar 16 02:22 /usr/lib/dbus-1.0/dbus-daemon-launch-helper</code></pre></div><p>Fix :</p><div class="codebox"><pre><code>su -c &quot;chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper&quot; root
su -c &quot;chmod 000755 -R /usr/lib/cups/notifier&quot; root</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (inukaze)]]></author>
			<pubDate>Tue, 14 May 2019 03:32:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16056#p16056</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16055#p16055</link>
			<description><![CDATA[<div class="codebox"><pre><code>find / -type f -printf &#039;%s %p\n&#039;| sort -nr | head -50</code></pre></div><p>Results :</p><div class="codebox"><pre><code>140737477877760 /proc/kcore
11829440493 /media/Devuan/var/log/cups/error_log</code></pre></div><p>WTF!. the available size on my pc total is 790GB. its impossible to be 128 Teras</p><p>Ok i try this way : </p><div class="codebox"><pre><code>du -ah /proc/kcore</code></pre></div><p>Result :</p><div class="codebox"><pre><code>0	/proc/kcore</code></pre></div><p> i don&#039;t understand. this thing have size or not</p><p>Ok the another file : </p><div class="codebox"><pre><code>du -ah /media/Devuan/var/log/cups/error_log</code></pre></div><p>Result :</p><div class="codebox"><pre><code>12G	/media/Devuan/var/log/cups/error_log</code></pre></div><p>Another thing is the file<br />~/.xsession-errors</p><p>can have the same size of 12GB. </p><p>Someone can tell me how i put in .bashrc a minimal script for when this files reach 1GB automatically delete it, and create again in blanks?</p>]]></description>
			<author><![CDATA[dummy@example.com (inukaze)]]></author>
			<pubDate>Tue, 14 May 2019 02:05:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16055#p16055</guid>
		</item>
		<item>
			<title><![CDATA[Devuan essential packages ? [SOLVED + CUPS Log Error + Dbus Error]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16048#p16048</link>
			<description><![CDATA[<p>Hi there, yesterday i had 10 GB free on disk space. i don&#039;t know in which exact moment the file ~/.xsession-errors , pass from some bytes, to 12GB size.<br />After of that i left with 0 Space available on disk. i delete the file, and i reboot.</p><p>But when i reboot, i receive a kernel panic, just with a message /bin/bash &amp; /sbin/init don&#039;t exist. i enter on another distro i had installed (Slackware) and then i check the file are there and perfectly funciontal.</p><p>i notice the directories /lib32 &amp; /lib64 don&#039;t exist anymore after i do &quot;btrfsck --repair &lt;/dev/disk_partition&gt;&quot; i need to know which packages install that directories and files. i just know libc6 install 1 file on a directory there.</p><p>But i know in that directories need more files to boot properly. which packages are for fix the boot ?</p><p>i just download and extract from package <strong>libc6</strong> a the folder /lib64, just had a symbolic link</p><div class="codebox"><pre><code>ld-linux-x86-64.so.2 -&gt; /lib/x86_64-linux-gnu/ld-2.24.so</code></pre></div><p>And with that the system boot.</p><p>But i got a new problem, I have no idea what it is that makes my system is in 0 of available space, because although it releases 10GB of space. after about 5 minutes that manages to enter the system this space is occupied again</p>]]></description>
			<author><![CDATA[dummy@example.com (inukaze)]]></author>
			<pubDate>Mon, 13 May 2019 21:25:45 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16048#p16048</guid>
		</item>
	</channel>
</rss>
