[ZBX-17089] keep /etc/alternative/zabbix-web-font settings Created: 2019 Dec 16 Updated: 2019 Dec 17 Resolved: 2019 Dec 17 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | None |
| Affects Version/s: | 4.0.15 |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Trivial |
| Reporter: | tbsky | Assignee: | Jurijs Klopovskis |
| Resolution: | Won't fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
rhel7 |
||
| Description |
|
I link /etc/alternative/zabbix-web-font to some CJK font to show CJK characters. but everytime I upgrade zabbix 4.0.x rpm in RHEL7, I found /etc/alternative/zabbix-web-font reset to default. maybe I am doing wrong, I should use another method to specify zabbix web font. or the rpm upgrade should keep user settings? Steps to reproduce:
Result: ** /etc/alternative/zabbix-web-font link to default /usr/share/fonts/dejavu/DejaVuSans.ttf Expected: |
| Comments |
| Comment by Jurijs Klopovskis [ 2019 Dec 16 ] |
|
Hi, tbsky! Are you symlinking /etc/alternative/zabbix-web-font directly? Instead use update-alternatives --install /usr/share/zabbix/assets/fonts/graphfont.ttf zabbix-web-font <myfont> 10 to add an alternative font. Then select the font. update-alternatives --config zabbix-web-font See more here: https://linux.die.net/man/8/update-alternatives. Note that if you need a Japanese font, we have zabbix-web-japanese package just for that. |
| Comment by tbsky [ 2019 Dec 17 ] |
|
thanks a lot for your hint. so indeed I was doing wrong. I never fully understand how alternatives works. thanks again for your kindly help!
|