[campsite-dev] Correct location for campsite scripts autopublish, etc?
  • Perhaps the correct place for autopublish, notifyevents, etc, is /usr/sbin ?
    And they should only be run by root, right?
    Any comments?

    JP
  • 5 Comments sorted by
  • I added ticket 1517 to be fixed in 2.4

    --- John Pye wrote:
    > Perhaps the correct place for autopublish, notifyevents, etc, is /usr/sbin ?
    > And they should only be run by root, right?
    > Any comments?
    >
    > JP
    >





    __________________________________
    Yahoo! Mail - PC Magazine Editors' Choice 2005
    http://mail.yahoo.com
  • This is not a good idea. If sbin, than I vote for /usr/local/sbin
    But as all campsites binaries are in /usr/local/campsite/bin, than quite
    logical would be only two steps:
    Case 1) Put all campsite binaries to /usr/local/bin and /usr/local/sbin
    Case 2) Put all campsite binaries to /usr/local/campsite/bin
    and /usr/local/campsite/sbin

    Please try to keep it consistent.

    Ondra

    On Fri, 2005-10-28 at 04:42 -0700, Mugur Rus wrote:
    > I added ticket 1517 to be fixed in 2.4
    >
    > --- John Pye wrote:
    > > Perhaps the correct place for autopublish, notifyevents, etc, is /usr/sbin ?
    > > And they should only be run by root, right?
    > > Any comments?
    > >
    > > JP
    > >
    >
    >
    >
    >
    >
    > __________________________________
    > Yahoo! Mail - PC Magazine Editors' Choice 2005
    > http://mail.yahoo.com
  • That was my idea Ondra, I didn't mean to put them in /sbin!!!

    The default config will be: /usr/local/campsite/bin and
    /usr/local/campsite/sbin

    The user will be able to change the CAMPSITE_BIN and CAMPSITE_SBIN directories.

    Mugur

    --- Ondra Koutek wrote:
    > This is not a good idea. If sbin, than I vote for /usr/local/sbin
    > But as all campsites binaries are in /usr/local/campsite/bin, than quite
    > logical would be only two steps:
    > Case 1) Put all campsite binaries to /usr/local/bin and /usr/local/sbin
    > Case 2) Put all campsite binaries to /usr/local/campsite/bin
    > and /usr/local/campsite/sbin
    >
    > Please try to keep it consistent.
    >
    > Ondra
    >
    > On Fri, 2005-10-28 at 04:42 -0700, Mugur Rus wrote:
    > > I added ticket 1517 to be fixed in 2.4
    > >
    > > --- John Pye wrote:
    > > > Perhaps the correct place for autopublish, notifyevents, etc, is
    > /usr/sbin ?
    > > > And they should only be run by root, right?
    > > > Any comments?
    > > >
    > > > JP
    > > >
    > >
    > >
    > >
    > >
    > >
    > > __________________________________
    > > Yahoo! Mail - PC Magazine Editors' Choice 2005
    > > http://mail.yahoo.com
    >
    >





    __________________________________
    Yahoo! Mail - PC Magazine Editors' Choice 2005
    http://mail.yahoo.com
  • I think that the correct place for RPM-based installations is is
    /usr/bin, /usr/sbin etc. Only for ad-hoc software installation should
    one use /usr/local.

    JP

    Ondra Koutek wrote:

    >This is not a good idea. If sbin, than I vote for /usr/local/sbin
    >But as all campsites binaries are in /usr/local/campsite/bin, than quite
    >logical would be only two steps:
    >Case 1) Put all campsite binaries to /usr/local/bin and /usr/local/sbin
    >Case 2) Put all campsite binaries to /usr/local/campsite/bin
    >and /usr/local/campsite/sbin
    >
    >Please try to keep it consistent.
    >
    >Ondra
    >
    >On Fri, 2005-10-28 at 04:42 -0700, Mugur Rus wrote:
    >
    >
    >>I added ticket 1517 to be fixed in 2.4
    >>
    >>--- John Pye wrote:
    >>
    >>
    >>>Perhaps the correct place for autopublish, notifyevents, etc, is /usr/sbin ?
    >>>And they should only be run by root, right?
    >>>Any comments?
    >>>
    >>>JP
    >>>
    >>>
    >>>
    >>
    >>
    >>
    >>__________________________________
    >>Yahoo! Mail - PC Magazine Editors' Choice 2005
    >>http://mail.yahoo.com
    >>
    >>
    >
    >
    >
    >
  • IMHO Mugur's solution is best. Use local/campsite/bin[sbin] and for
    those who wish to, they can change location while being compilled.
    If this is done, you can always ad dproper parameters when building rpm
    package to redirect to /usr/bin[sbin]

    Ondra

    On Mon, 2005-10-31 at 23:37 +1100, John Pye wrote:
    > I think that the correct place for RPM-based installations is is
    > /usr/bin, /usr/sbin etc. Only for ad-hoc software installation should
    > one use /usr/local.
    >
    > JP
    >
    > Ondra Koutek wrote:
    >
    > >This is not a good idea. If sbin, than I vote for /usr/local/sbin
    > >But as all campsites binaries are in /usr/local/campsite/bin, than quite
    > >logical would be only two steps:
    > >Case 1) Put all campsite binaries to /usr/local/bin and /usr/local/sbin
    > >Case 2) Put all campsite binaries to /usr/local/campsite/bin
    > >and /usr/local/campsite/sbin
    > >
    > >Please try to keep it consistent.
    > >
    > >Ondra
    > >
    > >On Fri, 2005-10-28 at 04:42 -0700, Mugur Rus wrote:
    > >
    > >
    > >>I added ticket 1517 to be fixed in 2.4
    > >>
    > >>--- John Pye wrote:
    > >>
    > >>
    > >>>Perhaps the correct place for autopublish, notifyevents, etc, is /usr/sbin ?
    > >>>And they should only be run by root, right?
    > >>>Any comments?
    > >>>
    > >>>JP
    > >>>
    > >>>
    > >>>
    > >>
    > >>
    > >>
    > >>__________________________________
    > >>Yahoo! Mail - PC Magazine Editors' Choice 2005
    > >>http://mail.yahoo.com
    > >>
    > >>
    > >
    > >
    > >
    > >