Date: Mon, 8 Dec 2003 09:22:04 +0100 From: Thorsten Greiner <thorsten.greiner@web.de> To: Oliver Lehmann <lehmann@ans-netz.de> Cc: freebsd-ports@freebsd.org Subject: Re: update xfce 4.0.0 -> xfce 4.0.1 Message-ID: <20031208082204.GA5329@tybalt.nev.psi.de> In-Reply-To: <20031207182751.2f0ef045.lehmann@ans-netz.de> References: <20031207182751.2f0ef045.lehmann@ans-netz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Oliver Lehmann <lehmann@ans-netz.de> [2003-12-08 09:12]: > The swap monitor is reading 'No swap', and on the console these lines > print out about two or three times per second: > kvm_open: short read > kfce4-panel: cannot read sw: > kvm_open: short read > kfce4-panel: cannot read swapblist: First, systemload-plugin-0.3.3 has been committed yesterday, but I don't think that will change this behaviour. The reason for what your seeing is that reading swap information under 4.x is done by reading /dev/kmem (opposed to a sysctl under 5.x). To access kmem the process requires the kmem privilege. Since the xfce-plugins operate as shared objects inside the xfce-panel plugin this would require to give the xfce-panel executable suid (sgid might actually be sufficient) kmem privileges. I you are willing to test if giving the xfce-panel sgid kmem priviliges fixes the problem I am willing to update the port and state this procedure as a w/around for 4.x users. Best regards -Thorsten --=20 Williams and Holland's Law: If enough data is collected, anything may be proven by statistical methods. This message is digitally signed. To verify its integrity, download a copy of GnuPG for your operating system from http://www.gnupg.org . --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/1DSsRThlmOhl9moRAiUNAKCz+iHsoNs9qpU9Zqh/2nnkr96kAACgs1NC ppMrh45wIhV4aMhy9t/zPAg= =uYrX -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031208082204.GA5329>