pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/39713
The following reply was made to PR pkg/39713; it has been noted by GNATS.
From: Roy Marples <roy%marples.name@localhost>
To: Matthias Scheler <tron%NetBSD.org@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/39713
Date: Wed, 25 Feb 2009 13:56:33 +0000
--=_d2d96b256aa62ab161efd8878c6c82f7
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
On Wed, 25 Feb 2009 12:20:25 +0000, Matthias Scheler
<tron%NetBSD.org@localhost>
wrote:
> That patch below will break support for platforms which don't have
> "/etc/rc.subr" available. This would be a major regression for users
> of these platforms.
I wasn't aware that supporting non rc.subr systems was a requirement for
rcd scripts.
Anyway, this new patch supports just that.
With rc.subr httpd is started by the supporting framework like other
daemons.
As such, it starts, stops and restarts correctly without racing (in my
testing).
Without rc.subr, we still use apachectl which is race prone.
Thanks
Roy
--=_d2d96b256aa62ab161efd8878c6c82f7
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream;
name*="UTF-8''apache.sh.diff";
Content-Disposition: attachment;
filename*="UTF-8''apache.sh.diff";
SW5kZXg6IGFwYWNoZS5zaAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3Zzcm9vdC9wa2dzcmMvd3d3
L2FwYWNoZTIyL2ZpbGVzL2FwYWNoZS5zaCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4yCmRpZmYg
LXUgLXAgLXIxLjIgYXBhY2hlLnNoCi0tLSBhcGFjaGUuc2gJMTIgT2N0IDIwMDggMTI6MjI6MjUg
LTAwMDAJMS4yCisrKyBhcGFjaGUuc2gJMjUgRmViIDIwMDkgMTM6NDk6MDQgLTAwMDAKQEAgLTUs
NTMgKzUsMzIgQEAKICMgUFJPVklERTogYXBhY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