Hello community, here is the log from the commit of package pcsc-lite for openSUSE:Factory checked in at 2013-01-08 14:48:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcsc-lite (Old) and /work/SRC/openSUSE:Factory/.pcsc-lite.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcsc-lite", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/pcsc-lite/pcsc-lite.changes 2012-12-05 14:02:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pcsc-lite.new/pcsc-lite.changes 2013-01-08 14:48:05.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Jan 7 19:44:56 CET 2013 - [email protected] + +- Fix path to nologin in useradd (bnc#796242). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcsc-lite.spec ++++++ --- /var/tmp/diff_new_pack.Kpipok/_old 2013-01-08 14:48:06.000000000 +0100 +++ /var/tmp/diff_new_pack.Kpipok/_new 2013-01-08 14:48:06.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package pcsc-lite # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -159,7 +159,12 @@ %pre getent group %{GROUP} >/dev/null || groupadd -r %{GROUP} -getent passwd %{USER} >/dev/null || useradd -r -g %{GROUP} -s /bin/nologin -c "Smart Card Reader" -d /var/run/pcscd %{USER} +if getent passwd %{USER} >/dev/null ; then + # There was a bad login shell up to openSUSE 12.2 (bnc#796242), never in SLE. Fix it. + usermod -s /usr/sbin/nologin %{USER} +else + useradd -r -g %{GROUP} -s /usr/sbin/nologin -c "Smart Card Reader" -d /var/run/pcscd %{USER} +fi %if %suse_version > 1140 %service_add_pre pcscd.service pcscd.socket %endif -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
