[php-maint] Bug#828843: Bug#828843: sessionclean: please add "-xtype f" to find arguments

Ondřej Surý ondrej at sury.org
Tue Jun 28 15:43:10 UTC 2016


Control: forcemerge 827370 -1

We had discussion about it in #827370.

The updated sessionclean script is f.e. available from unstable, or
here: 

https://anonscm.debian.org/git/pkg-php/php5.git/tree/debian/sessionclean

Cheers,
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Potřeby pro pečení chleba
všeho druhu

On Tue, Jun 28, 2016, at 17:36, Clement Hermann wrote:
> Le 28/06/2016 à 17:23, Ondřej Surý a écrit :
> > Control: tags -1 +wontfix
> >
> > Hi Clément,
> >
> > I don't think this is a good idea, as it will cause find to access each
> > physical file
> <snip>
> > This would cause some serious performance degradation.
> Good catch. Definitely not wanted.
> 
> > However the new sessionclean script has 2>/dev/null redirection, so it
> > might also solve this kind of messages.
> 
> I'd like to test that, where can I find it ? adding 2>dev/null to the
> relevant find commands should indeed be enough and I don't forsee any
> problem with that,
> 
> Maybe we should rename this bug to "sessionclean:  harmless error on
> some platforms about missing files in /proc/<pid>/fd" and remove the
> wontfix tag ? And close this bug in the version this sessionclean will
> be in ?
> 
> Cheers !
> 
> -- 
> Clément (nodens)
> 



More information about the pkg-php-maint mailing list