Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix E1031 udev rules not work for sonic os first boot after be installed #7043

Merged
merged 3 commits into from
Mar 13, 2021

Conversation

sandycelestica
Copy link
Contributor

@sandycelestica sandycelestica commented Mar 12, 2021

Why I did it

The udev rules does not work for sonic first boot.

How I did it

Use udevadm to trigger the udev rules on the first boot

How to verify it

  1. Connect C0 with E1031;
  2. Install or upgrade the sonic os to 202012 branch;
  3. When access to sonic check if /dev/C0-1 to /dev/C0-48 are existed.

Which release branch to backport (provide reason below if selected)

  • 202012

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

This file is used to trigger the udev rules when the first time sonic been installed and boot under E1031
This change is to run the reload_udev.sh to trigger the udev rules when first time sonic installed and boot. In case of the udev rules not work under this situation.
@sandycelestica sandycelestica requested a review from lguohan as a code owner March 12, 2021 11:51
@lguohan lguohan merged commit f938e7f into sonic-net:master Mar 13, 2021
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-buildimage that referenced this pull request May 23, 2021
…ter be installed (sonic-net#7043)

Use udevadm to trigger the udev rules on the first boot

How to verify:

- Connect C0 with E1031;
- Install or upgrade the sonic os to 202012 branch;
- When access to sonic check if /dev/C0-1 to /dev/C0-48 are existed.
qiluo-msft pushed a commit that referenced this pull request Jul 14, 2021
…ter be installed (#7043)

Use udevadm to trigger the udev rules on the first boot

How to verify:

- Connect C0 with E1031;
- Install or upgrade the sonic os to 202012 branch;
- When access to sonic check if /dev/C0-1 to /dev/C0-48 are existed.
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
…ter be installed (sonic-net#7043)

Use udevadm to trigger the udev rules on the first boot

How to verify:

- Connect C0 with E1031;
- Install or upgrade the sonic os to 202012 branch;
- When access to sonic check if /dev/C0-1 to /dev/C0-48 are existed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[console] udev rule not execute well due to permission issue
5 participants