Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
[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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.