Bug #1306
closed
Load balancer user _relayd not created on upgrade
Added by Roy Walker over 13 years ago.
Updated over 13 years ago.
Affected Architecture:
i386
Description
If upgrade from 1.2.3 to 2.0-Beta5 built on Fri Feb 18 06:31:46 EST 2011, the user _relayd which is needed for load balancing is not created.
- Status changed from New to Feedback
Should be fixed 2aba8f77a2c0de6690f973e331f130000d35c451
If you've already upgraded and you are missing the user, run:
/usr/sbin/pw groupadd -n _relayd -g 913
/usr/sbin/pw useradd -n _relayd -c "Relay Daemon" -d /var/empty -s /usr/sbin/nologin -u 913 -g 913
Yes adding the user does get the relayd service running. I wanted to open the bug so that the upgrade procsess can be corrected to properly add the user.
Yes, new upgrades that happen on snapshots that include the commit I referenced will work fine. I changed the upgrade code to run those commands when upgrading the server load balancing code.
If you want to try it out, wait for a snapshot from tomorrow (or very late today) and try to upgrade again from 1.2.3 to 2.0.
Feedback: Fixed.
Recommendation: Close ticket.
Findings:
Upgrade from 1.2.3 to RC1 build "Sat Feb 26 16:00:14 EST 2011". User was created on simple upgrade.
From /etc/pass line 20 after upgrade
_relayd:*:913:913:Relay Daemon:/var/empty:/usr/sbin/nologin
Please let me know if any more information is needed.
- Status changed from Feedback to Resolved
Alex Kennedy wrote:
From /etc/pass line 20 after upgrade
Should Read:
From /etc/passwd line 20 after upgrade
Also available in: Atom
PDF