Bug #1983
DNS configure module triggers non-existing event
Status: | CLOSED | Start date: | 05/28/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 05/28/2013 | |
Assignee: | - | % Done: | 100% | |
Category: | nethserver-hosts | |||
Target version: | v6.4-beta2 | |||
Security class: | Resolution: | |||
Affected version: | v6.4-beta1 | NEEDINFO: | No |
Description
Reproducibility:
- DNS and DHCP > DNS > "Configure"
- edit Primary/Secondary DNS IP
- Save
If nethserver-dnsmasq
is not installed an error occurs:
[ERROR] Nethgui\System\NethPlatform: process `nethserver-dnsmasq-save-51a483272a609` on queue `post-process` exited with code 2
nethserver-dnsmasq-save
event is missing.
Related issues
Associated revisions
nethserver-hosts-save event: expand /etc/resolv.conf when Hosts\Dns\Configure UI form is saved. Refs #1983
History
#1 Updated by Davide Principi about 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 100
#2 Updated by Davide Principi about 8 years ago
In testing
repo: nethserver-hosts-1.0.3-1.ns6.noarch.rpm
#3 Updated by Davide Principi about 8 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Davide Principi) - % Done changed from 70 to 80
In nethserver-testing
repo:
nethserver-hosts-1.0.3-1.ns6.noarch.rpm
Test case
Prerequisites are NethServer 6.4 beta1 with nethserver-hosts-1.0.3
, without nethserver-dnsmasq
.
- Open server-manager "DNS & DHCP" module
- Change primary and/or secondary DNS address in DNS > Configure tab
- Save
# cat /etc/resolv.conf <your DNS settings>
#4 Updated by Giacomo Sanchietti about 8 years ago
- Assignee set to Giacomo Sanchietti
#5 Updated by Giacomo Sanchietti about 8 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 80 to 100
Extract from log messages after changing dns values:
Jul 4 14:58:51 localhost /sbin/e-smith/db[16788]: /var/lib/nethserver/db/configuration: OLD dns=configuration|NameServers|192.168.1.252,192.168.1.253|role|resolver Jul 4 14:58:51 localhost /sbin/e-smith/db[16788]: /var/lib/nethserver/db/configuration: NEW dns=configuration|NameServers|192.168.1.252|role|resolver Jul 4 14:58:51 localhost esmith::event[16790]: Processing event: nethserver-hosts-save Jul 4 14:58:51 localhost esmith::event[16790]: Running event handler: /etc/e-smith/events/actions/generic_template_expand Jul 4 14:58:51 localhost esmith::event[16790]: expanding /etc/resolv.conf Jul 4 14:58:52 localhost esmith::event[16790]: generic_template_expand=action|Event|nethserver-hosts-save|Action|generic_template_expand|Start|1372949931 777628|End|1372949932 47926|Elapsed|0.270298
Marking VERIFIED
#6 Updated by Davide Principi about 8 years ago
- Status changed from VERIFIED to CLOSED
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 90 to 100
Moved to nethserver-updates repository