(consider cases when admin boots from livecd and starts installing pld over ssh)
Changed files:
libutempter.spec -> 1.53
Summary(uk): ðÒÉצÌÅÊÏ×ÁÎÁ ÐÒÏÇÒÁÍÁ ÄÌÑ ×ÎÅÓÅÎÎÑ ÚͦΠÄÏ utmp/wtmp
Name: utempter
Version: 0.5.5
-Release: 5
+Release: 5.1
License: MIT or LGPL
Group: Base
Source0: %{name}-%{version}.tar.gz
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+if [ ! -f /var/run/utmpx ]; then
+ umask 2
+ touch /var/run/utmpx
+ chown root.utmp /var/run/utmpx
+ chmod 0664 /var/run/utmpx
+fi
+
%postun -p /sbin/ldconfig
%files