Bug 38593 - Net mask (=255.255.254.0) is not applied correctly during setup wizard
Net mask (=255.255.254.0) is not applied correctly during setup wizard
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Setup wizard
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-2-errata
Assigned To: Florian Best
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-22 16:43 CEST by Alexander Kläser
Modified: 2015-07-16 14:24 CEST (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback, Troubleshooting, Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2015-05-22 16:43:33 CEST
See Ticket#2015052021000511.

The user configured the netmask to be 255.255.254.0 and needed to reapply the netmask in the network settings module afterwards. It seems that during this step, the proxy configuration got lost and had to be reconfigured in a third step.
Comment 1 Florian Best univentionstaff 2015-07-03 15:23:23 CEST
Reported again, Ticket#2015070221000391
Comment 2 Florian Best univentionstaff 2015-07-03 15:34:40 CEST
The network is wrong calculated:
interfaces/eth0/network: 10.200.26.0
interfaces/eth0/address: 10.200.27.102
interfaces/eth0/netmask: 255.255.254.0
Comment 3 Florian Best univentionstaff 2015-07-03 16:04:06 CEST
(In reply to Florian Best from comment #2)
i.e.: instead of netmask 31 (255.255.255.254) there is 26 255.255.254.0
Comment 4 Florian Best univentionstaff 2015-07-03 16:45:39 CEST
Proxy settings are always removed when changing any setting in system-setup:
+ continue
/usr/lib/univention-system-setup/scripts/30_net/18proxy: line 43: continue: only meaningful in a `for', `while', or `until' loop
Comment 5 Florian Best univentionstaff 2015-07-03 17:09:26 CEST
My information in comment #2 and #3 were wrong. I had a typo.

Fixed the setting of proxy.
The netmask is not overwriten by '255.255.255.0' when it is already set manually.

univention-system-setup (8.1.69-14):
r61760 | Bug #38593: don't remove proxy, don't overwrite netmask if already

2015-07-03-univention-system-setup.yaml:
r61761 | YAML Bug #38593
Comment 6 Florian Best univentionstaff 2015-07-08 16:24:35 CEST
r61903 | Bug #38593: fix parsing of netmask for virtual interfaces
Comment 7 Philipp Hahn univentionstaff 2015-07-08 16:40:30 CEST
OK: 2015052021000511
OK: r61760 r61761 r61903
OK: 30_net/18proxy → survives update
OK: Change IP, Netmask, IP → Netmask is not set to /24
OK: apt-get install univention-system-setup # 8.1.69-18.905.201507081625

FIXED: 2015-07-03-univention-system-setup.yaml → r61886
OK errata-announce --validate-bugzilla -V 2015-07-03-univention-system-setup.yaml
Comment 8 Janek Walkenhorst univentionstaff 2015-07-16 14:24:55 CEST
<http://errata.univention.de/ucs/4.0/243.html>