View Issue Details

IDProjectCategoryView StatusLast Update
0003357GNUnetutil librarypublic2014-04-08 16:41
ReporterMatthias WachsAssigned ToChristian Grothoff 
PrioritynormalSeveritymajorReproducibilityrandom
Status closedResolutionfixed 
Product VersionSVN HEAD 
Target Version0.10.1Fixed in Version0.10.1 
Summary0003357: $XDG_RUNTIME_DIR : GNUnet in multiuser environment on Ubuntu 13.10
Description$XDG_RUNTIME_DIR is not set to a new user when su - gnuet as described in the instructions:

So is set to the path calling su

Known Issue:
https://bugzilla.novell.com/show_bug.cgi?id=747380
https://bugs.launchpad.net/ubuntu/+source/pam-xdg-support/+bug/894391
TagsNo tags attached.

Activities

Matthias Wachs

2014-04-01 12:58

manager   ~0008175

If have a user a with id 1000

So with:

a$ sudo su
root$ echo $XDG_RUNTIME_DIR
/run/user/1000
root$ su - gnuet
$ echo $XDG_RUNTIME_DIR
/run/user/1000


Therefore: gnunet-arm -s

Apr 01 11:40:14-720506 util-20016 DEBUG Asked to $-expand ${USER:-user}
Apr 01 11:40:14-720539 util-20016 DEBUG Split into `USER' and `' with default user
Apr 01 11:40:14-720571 util-20016 DEBUG Asked to retrieve string `USER' in section `PATHS'
Apr 01 11:40:14-720604 util-20016 DEBUG Filename for `USER' is not in PATHS config section
Apr 01 11:40:14-720637 util-20016 DEBUG Prefix is `gnunet'
Apr 01 11:40:14-720669 util-20016 DEBUG Expanded to `gnunet'
Apr 01 11:40:14-720701 util-20016 DEBUG Prefix is `gnunet'
Apr 01 11:40:14-720733 util-20016 DEBUG Expanded to `gnunet-runtime/'
Apr 01 11:40:14-720766 util-20016 DEBUG Prefix is `/run/user/1000/gnunet-gnunet-runtime/'
Apr 01 11:40:14-720800 util-20016 DEBUG Expanded to `/run/user/1000/gnunet-gnunet-runtime//gnunet-service-arm.sock'
Apr 01 11:40:14-720835 util-20016 DEBUG Expanded to filename `/run/user/1000/gnunet-gnunet-runtime//gnunet-service-arm.sock', *nix-expanding
Apr 01 11:40:14-720869 util-20016 DEBUG Filename result is `/run/user/1000/gnunet-gnunet-runtime//gnunet-service-arm.sock'
Apr 01 11:40:14-721045 util-20016 WARNING `stat' failed on file `/run/user/1000/gnunet-gnunet-runtime/' at disk.c:609 with error: Permission denied

Christian Grothoff

2014-04-01 14:12

manager   ~0008179

Fixed in SVN 32877.

Issue History

Date Modified Username Field Change
2014-04-01 12:56 Matthias Wachs New Issue
2014-04-01 12:58 Matthias Wachs Note Added: 0008175
2014-04-01 14:12 Christian Grothoff Note Added: 0008179
2014-04-01 14:12 Christian Grothoff Status new => resolved
2014-04-01 14:12 Christian Grothoff Fixed in Version => 0.10.1
2014-04-01 14:12 Christian Grothoff Resolution open => fixed
2014-04-01 14:12 Christian Grothoff Assigned To => Christian Grothoff
2014-04-01 14:13 Christian Grothoff Product Version => SVN HEAD
2014-04-01 14:13 Christian Grothoff Target Version => 0.10.1
2014-04-08 16:41 Christian Grothoff Status resolved => closed