Bug ID 1172521
Summary timezone modifies a file below /usr/share
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee screening-team-bugs@suse.de
Reporter kukuk@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

%post
if [ ! -L /usr/share/zoneinfo/posixrules ]; then
   rm -f /usr/share/zoneinfo/posixrules
   ln -sf /etc/localtime /usr/share/zoneinfo/posixrules
fi
if [ -e /usr/share/zoneinfo/posixrules.rpmnew ]; then
   rm -f /usr/share/zoneinfo/posixrules.rpmnew
fi

%files
%defattr(-,root,root)
%verify(not link md5 size mtime) %config(missingok,noreplace) /etc/localtime
%verify(not link md5 size mtime) %{_datadir}/zoneinfo/posixrules


With read-only root filesystems and transactional-updates, this is a bad idea.
Since this is pretty old code looking like some update cleanup, I question if
we need that at all or couldn't remove it completely.


You are receiving this mail because: