
This is a multi-part message in MIME format. --------------090200090205040805060109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 11/25/2013 06:36 PM, Thomas Suckow wrote:
Why not just reuse the rhev-agent username, it is what it is reserved as? Then just add a conflict with the rhev RPM so they cannot be installed together.
Actually, looking at the spec file. The user is added with the -o option (Allow non-unique). If you added -o to groupadd then the problem should go away and was probably the original intent of the spec file writer.
getent group ovirtagent >/dev/null || groupadd -r -g 175 ovirtagent to getent group ovirtagent >/dev/null || groupadd -r -g 175 -o ovirtagent https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-6.el5 contains this fix.
Still needs conflict with rhev agent though.
Well there's a conflict specified with rhev-agent just not for the user.
-Thomas
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R & D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com --------------090200090205040805060109 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 11/25/2013 06:36 PM, Thomas Suckow wrote:<br> </div> <blockquote cite="mid:52938A99.8060605@pnnl.gov" type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> > Why not just reuse the rhev-agent username, it is what it is reserved as? Then just add a conflict with the rhev RPM so they cannot be installed together.<br> <br> Actually, looking at the spec file. The user is added with the -o option (Allow non-unique). If you added -o to groupadd then the problem should go away and was probably the original intent of the spec file writer.<br> <br> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">getent group ovirtagent >/dev/null || groupadd -r -g 175 ovirtagent<br> </span>to<br> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">getent group ovirtagent >/dev/null || groupadd -r -g 175 -o ovirtagent</span><br> </blockquote> <a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-6.el5">https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-6.el5</a> contains this fix.<br> <blockquote cite="mid:52938A99.8060605@pnnl.gov" type="cite"> <br> Still needs conflict with rhev agent though.<br> </blockquote> <br> Well there's a conflict specified with rhev-agent just not for the user.<br> <blockquote cite="mid:52938A99.8060605@pnnl.gov" type="cite"> <br> -Thomas<br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R & D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com</pre> </body> </html> --------------090200090205040805060109--