Bug 48058 - UCS Docker image: Netmask could not be verified
UCS Docker image: Netmask could not be verified
Status: CLOSED DUPLICATE of bug 46665
Product: UCS
Classification: Unclassified
Component: Docker
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Arvid Requate
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-26 11:55 CEST by Nico Gulden
Modified: 2023-01-26 11:31 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018091821000986, 2019030521000527, 2019031221000791, 2019011221000026
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2018-10-26 11:55:10 CEST
A user reported about the docker image that the locale is not set correctly.

The container is started with:

sudo docker run -it --name ucs-master -h ucs-master --restart=unless-stopped -p 8020:80 \
-e "TZ=Europe/Berlin" \
-e domainname=master.fritz.box \
-e rootpwd=pass \
-e container=docker \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
--tmpfs /run --tmpfs /run/lock \
--cap-add=SYS_ADMIN \
-d univention/ucs-master-amd64:latest /sbin/init

After applying workaround in Bug #48057 a new message appeared saying "Netmask could not be verified". In Docker console, lookup with "ucr search netmask" said it was empty. A >ucr set interfaces/eth0/netmask="255.255.0.0"< fixed it.
Comment 1 Arvid Requate univentionstaff 2019-05-28 18:11:40 CEST
Has been in univention/ucs-master-amd64:4.4-0 , which is tagged as "latest" currently and will get pulled by default.

The fix happend with commit c7ece8de3b to package uinvention/ucs/container/univention-docker-container-mode and then building new images.

It's not fixed in the 4.3-2 images.

*** This bug has been marked as a duplicate of bug 46665 ***