View Issue Details

IDProjectCategoryView StatusLast Update
0016623CentOS-7sysstatpublic2019-10-21 00:42
Reporteryoshihiko 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0016623: sa1 remove unrelated files
Descriptionhttps://git.centos.org/rpms/sysstat/blob/c7/f/SOURCES/sysstat-10.1.5-overwrite-sa.patch#_32
patch add else case but it don’t change directory So that this code delete current directory file.

in the first place I think unnecessary this processing.
because following code has same meaning.
https://github.com/sysstat/sysstat/blob/master/sadc.c#L834-L840
Steps To Reproducecan be reproduced by next step:

1. change root
# sudo -i
2. create sa file with today’s name
# cd ~/; touch -t 197001010000 sa`date +%d`
3. run sa1
# /usr/lib64/sa/sa1

current file is deleted
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-10-19 07:45 yoshihiko New Issue