|
List Info
Thread: Re: fink, osx, and mysqld?
|
|
| Re: fink, osx, and mysqld? |
  United States |
2007-03-29 16:10:17 |
On 03/29/07 at 13:13, Alexander K. Hansen wrote:
> mikee wrote:
> >
> > That's neat. Is there a way to have 'daemonic'
start mysql now
> > without a reboot of the box or is that a feature
of 'launchctl'?
> >
> Nope--it's just to set things up for boot-time.
Daemons frequently are
> started manually the first time, or sometimes the
package installation
> can start them up.
Speaking of daemonic and launchctl/launchd, can anyone say
the status of
updating daemonic to support launchd on OS X 10.4 and above?
I see feature
requests for it in both daemonic's and Fink's trackers on
Sourceforge, and
it is listed in the 'Roadmap: Medium Term Goals' on the Fink
wiki. Daemonic
really should support the preferred method of controlling
daemons (not to
mention all the other neat stuff that launchd can do),
rather than using
only a deprecated method that is likely to disappear
altogether at some
point. I'm just curious about it at this point, I'm not
currently running
any Fink-installed daemons on any of my Tiger systems.
--
Christopher Bort
<topher thehundredacre.net>
<http://www.thehund
redacre.net/>
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
a>
|
|
| Re: fink, osx, and mysqld? |
  United States |
2007-03-29 18:01:54 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mar 29, 2007, at 5:10 PM, Christopher Bort wrote:
> On 03/29/07 at 13:13, Alexander K. Hansen wrote:
>
>> mikee wrote:
>>>
>>> That's neat. Is there a way to have 'daemonic'
start mysql now
>>> without a reboot of the box or is that a
feature of 'launchctl'?
>>>
>> Nope--it's just to set things up for boot-time.
Daemons
>> frequently are
>> started manually the first time, or sometimes the
package
>> installation
>> can start them up.
>
> Speaking of daemonic and launchctl/launchd, can anyone
say the
> status of
> updating daemonic to support launchd on OS X 10.4 and
above? I see
> feature
> requests for it in both daemonic's and Fink's trackers
on
> Sourceforge, and
> it is listed in the 'Roadmap: Medium Term Goals' on the
Fink wiki.
> Daemonic
> really should support the preferred method of
controlling daemons
> (not to
> mention all the other neat stuff that launchd can do),
rather than
> using
> only a deprecated method that is likely to disappear
altogether at
> some
> point. I'm just curious about it at this point, I'm not
currently
> running
> any Fink-installed daemons on any of my Tiger systems.
This is one of those things that everyone agrees is
something that
should be done but no one has actually gotten around to
doing it.
Part of the problem is that daemonic is old and crufty C
code which
few people really understand and upgrading to launchd
without
breaking existing packages is very tricky. The old
StartupItems
simply used shell scripts and therefore could do anything a
shell
script could do. Launchd is a lot more restrictive and needs
to track
the status of every process it's managing. For example, it's
not
uncommon for daemons to fork a new process and then quit.
That causes
launchd to have a nervous breakdown.
I've played with a couple of ideas but never come up with a
satisfactory replacement until now. It turns out that
MacPorts came
up with a good solution involving a utility called daemondo
and some
wrapper scripts. I'm working on a replacement daemonic
(written in
Perl for easier maintenance) now. No promises on how long
it'll
take.
There's a "daemondo" package in my experimental
cvs
directory in danielj/10.4/daemondo.info if anyone want's to
look at
it. It'll be part of my solution. Daemondo is actually a
pretty neat
program that will run programs in response to various system
notifications like network changes and wake-from-sleep in
addition to
acting as an adapter to launchd.
Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: http:/
/homepage.mac.com/danielj7/publickey.txt
iD8DBQFGDEVj4sDFGYouOqARAt3nAJ45rQWVz2FGPlSG/VO63VEQe6p0uwCg
jYgh
LNL725LHHS3wMW+x+OZHQ4I=
=uSYf
-----END PGP SIGNATURE-----
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
a>
|
|
| Re: fink, osx, and mysqld? |

|
2007-03-30 03:49:26 |
Hi Daniel!
On 30 Mar 2007, at 01:01, Daniel Johnson wrote:
> I've played with a couple of ideas but never come up
with a
> satisfactory replacement until now. It turns out that
MacPorts came
> up with a good solution involving a utility called
daemondo and some
> wrapper scripts. I'm working on a replacement daemonic
(written in
> Perl for easier maintenance) now. No promises on how
long it'll
> take. There's a
"daemondo" package in my experimental cvs
> directory in danielj/10.4/daemondo.info if anyone
want's to look at
> it. It'll be part of my solution. Daemondo is actually
a pretty neat
> program that will run programs in response to various
system
> notifications like network changes and wake-from-sleep
in addition to
> acting as an adapter to launchd.
>
Awesome! Does this mean that I finally can have 'postqueue
-f' run
every time my notebook gets connected to the internet? That
would
also be useful for automatically merging my elog's...
Ciao,
Roland
--
TU Muenchen, Physik-Department E18, James-Franck-Str., 85748
Garching
Telefon 089/289-12575; Telefax 089/289-12570
--
CERN office: 892-1-D23 phone: +41 22 7676540 mobile: +41 76
487 4482
--
Any society that would give up a little liberty to gain a
little
security will deserve neither and lose both. - Benjamin
Franklin
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS/CS/M/MU d-(++) s:+ a-> C+++ UL++++ P+++ L+++ E(+) W+
!N K- w--- M
+ !V Y+
PGP++ t+(++) 5 R+ tv-- b+ DI++ e+++>++++ h---- y+++
------END GEEK CODE BLOCK------
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
a>
|
|
| Re: fink, osx, and mysqld? |
  United States |
2007-03-30 06:43:21 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mar 30, 2007, at 4:49 AM, Roland Kuhn wrote:
> Hi Daniel!
>
> On 30 Mar 2007, at 01:01, Daniel Johnson wrote:
>
>> I've played with a couple of ideas but never come
up with a
>> satisfactory replacement until now. It turns out
that MacPorts came
>> up with a good solution involving a utility called
daemondo and some
>> wrapper scripts. I'm working on a replacement
daemonic (written in
>> Perl for easier maintenance) now. No promises on
how long it'll
>> take. There's a
"daemondo" package in my experimental cvs
>> directory in danielj/10.4/daemondo.info if anyone
want's to look at
>> it. It'll be part of my solution. Daemondo is
actually a pretty neat
>> program that will run programs in response to
various system
>> notifications like network changes and
wake-from-sleep in addition to
>> acting as an adapter to launchd.
>>
> Awesome! Does this mean that I finally can have
'postqueue -f' run
> every time my notebook gets connected to the internet?
That would
> also be useful for automatically merging my elog's...
Sure. From daemondo:
The argument restart-netchange will cause the daemon to be
restarted
when
the network configuration changes. This is a shortcut for
the more
verbose --restart-darwin-notify
com.apple.system.config.network_change.
You would have to set the restart command like:
--restart-cmd
postqueue -f ;
See the daemondo package description for details.
Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: http:/
/homepage.mac.com/danielj7/publickey.txt
iD8DBQFGDPfZ4sDFGYouOqARAr61AJ92FHje0l0mBqeIX+FFguZ7JSPc2QCf
Sf8b
yIYc22FSiGZTYWQXP4sbd74=
=WKes
-----END PGP SIGNATURE-----
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
a>
|
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|