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
Updates for CentOS 7 #249
Updates for CentOS 7 #249
Conversation
Newer versions of udev do not allow block devices to be renamed so move the naming into the kernel, and correspondingly update some paths. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Add some required parameters to allow reinitializing PVs on CentOS 7. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
force-start doesn't exist with systemd. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Fix scsi_id path. Fix pid file path. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
…ultipath Instead of patching dm-multipath, parse its verbose output. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
This is not needed since newer versions of multipath-tools are integrated differently with udev. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Disable CentOS 7's default rules because SM provides its own rules. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
The /dev/root symlink doesn't exist on CentOS 7 so just get the device number from /. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
The /dev/root symlink doesn't exist on CentOS 7 so do it like dracut. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
udev on CentOS 7 kills all processes started from a RUN rule after it finishes so don't start cdrommon from local-device-change because it is called from a udev rule. Instead, an instantiated systemd cdrommon service is started from the udev rule. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Hi Ross, Are these patches exactly the same we have been testing internally? |
Yes. |
Ross, everything is ok but I have only one concern about The rules names 40-multipath was named this way to override the rule with the same name |
Acked-by: Germano Percossi germano.percossi@citrix.com |
GitHub: closes xapi-project#249 on xapi-project/sm
No description provided.