SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000140ClearOSapp-users - User Managerpublic2010-09-12 19:282010-09-15 08:21
Reporterkbrault 
Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version5.2 
Target VersionFixed in Version 
Summary0000140: User created from rpm install script getting deleted
DescriptionHello everyone,

I am installing SOGo. The rpm apparently creates the user "sogo" which is used to run the service. After reboot the user is removed by COS (my guess ... ldapsync).

Is there a work around?

Thank you in advance for your help.

Kevin
Additional Informationsecure log:

Sep 12 18:02:33 cos-sas useradd[4879]: new group: name=sogo, GID=1002
Sep 12 18:02:33 cos-sas useradd[4879]: new user: name=sogo, UID=1002, GID=1002, home=/home/sogo, shell=/bin/bash

<reboot>

Sep 12 18:07:20 cos-sas userdel[1978]: delete user `sogo'
Sep 12 18:07:20 cos-sas userdel[1978]: removed group `sogo' owned by `sogo'

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000265)
timb80 (developer)
2010-09-14 06:52

The work around is to create a user in the "system" range of UID's (below 500). Upper ranges are reserved for LDAP users only. You can manually add a system account for this purpose with the '-r' flag

See the following how to
http://www.clearfoundation.com/docs/howtos/adding_a_user_account_from_the_command_line [^]
(0000266)
kbrault (updater)
2010-09-14 22:55
edited on: 2010-09-14 22:57

"useradd -mnr sogo" did the trick. Thanks


Now ... how do I change the bug report status to "Resolved"?

(0000269)
user2
2010-09-15 08:20

@kbrault - I have changed your bug tracker account from "reported" to "updater". You should now be able to update bugs (I think).

@timb80 - I have changed your account to "developer". You should now be able to pretty much anything :-)

There are a number of different "roles" in the bug tracker. I want to keep these roles consistent across the entire developer infrastructure, notably the build system and SVN. For this reason, you may see your bug tracker role change in the near future!

- Issue History
Date Modified Username Field Change
2010-09-12 19:28 kbrault New Issue
2010-09-14 06:52 timb80 Note Added: 0000265
2010-09-14 22:55 kbrault Note Added: 0000266
2010-09-14 22:56 kbrault Note Edited: 0000266
2010-09-14 22:57 kbrault Note Edited: 0000266
2010-09-15 08:20 user2 Note Added: 0000269
2010-09-15 08:20 user2 Status new => resolved
2010-09-15 08:20 user2 Resolution open => fixed
2010-09-15 08:20 user2 Assigned To => user2
2010-09-15 08:21 user2 Resolution fixed => no change required
2010-09-15 08:21 user2 Status resolved => closed

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7