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

Clement Hermann nodens at nodens.org
Tue Jun 28 14:13:31 UTC 2016


tags 828843 + patch

Here is a (trivial) patch against the current git.

My tests show no problem with this config so far (it just prevents find
to take into account links to point to anything that isn't a regular file).

Cheers,

-- 
nodens

Le 28/06/2016 à 14:36, Clément Hermann a écrit :
> Package: php5-common
> Version: 5.6.22+dfsg-1
> Severity: normal
>
> Hi,
>
> in some cases (here: joyent smartos LX zone), there could be broken
> links in /proc/<pid>/fd. On LX zones, for instance, deleted files still
> show a fd link but no destination (on a proper linux kernel, it would
> say "deleted: <path to deleted file>").
>
> This causes (harmless) errors in the session clean script cron job. It's
> easy to fix by adding "-xtype f" to the find command arguments, to
> prevent find to take broken link into account.
>
> Thanks !
>


-- 
Clément (nodens)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20160628/eb2f3143/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian_sessionsave.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20160628/eb2f3143/attachment.bin>


More information about the pkg-php-maint mailing list