Re: [PATCH] misc services patches with changes Dominick and Chris wanted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 28, 2021 at 6:07 PM Dominick Grift
<dominick.grift@xxxxxxxxxxx> wrote:
>
> Chris PeBenito <pebenito@xxxxxxxx> writes:
>
> > On 1/26/21 10:15 PM, Russell Coker wrote:
> >> I think this one is ready to merge.
> >> Signed-off-by: Russell Coker <russell@xxxxxxxxxxxx>
> >
> >
> >> @@ -170,6 +172,7 @@ ifdef(`distro_suse',`
> >>   /var/log/roundcubemail(/.*)?
> >> gen_context(system_u:object_r:httpd_log_t,s0)
> >>   /var/log/suphp\.log.* --
> >> gen_context(system_u:object_r:httpd_log_t,s0)
> >>   /var/log/z-push(/.*)?
> >> gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
> >> +/var/log/php7..-fpm.log --
> >> gen_context(system_u:object_r:httpd_log_t,s0)
> >
> > selint flagged this.  Is ".." intended to be 2 "." metacharacters?
>
> I would probably just do: /var/log/php.*-fpm\.log.* and get it over with

Or /var/log/php[0-9.]+-fpm\.log to match "something that looks like a
version". The problem with "." is that it can match a "/", for
subdirectories.

Nicolas




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux