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

SLES12 SP1 network device name not changed in recover mode #958

Closed
gozora opened this issue Aug 11, 2016 · 2 comments
Closed

SLES12 SP1 network device name not changed in recover mode #958

gozora opened this issue Aug 11, 2016 · 2 comments
Labels
bug The code does not do what it is meant to do enhancement Adaptions and new features fixed / solved / done
Milestone

Comments

@gozora
Copy link
Member

gozora commented Aug 11, 2016

  • rear version (/usr/sbin/rear -V): Relax-and-Recover 1.18 / Git
  • OS version (cat /etc/rear/os.conf or lsb_release -a): SUSE Linux Enterprise Server 12 SP1
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf): Not needed
  • Brief description of the issue: udevadm trigger does not rename network devices
  • Work-around, if any:
    udevadm trigger --action=add && systemctl daemon-reload

Hi guys, I was poking around a bit around issue #951, and during very early stage I've run into interesting behavior. Once recovery media boot was near to finish, 55-migrate-network-devices.sh lunch asked me to remap old network device to new one. It looks like this action finished successfully but it doesn't.

The thing is that after /etc/udev/rules.d/70-persistent-net.rules was modified and udevadm trigger was called, my network device name was not changed. After a bit of playing around, following worked for me:

udevadm trigger --action=add
systemctl daemon-reload

I'm not sure now if this is related to SLES12 or systemd, so if you have some distro using systemd, could you check if by changing /etc/udev/rules.d/70-persistent-net.rules and calling udevadm trigger works for you?

Thanks

V.

@jsmeix jsmeix added enhancement Adaptions and new features bug The code does not do what it is meant to do fixed / solved / done labels Aug 11, 2016
@jsmeix jsmeix added this to the Rear v1.19 milestone Aug 11, 2016
@jsmeix
Copy link
Member

jsmeix commented Aug 11, 2016

With #959 merged
this issue should be fixed.

@gozora
many thanks for your continuous improvements!

@jsmeix jsmeix closed this as completed Aug 11, 2016
@gozora
Copy link
Member Author

gozora commented Aug 11, 2016

You are always welcome!
@jsmeix I love "The Enterprise Way" how you closed this issue :-D
Anyhow, I can confirm same behavior on Debian with systemd so this fix should indeed help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The code does not do what it is meant to do enhancement Adaptions and new features fixed / solved / done
Projects
None yet
Development

No branches or pull requests

2 participants