Bug 45956 - interfaces/primary is not set after UCS 4.3 installation
interfaces/primary is not set after UCS 4.3 installation
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Jürn Brodersen
Philipp Hahn
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-27 15:01 CET by Stefan Gohmann
Modified: 2018-03-14 14:37 CET (History)
0 users

See Also:
What kind of report is it?: Development Internal
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2017-12-27 15:01:11 CET
The UCR variable interfaces/primary is not set after the UCS 4.3 installation.

It should be set to the "default" interface.
Comment 1 Stefan Gohmann univentionstaff 2017-12-27 19:58:37 CET
After fixing this issue, please undo the following commit:

https://git.knut.univention.de/univention/ucs/commit/96c451b1a731c5bdbe51d8890610f4f31fe4d930

services/univention-samba4:
* The UCR variable interfaces/primary is not set by default and the
  fallback eth0 does not always work in UCS 4.3. Thus, it is
  temporarily disabled for milestone 1 (Bug #45956)
Comment 2 Jürn Brodersen univentionstaff 2018-02-05 10:24:04 CET
f0c8cd16: Setup script to ensure interfaces/primary is set
8a3ed439: Remove workaround in univention-samba4

Note:
interfaces/primary is only set during a new installation. If the system is upgraded, the old naming scheme stays in place.

Does this need a changelog entry?
Comment 3 Stefan Gohmann univentionstaff 2018-02-05 14:39:41 CET
(In reply to Jürn Brodersen from comment #2)
> f0c8cd16: Setup script to ensure interfaces/primary is set
> 8a3ed439: Remove workaround in univention-samba4
> 
> Note:
> interfaces/primary is only set during a new installation. If the system is
> upgraded, the old naming scheme stays in place.
> 
> Does this need a changelog entry?

Yes, every code change in our maintained packages needs a changelog entry.
Comment 4 Jürn Brodersen univentionstaff 2018-02-06 15:11:51 CET
456905dc: changelog
Comment 5 Philipp Hahn univentionstaff 2018-02-13 11:21:50 CET
OK: f0c8cd16
OK: 8a3ed439
OK: <http://xen1.knut.univention.de:8000/packages/source/univention-samba4/?since=4.3>
OK: <http://xen1.knut.univention.de:8000/packages/source/univention-system-setup/?since=4.3>
OK: 456905dc
OK: ucs get interfaces/primary # ens3
Comment 6 Stefan Gohmann univentionstaff 2018-03-14 14:37:48 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".