Opened 5 years ago

Closed 5 years ago

#165 closed System Defect (fixed)

Services problem

Reported by: yerenkow Owned by: kris
Priority: major Milestone: 8.0
Component: Service Manager Version: 8.0-ALPHA
Keywords: Cc: trac-bugs@…

Description

Service can be set to autostart (record in rc.conf)
and can be not auto-started.
If service is not auto-started, buttons "Start", "Restart"
simply notworking, due to freebsd architect.

Change History (5)

comment:1 Changed 5 years ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in trunk and trunk-current

http://trac.pcbsd.org/changeset/3880

comment:2 Changed 5 years ago by yerenkow

  • Resolution fixed deleted
  • Status changed from closed to reopened

Intruding in /etc/rc.conf I think is wrong;
How about detect if service enabled, if not - then start command like this:

/etc/rc.d/{service} forcestart

it's pretty well documented in /etc/rc.subr

This would be nicer solution than exists one.

comment:3 Changed 5 years ago by yerenkow

  • Milestone set to 8.0
  • Version changed from 7.0-DEV to 8.0-ALPHA

comment:4 Changed 5 years ago by yerenkow

  • Owner set to kris
  • Status changed from reopened to new

comment:5 Changed 5 years ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in SVN, if you see this failing again in the future, please reopen and provide specifics about which service is broken. Seems to work fine here now.

Note: See TracTickets for help on using tickets.