Package: desktopcouch
Version: 1.0.7-1
Followup-For: Bug #629565

Today I really wanted access to my database, so I decided to see if
I could run couchdb from the commandline, as my normal user, using
the desktopcouch .ini files. I figured out this commandline:

        couchdb -a /etc/xdg/desktop-couch/compulsory-auth.ini -a 
~/config/desktop-couch/desktop-couchdb.ini

Which gave horrid stacktrace-ish error messages, and never started
listening on a port.

Until... I noticed that my user did not have read access to
/etc/couchdb.

        $ ls -ld /etc/couchdb
        drwxrwx--- 4 couchdb couchdb 4096 Jun 10 22:59 /etc/couchdb

I added myself to the couchdb group so I could read those config
files, and now I when I run

        /usr/lib/desktopcouch/desktopcouch-service

my desktopcouch works (just testing futon and the http interface.)

So, in conclusion, I think desktopcouch could be fixed by:

1) giving normal users read-only access to /etc/couchdb

or

2) shipping desktopcouch with a full config file, such that access
to /etc/couchdb is not required.


Next time I reboot, I'll try launching desktopcouch in the normal
way (it fails now, presumably because the dbus process hasn't
gotten in the couchdb group yet.)


Hope that helps. Please let me know if I can help out with further
testing/experiments.

Take care,    - Jason


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages desktopcouch depends on:
ii  couchdb                       1.1.0-1    RESTful document oriented database
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python-avahi                  0.6.30-3   Python utility package for Avahi
ii  python-couchdb                0.8-1      library for working with Apache Co
ii  python-dbus                   0.84.0-1   simple interprocess messaging syst
ii  python-gnomekeyring           2.30.2-1   Python bindings for the GNOME keyr
ii  python-gobject                2.28.4-1   Python bindings for the GObject li
ii  python-gtk2                   2.24.0-2   Python bindings for the GTK+ widge
ii  python-oauth                  1.0.1-3    Python library implementing of the
ii  python-simplejson             2.1.6-1    simple, fast, extensible JSON enco
ii  python-support                1.0.13     automated rebuilding support for P
ii  python-twisted-core           11.0.0-2   Event-based framework for internet
ii  python-xdg                    0.19-3     Python library to access freedeskt
ii  ubuntu-sso-client             1.0.8-1    Ubuntu Single Sign-On client

desktopcouch recommends no packages.

desktopcouch suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to