-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alex Cornejo wrote:
> Hi ppl,
>
> A lot of universities (and corporations) use kerberos for authentication
> and OpenAFS to host the folders. However, it is not possible to create
> sockets on OpenAFS (this is probably true for other remote/distributed
> file systems).
>
> Currently awesome reports its unable to bind a socket (with permission
> denied) and continues normaly. However this means the user is unable to
> control awesome using awesome-client or similar.
>
> A simple workaround for this is to fall back to /tmp/.awesome-ctl before
> giving up after ~/.awesome-ctl failed. The following patch does precisly
> this, it works perfectly on my desktop (on openafs) and my laptop
> (regular ext3).
>
> PS: As a bonus I attached a path to merge two loops in the keybinding
> section of aweseomerc.lua into 1, I see no reason to spam the list again
> for such a small patch.
>
> Cheers,
>
> Alex
>
Hi,
one small comment on that patch:
IMHO you should not hardcode /tmp but use $TMPDIR instead or at least try
$TMPDIR before /tmp (if they are different).
There is e.g. a pam module on linux (perhabs on other OS too) which does some
namespace magic and sets $TMPDIR to a directory which is only mounted for the
current user.
Cheers,
Uli
- --
"Do you know that books smell like nutmeg or some spice from a foreign land?"
-- Faber in Fahrenheit 451
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknBFBUACgkQABixOSrV9993YQCgiKOdyAa6UzpCAispu0bup1uW
ME0AnRwU1lzVxaJ0oUu4F3e2m1Af1nWD
=OKsR
-----END PGP SIGNATURE-----
--
To unsubscribe, send mail to [email protected].