Comments (5)
Does gross (user) have write permission to /var/lib/gross directory? Try
creating /var/db/gross (or something similar), and then give write permission
to gross user to that directory. Then, configure statefile to be created in
that directory and run grossd -C.
However, I don't see how statefile creation could fail without grossd
complaining. (Statefile is created in create_statefile() function in srvutils.c)
Original comment by [email protected]
on 5 Feb 2011 at 12:33
- Added labels: ****
- Removed labels: ****
from gross.
The gross user has write permissions to /var/lib/gross, as shown by
results of the above line '6. sudo ls
-la /var/run/gross/gross.pid /var/lib/gross'.
I did create /var/db/gross and chown'ed it to gross and the
results were are the same.
It seems to be related with the following line in file src/gross.c:
if ((ctx->config.flags & FLG_CREATE_STATEFILE) ==
FLG_CREATE_STATEFILE) {
Otherwise we should be seeing some output from:
} else {
daemon_shutdown(EXIT_FATAL, "statefile not
configured");
Anyway I think that, for now, we will abandon Gross.
It follows a nice idea, but at least in Linux it does not seem to be
mature enough and does not justify the time lost with it.
Best wishes,
M.
Original comment by [email protected]
on 5 Feb 2011 at 5:42
- Added labels: ****
- Removed labels: ****
from gross.
Could you please run grossd -C with strace and send me the output? You can mail
the trace to me directly if you are not comfortable to attach it here.
Also, I'd be grateful if you told me what you think is not "mature enough in
Linux". I ask because I'm not aware of any current stability issues.
Original comment by [email protected]
on 5 Feb 2011 at 6:21
- Added labels: ****
- Removed labels: ****
from gross.
[SOLVED] please close ticket.
The Ubuntu Gross .deb package postinst uses 'install -d -o gross -g gross -m
0700 /var/lib/gross' to create the /var/lib/gross directory in which the
statefile should be stored.
In Ubuntu (at least with with apparmor on and using strict permissions
enforcement), one must assure that sudoers & apparmor are configured to permit
'sudo -u gross /usr/sbin/grossd -C' to use the /var/lib/gross directory.
Original comment by [email protected]
on 6 Feb 2011 at 11:42
- Added labels: ****
- Removed labels: ****
from gross.
Great that you found a solution.
Original comment by [email protected]
on 6 Feb 2011 at 11:53
- Changed state: Invalid
- Added labels: ****
- Removed labels: ****
from gross.
Related Issues (20)
- grossd dies under Linux HOT 1
- freebsd port broken HOT 2
- Old linux needed additional #include's to compile HOT 1
- lock_t conficts on some platforms HOT 1
- accept(): Too many open files HOT 2
- Separate policy servers and greylisting engine HOT 3
- grossd does not call initgroups() prior setgid() HOT 3
- grossd dies when filter_bit > 24 HOT 6
- [deleted issue]
- could you push a new version with the current commits made? HOT 1
- gross can not be compiled under glibc >= 2.10.1 HOT 1
- Implement {auth_authen}, {verify} and {cert_subject} Milter macros
- SPF check Whitelisting HOT 1
- grossd with postfix crash HOT 1
- Add a recipient based whitelist HOT 9
- flexible gerylisting delay based on dnsbl score
- include/utils.h getline naming issues HOT 3
- Support listening on unix sockets HOT 1
- Add header line for clients in RBL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gross.