Bug 1222169 - Packaging Error in system-user-zabbix-6.0.27-1.1.noarch package prevents upgrade
Summary: Packaging Error in system-user-zabbix-6.0.27-1.1.noarch package prevents upgrade
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: All openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Boris Manojlovic
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1219801
  Show dependency treegraph
 
Reported: 2024-03-29 19:10 UTC by mhurron
Modified: 2024-03-30 10:30 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mhurron 2024-03-29 19:10:02 UTC
Installation of system-user-zabbix-6.0.27-1.1.noarch produces the following output 

(151/577) Installing: system-user-zabbix-6.0.27-1.1.noarch [..
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/system-user-zabbix.conf -
-:1: Unknown modifier 'margin-bottom:'.
-:2: Unknown modifier 'min-width:'.
-:3: Unknown modifier 'min-width:'.
-:4: Unknown modifier 'margin-left:'.
-:5: Unknown modifier 'margin-right:'.
-:6: Unknown modifier 'ru:'.
-:7: Unknown modifier 'min-height:'.
-:8: Unknown modifier 'max-height:'.
-:9: Unknown modifier 'margin-top:'.
-:10: Unknown modifier 'margin-right:'.
-:11: Unknown modifier 'method:'.
error: %prein(system-user-zabbix-6.0.27-1.1.noarch) scriptlet failed, exit status 1
error: system-user-zabbix-6.0.27-1.1.noarch: install failed
error]
Installation of system-user-zabbix-6.0.27-1.1.noarch failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Comment 1 mhurron 2024-03-29 20:34:04 UTC
Downloading system-user-zabbix-6.0.27-1.1.noarch and expanding it reveals that /usr/lib/sysusers.d/system-user-zabbix.conf is an HTML page of the 'Release Notes for Zabbix 6.0.0'

:~/test/usr/lib/sysusers.d> head system-user-zabbix.conf
<!DOCTYPE html>
<html lang='en'>

<head>

<meta charset="utf-8">

<title>Release Notes for Zabbix 6.0.0</title>

Looks like a packaging error.
Comment 2 Andreas Stieger 2024-03-30 08:10:05 UTC
Slipped through https://build.opensuse.org/request/show/1160721

> Source1:        rn6.0.0.html
> [...]
> Source16:       system-user-zabbix.conf
> [...]
> %build
> %sysusers_generate_pre %{SOURCE1} zabbix system-user-zabbix.conf
> [...]
> %install
> install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-zabbix.conf

Looks like this was supposed to be 16, not 1. Boris?
Comment 3 Andreas Stieger 2024-03-30 08:31:02 UTC
https://build.opensuse.org/request/show/1163650
Comment 4 Andreas Stieger 2024-03-30 08:32:30 UTC
the file itself seems incorrect

-:1: Lines of type 'g' don't take a GECOS field.
-:2: Lines of type 'g' don't take a GECOS field.
Comment 5 Boris Manojlovic 2024-03-30 09:47:29 UTC
issue fixed in 
https://build.opensuse.org/request/show/1163657
will take few days for build but tested and working
Comment 6 Boris Manojlovic 2024-03-30 09:50:11 UTC
https://build.opensuse.org/request/show/1163658 push request to factory
Comment 7 Andreas Stieger 2024-03-30 10:30:16 UTC
Will be fixed in 6.0.28 package
https://build.opensuse.org/request/show/1163673