Bugzilla – Bug 1143616
Fillup templates seem to be broken
Last modified: 2019-08-07 14:43:50 UTC
I've created a fillup template but it doesn't seem to be possible to install it. All I get is a very strange error: magrathea:~ # /bin/fillup -q /etc/sysconfig/prometheus /usr/share/fillup-templates/sysconfig.prometheus fillup: Exception in ../SRC/services.c, line 348 concerning file not opened https://build.opensuse.org/request/show/720033
touch /etc/sysconfig/prometheus is most likely missing. See the fillup macro how it is called.
I've fixed it. I needs to be %fillup_only -n prometheus However the error is quite strange. A better error message would be nice :-)
The problem is basically just lack of quoting in fillup_exception() (SRC/services.c:185). Instead of fillup: Exception in ../SRC/services.c, line 348 concerning file not opened it should be, fillup: Exception in '../SRC/services.c', line 348 concerning 'file not opened'