Re: pkg issue after FreeBSD 11 upgrade

2017-11-07 Thread Cassiano Peixoto
Hi Baptiste, Sorry to bother you. Did you have some time to work on this thread? Thanks. On Wed, Aug 30, 2017 at 12:46 PM, Cassiano Peixoto < peixotocassi...@gmail.com> wrote: > Thank you for your support Baptiste, I really appreciate that. > > As same as HANDLE_RC_SCRIPTS option the new one

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Cassiano Peixoto
Thank you for your support Baptiste, I really appreciate that. As same as HANDLE_RC_SCRIPTS option the new one should be handled carefully. Please keep us posted when it's ready. On Wednesday, August 30, 2017, Baptiste Daroussin wrote: > On Wed, Aug 30, 2017 at 10:07:51AM

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Baptiste Daroussin
On Wed, Aug 30, 2017 at 10:07:51AM -0300, Cassiano Peixoto wrote: > Ok I know about HANDLE_RC_SCRIPTS, it's a good approach. But how to deal > with when I need to restart a service without upgrading? Reaper > functionnality is a trouble for many administrators who made meta ports to > manage their

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Chris Rees
Cassiano Peixoto wrote: Ok I know about HANDLE_RC_SCRIPTS, it's a good approach. But how to deal with when I need to restart a service without upgrading? Reaper functionnality is a trouble for many administrators who made meta ports to manage their servers. I really think it could be a option to

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Franco Fichtner
Hi Baptiste, > On 30. Aug 2017, at 3:05 PM, Baptiste Daroussin wrote: > >> No. At OPNsense we use a patch to revert the behaviour. >> >> https://github.com/opnsense/ports/blob/master/ports-mgmt/pkg/files/patch-libpkg_scripts.c > > Why and what is your use case, there is a

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Cassiano Peixoto
Hi Franco, Thank you. You know what I'm suffering. As I said in my last email I think it would be an option to enable/disable. I just upgraded my customers servers to FreeBSD 11 and I just realized it. I think when more admins who maintain this kind of port (needing to restart services), as soon

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Cassiano Peixoto
Ok I know about HANDLE_RC_SCRIPTS, it's a good approach. But how to deal with when I need to restart a service without upgrading? Reaper functionnality is a trouble for many administrators who made meta ports to manage their servers. I really think it could be a option to be enabled/disabled. Can

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Baptiste Daroussin
On Wed, Aug 30, 2017 at 03:01:30PM +0200, Franco Fichtner wrote: > Hi Cassiano, > > > On 30. Aug 2017, at 2:55 PM, Cassiano Peixoto > > wrote: > > > > Why it used to work on FreeBSD 10? It stopped worked on FreeBSD 11 only. > > It was a later 10.x change as far as I

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Franco Fichtner
Hi Cassiano, > On 30. Aug 2017, at 2:55 PM, Cassiano Peixoto > wrote: > > Why it used to work on FreeBSD 10? It stopped worked on FreeBSD 11 only. It was a later 10.x change as far as I know. > Is there some flag to disable it? Or some hack that I could do? No.

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Baptiste Daroussin
On Wed, Aug 30, 2017 at 09:55:22AM -0300, Cassiano Peixoto wrote: > Hi Baptiste, > > Why it used to work on FreeBSD 10? It stopped worked on FreeBSD 11 only. It only worked on FreeBSD 10 prior to 10.2, the reaper functionnality in freebsd kernel appeared in 10.2 > > Cron is just an example, I

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Cassiano Peixoto
Hi Baptiste, Why it used to work on FreeBSD 10? It stopped worked on FreeBSD 11 only. Cron is just an example, I manage more than 50 FreeBSD servers, and I've been using ports for years to update some configs and restart the service on all of them. Many times I need to change nginx config, ldap,

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Baptiste Daroussin
On Wed, Aug 30, 2017 at 09:00:55AM -0300, Cassiano Peixoto wrote: > Hi Matthew, > > Sorry back to this subject. But I really need to restart services with a > port. I'm quite sure there is a bug with pkg and FreeBSD 11. > > I made a simple port to restart cron service: It is not a bug, it is by

Re: pkg issue after FreeBSD 11 upgrade

2017-08-30 Thread Cassiano Peixoto
Hi Matthew, Sorry back to this subject. But I really need to restart services with a port. I'm quite sure there is a bug with pkg and FreeBSD 11. I made a simple port to restart cron service: # $FreeBSD$ PORTNAME= ze PORTVERSION=1.0 CATEGORIES= custom MASTER_SITES= # DISTFILES=