Package: runit
Version: 2.1.2-19
Severity: normal

Hi Dmitry,

I have several log directories with more than 10 log files.
This is true when there are no config files and also when there is
a config file that sets `num' to 10.
The patch for #878476 (Fix spin lock on systems with poor clock) excluded
`.u' files from being deleted, and this fix highlighted that svlogd is
naming some or all log files as `timestamp.u' instead of `timestamp.s'.
I have no `processor' in place so this looks wrong to me.
Also, with a mix of `.t' and `.u' log files the number of old log
files is no longed guaranteed to be equal to `num'.

Some example below

# ls /var/log/socklog/main/
@400000005bec9d4312f06574.s  @400000005becbdb61a29ab84.s  
@400000005bfb1d87038ba954.s  config
@400000005beca56327c6e25c.s  @400000005becc5d20d12bbac.s  
@400000005c04f9792a66167c.u  current
@400000005becad7d096ee8cc.s  @400000005bf08a8011444bb4.s  
@400000005c05672f19f2cca4.u  lock
@400000005becb59a286cceec.s  @400000005bf1e6aa28b2ffac.u  
@400000005c0c14131dcfcc3c.u

# cat /var/log/socklog/main/config 
s999999
n10

# ls /var/log/git-daemon/
@400000005b998548043f1ad4.u  @400000005bec24580f89227c.u  
@400000005c0c14131d51beb4.u
@400000005bd6c9511b69cca4.u  @400000005bf1e6aa2881d9a4.u  current
@400000005be9f5cb053c62ac.u  @400000005c05672f1ad020cc.u  lock

#ls /var/log/openntpd/
@400000005b998548032ffc94.u  @400000005bf83e0606a08a74.s  
@400000005c07cc2238359084.s
@400000005bd6c9511c410a34.u  @400000005bfd27a1004150b4.s  
@400000005c0be372278ac3bc.s
@400000005be9f5cb03eb2e74.u  @400000005bffd5160718b814.s  
@400000005c0c14131d8716f4.u
@400000005bec24580dc9abb4.u  @400000005c02d1022e67248c.s  
@400000005c0fa55f0ec476d4.s
@400000005bf03e4023305e94.s  @400000005c032bcb2c921e3c.s  current
@400000005bf1e6aa287041bc.u  @400000005c04f9792a5447e4.u  lock
@400000005bf3fbac120daa7c.s  @400000005c05672f1990edf4.u

Am I missing something about the `processor' thing?


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages runit depends on:
ii  libc6         2.28-2
ii  runit-helper  2.7.3

Versions of packages runit recommends:
ii  runit-init  2.1.2-19

runit suggests no packages.

-- Configuration Files:
/etc/runit/3 changed [not included]

-- no debconf information

Reply via email to