[opensuse-factory] postinstall script of syslog-ng-3.9.1-16.2.i586.rpm failed

Hi, Recently I started to see syslog-ng package failing on Tumbleweed. Looking at the logs I see, that the packages are generated, but at the end: [ 359s] ... testing for pre/postinstall scripts that are not idempotent [ 359s] Updating /etc/sysconfig/syslog ... [ 359s] chown: invalid user: 'news:news' [ 359s] postinstall script of syslog-ng-3.9.1-16.2.i586.rpm failed The offending part of the syslog-ng post install script seems to be: " test -f var/log/news && mv -f var/log/news var/log/news.bak mkdir -p -m 0750 var/log/news chown news:news var/log/news touch var/log/news/news.crit; chmod 640 var/log/news/news.crit chown news:news var/log/news/news.crit touch var/log/news/news.err; chmod 640 var/log/news/news.err chown news:news var/log/news/news.err touch var/log/news/news.notice; chmod 640 var/log/news/news.notice chown news:news var/log/news/news.notice " Question: what is the correct fix here? Is "news" completely depreciated? In that case I can remove this section completely. Or the files are necessary, but news was removed from the password file and I should just remove the chown part? Bye, CzP -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Mon, Apr 03, 2017 at 01:14:38PM +0200, Peter Czanik wrote:
No, you need to however require the user and group news now in Factory. I SRed 484847 Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Hi, On Mon, Apr 03, Peter Czanik wrote:
%if 0%{?suse_version} >= 1330 Requires(XXX): user(news) Requires(XXX): group(news) %endif Where XXX is either pre or post, depending on your spec file. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Mon, Apr 03, Jan Engelhardt wrote:
For the same as in %pre: if you call chown news:news, the user and group must be there. pre/post are here important for the solver, in which order he has to install and deinstall packages. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2017-04-03 a las 13:14 +0200, Peter Czanik escribió:
Question: what is the correct fix here? Is "news" completely depreciated?
No, but you need to install a news package. Leafnodde, inn... - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljjaXIACgkQja8UbcUWM1xeVAD+O/zxqOaTukLwAo8O+A/h0Egs R27jxbzpzkoUerhwI5MA/jT/ib3BKXagf4nxjdss4j0rwNPmos+jl5ZxziDvuoDy =ymoU -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-04-04 11:50, Manfred Hollstein wrote:
No, you misunderstand. Didn't you read the part I quoted? I responded only to the part: «Is "news" completely depreciated?» - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF0EAREIAAYFAljjdrAACgkQja8UbcUWM1xuuQEAkOiwp3joPYYfaGD0IzRa9fdi 3DoREs9jaE34obnZpmoA91RJanntCe7r/V1xgNNMm1WSmZNCSfPEySuo8HL5Bno= =/k9J -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Mon, Apr 03, 2017 at 01:14:38PM +0200, Peter Czanik wrote:
No, you need to however require the user and group news now in Factory. I SRed 484847 Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

Hi, On Mon, Apr 03, Peter Czanik wrote:
%if 0%{?suse_version} >= 1330 Requires(XXX): user(news) Requires(XXX): group(news) %endif Where XXX is either pre or post, depending on your spec file. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

On Mon, Apr 03, Jan Engelhardt wrote:
For the same as in %pre: if you call chown news:news, the user and group must be there. pre/post are here important for the solver, in which order he has to install and deinstall packages. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2017-04-03 a las 13:14 +0200, Peter Czanik escribió:
Question: what is the correct fix here? Is "news" completely depreciated?
No, but you need to install a news package. Leafnodde, inn... - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljjaXIACgkQja8UbcUWM1xeVAD+O/zxqOaTukLwAo8O+A/h0Egs R27jxbzpzkoUerhwI5MA/jT/ib3BKXagf4nxjdss4j0rwNPmos+jl5ZxziDvuoDy =ymoU -----END PGP SIGNATURE-----
participants (6)
-
Carlos E. R.
-
Jan Engelhardt
-
Manfred Hollstein
-
Marcus Meissner
-
Peter Czanik
-
Thorsten Kukuk