arundaskd opened a new issue #1855: Doesn't work with SELinux in enforcing mode URL: https://github.com/apache/incubator-pagespeed-mod/issues/1855 When SELinux is in enforcing mode, I get the following errors and some filters not working. `[pagespeed:error] [pid 3969:tid 139713255986944] [mod_pagespeed 1.13.35.2-0 @3969] Failed to mkdir /var/cache/mod_pagespeed/ flush /bUBvUZ_Wi_svXCmxK86L.outputlock: No such file or directory` Tried the following, `semanage fcontext -a -t httpd_sys_rw_content_t "/var/cache/mod_pagespeed(/.*)?"` and `semanage fcontext -a -t httpd_cache_t "/var/cache/mod_pagespeed(/.*)?"` `restorecon -Rv /var/cache/mod_pagespeed/` After disabling SELinux, there were no errors but still some filters like `convert_png_to_jpeg, convert_jpeg_to_webp ` are not working. I can see the converted files inside `/var/cache/mod_pagespeed/`. Below is the debug > > mod_pagespeed on > Filters: > ah Add Head > cw Collapse Whitespace > cc Combine Css > jc Combine Javascript > gp Convert Gif to Png > jp Convert Jpeg to Progressive > jw Convert Jpeg To Webp > mc Convert Meta Tags > pj Convert Png to Jpeg > ws When converting images to WebP, prefer lossless conversions > db Debug > ec Cache Extend Css > ei Cache Extend Images > es Cache Extend Scripts > fc Fallback Rewrite Css > if Flatten CSS Imports > hw Flushes html > ci Inline Css > ii Inline Images > il Inline @import to Link > ji Inline Javascript > js Jpeg Subsampling > pr Prioritize Critical Css > rj Recompress Jpeg > rp Recompress Png > rw Recompress Webp > rc Remove Comments > ri Resize Images > cf Rewrite Css > jm Rewrite External Javascript > jj Rewrite Inline Javascript > cu Rewrite Style Attributes With Url > is Sprite Images > cp Strip Image Color Profiles > md Strip Image Meta Data > > Options: > EnableRewriting (e) 1 > FileCacheInodeLimit (afcl) 500000 > RewriteLevel (l) Core Filters > RunExperiment (fur) False > StatisticsLogging (asle) True > SupportNoScriptEnabled (snse) False > XHeaderValue (xhv) Powered By Google PageSpeed > > #NumFlushes 0 > #EndDocument after 2011us > #Total Parse duration 1914us > #Total Render duration 14808us > #Total Idle duration 97us > No critical images detected. > The following filters were disabled for this request: > CriticalSelectorFilter: No critical selector info in cache > Anyone got any idea, why images not converted to .webp ? I checked the source, there isn't any reference for .webp
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
