[MXS-704] start/stop scripts use which in a non-silent manner Created: 2016-05-03 Updated: 2016-05-06 Resolved: 2016-05-06 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Packaging |
| Affects Version/s: | 1.4.3 |
| Fix Version/s: | 2.0.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Simon Mudd | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I notice on installing maxscale-1.4.3.1-1 (rpm) on CentOS 6: [user@host ~]$ sudo rpm -Uvh maxscale-1.4.3.1-1.centos.6.x86_64.rpm You use "which" to find something, but I think you're missing a '2>/dev/null' somewhere. On CentOS 6 systemctl does not exist, as it uses the old (traditional init scripts). I'm not sure if this breaks anything but certainly the install should I think be silent. |
| Comments |
| Comment by markus makela [ 2016-05-06 ] |
|
The scripts indeed did not redirect the error output which caused the error messages to appear during installation. |