On Sun, Nov 17, 2019 at 04:36:07PM +0100, Christian Göttsche wrote: > Am So., 17. Nov. 2019 um 05:37 Uhr schrieb Adam Borowski > <kilob...@angband.pl>: > > autopkgtest [05:22:32]: test custom-run: [----------------------- > > == run #1 > > Potentially dangerous mode on config: 0664 > > error: Ignoring config because it is writable by group or others. > > Reading state from file: state > > Allocating hash table for state file, size 64 entries > > Creating new state > > > > Handling 0 logs > > Removing /tmp/autopkgtest.ZQUE0K/build.BFe/src/test.log from state file, > > because it does not exist and has not been rotated for one year > > == checking test.log > > == checking test.log.1 > > autopkgtest [05:22:33]: test custom-run: -----------------------] > > autopkgtest [05:22:33]: test custom-run: - - - - - - - - - - results - - - > > - - - - - - - > > custom-run FAIL non-zero exit status 1 > > Thanks for reviewing. > > Fixed in > https://salsa.debian.org/debian/logrotate/-/tags/debian%2F3.15.1-2+reupload1 > and re-uploaded to mentors.d.n .
Alas, it still fails, although with a different message: autopkgtest [23:30:01]: test custom-run: [----------------------- == run #1 reading config file config Reading state from file: state Allocating hash table for state file, size 64 entries Creating new state Handling 1 logs rotating pattern: /tmp/autopkgtest.EJZ8hM/build.wOv/src/test.log after 1 days (3 rotations) empty log files are rotated, old logs are removed considering log /tmp/autopkgtest.EJZ8hM/build.wOv/src/test.log error: skipping "/tmp/autopkgtest.EJZ8hM/build.wOv/src/test.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. Removing /tmp/autopkgtest.EJZ8hM/build.wOv/src/test.log from state file, because it does not exist and has not been rotated for one year autopkgtest [23:30:02]: test custom-run: -----------------------] autopkgtest [23:30:02]: test custom-run: - - - - - - - - - - results - - - - - - - - - - custom-run FAIL non-zero exit status 1 喵! -- ⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol, ⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month. ⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake, ⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.