Bug ID | 1225946 |
---|---|
Summary | %postrans section in python-azure-agent.spec will likely cause issues on systems with SELinux |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Cloud:Tools |
Assignee | public-cloud-maintainers@suse.de |
Reporter | jsegitz@suse.com |
QA Contact | qa-bugs@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
249 %posttrans 250 # Do not clobber the config if it was installed from a config package, but 251 # put the oldfile back if we do not have another config file 252 if [ ! -e /etc/waagent.conf ]; then 253 if [ -e /etc/waagent.conf.bak ]; then 254 mv /etc/waagent.conf.bak /etc/waagent.conf 255 # Making the assumption that the rpmsave file was generated because of 256 # of the previously broken package upgrade. 257 elif [ -e /etc/waagent.conf.rpmsave ]; then 258 cp /etc/waagent.conf.rpmsave /etc/waagent.conf 259 fi 260 fi the temp files might not have the proper types. Use mv -Z to move the files to ensure they get correctly labeled