
This is a multi-part message in MIME format. --------------030207020603060003080704 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit
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 Still needs conflict with rhev agent though. -Thomas --------------030207020603060003080704 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> > 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=UTF-8"> <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=UTF-8"> <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> <br> Still needs conflict with rhev agent though.<br> <br> -Thomas<br> </body> </html> --------------030207020603060003080704--