Actions
Bug #10162
closedBug #10131: rudder-relay has bad "sed" line
Rudder apache common conf is not packaged correctly on rpm
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Two issues here,
apache file is not modified correctly on SLES:
sed -i 's%^DocumentRoot /var/www$%DocumentRoot /srv/www%' /usr/src/rudder-packages/package/BUILD//usr/src/rudder-packages/package/SOURCES/rudder-apache-relay-common.conf sed: can't read /usr/src/rudder-packages/package/BUILD//usr/src/rudder-packages/package/SOURCES/rudder-apache-relay-common.conf: No such file or directory
And it is not found after when packaging it (ie on RHEL, but would be the same on sles if it didn't fail before):
install: cannot stat `/usr/src/rudder-packages/package/BUILD//usr/src/rudder-packages/package/SOURCES/rudder-apache-relay-common.conf': No such file or directory
I suggest we should move the sed into the prepare section, where we prepare sources for build
Actions