Bug 33954 - Accept Router Advertisement (accept_ra) broken with bridge / bonding / vlan interfaces
Accept Router Advertisement (accept_ra) broken with bridge / bonding / vlan i...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Network
UCS 4.2
All Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-20 14:45 CET by Philipp Hahn
Modified: 2020-07-03 20:54 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): IPv6
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
proposed patch, slightly tested (2.65 KB, patch)
2014-01-20 14:45 CET, Philipp Hahn
Details | Diff
proposed patch v2, slightly tested (2.65 KB, patch)
2014-01-20 14:50 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-01-20 14:45:36 CET
Created attachment 5736 [details]
proposed patch, slightly tested

The interfaces are only created after /sbin/sysctl is run:

# screendump
Setting kernel variables ...error: "net.ipv6.conf.br0.accept_ra" is an unknown key
error: "net.ipv6.conf.XXXlandev0.accept_ra" is an unknown key
error: "net.ipv6.conf.dhcppt0.accept_ra" is an unknown key
error: "net.ipv6.conf.nfslan0.accept_ra" is an unknown key
error: "net.ipv6.conf.XXXlan0.accept_ra" is an unknown key
error: "net.ipv6.conf.XXXlanprod0.accept_ra" is an unknown key
error: "net.ipv6.conf.XXXlanint0.accept_ra" is an unknown key
error: "net.ipv6.conf.tslan0.accept_ra" is an unknown key
failed.
...
Setting up networking....
Configuring network interfaces...File: /etc/dhcp/dhclient.conf

# grep "Setting kernel variables\|Setting up networking" /etc/rcS.d/*
/etc/rcS.d/S30procps:           log_action_begin_msg "Setting kernel variables "
/etc/rcS.d/S39ifupdown:    log_begin_msg "Setting up networking..."


Setting "net.ipv6.conf.*.accept_ra" should be removed from "/etc/univention/templates/files/etc/sysctl.d/local.conf", as it is only executed once during server boot. It should be converted to writing an "up sysctl -w ...=[01]" line in /etc/network/interfaces, which is executed when the interface if brought up, whi univention-system-setup
Comment 1 Philipp Hahn univentionstaff 2014-01-20 14:50:07 CET
Created attachment 5737 [details]
proposed patch v2, slightly tested

Add "-q" to "sysctl -w".
Comment 2 Florian Best univentionstaff 2017-06-28 14:52:12 CEST
There is a Customer ID set so I set the flag "Enterprise Customer affected".
Comment 3 Ingo Steuwer univentionstaff 2020-07-03 20:54:02 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.