Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307623 - app-misc/beanstalkd-1.4.3 does not work out of the box due to permission issues
Summary: app-misc/beanstalkd-1.4.3 does not work out of the box due to permission issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-03 15:09 UTC by Hans de Graaff
Modified: 2010-06-02 09:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2010-03-03 15:09:08 UTC
1. emerge beanstalk 1.4.3
2. /etc/init.d/beanstalk start

 * Caching service dependencies ...                                                         [ ok ]
 * Starting beanstalkd ...
/usr/bin/beanstalkd: binlog.c:356 in binlog_open: Cannot open binlog /var/lib/beanstalkd/binlog.1: Permission denied
/usr/bin/beanstalkd: binlog.c:560 in ensure_free_space: make_future_binlog
/usr/bin/beanstalkd: binlog.c:751 in binlog_init: error making first writable binlog        [ ok ]


This happens because the default conf.d file specifies "beanstalk" as the uid to run the daemon, but the /var/lib/beanstalkd directory is 
drwxr-xr-x  2 root root 4096 2010-03-03 16:03 .

Changing ownership of the directory to "beanstalk" fixes this.
Comment 1 Patrick Lauer gentoo-dev 2010-06-02 09:25:16 UTC
+  02 Jun 2010; Patrick Lauer <patrick@gentoo.org>
+  +files/beanstalkd-werror-v2.patch, +files/init-1.4.6,
+  +beanstalkd-1.4.6.ebuild, metadata.xml:
+  Bump to 1.4.6, thanks to Johan Bergstroem. Fixes #310033 #307623 #300508
+  #297184. Taking over maintenance and adding Johan as proxy-maintainer