Anonymous | Login | 2024-12-22 00:00 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000922 | ClearOS | clearos-framework | public | 2013-01-08 07:27 | 2013-01-29 13:10 | ||||
Reporter | bchambers | ||||||||
Assigned To | user2 | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | unable to reproduce | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.3.0 Updates | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000922: Webconfig cannot be stopped or restarted | ||||||||
Description | Permissions on /var/run/webconfig are: drwx--x---. 2 root webconfig 4096 Jan 8 09:19 webconfig Webconfig cannot write it's pid file to this directory, so the init script fails to stop or restart the daemon. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0000626) user2 2013-01-08 07:48 |
Those are weird permissions, but identical to those used by httpd. I can't duplicate the problem -- it looks like the PID file is written as root before permissions are dropped back to webconfig (?) |
(0000627) bchambers (administrator) 2013-01-08 08:11 |
Hmm...weird thing is, I set permissions back to original, and everything works OK...However, I'm 100% sure this was broken for some reason...here is the session log: [root@chambers ~]# ps afxw | grep webconfig 25092 pts/0 S+ 0:00 \_ grep webconfig 24820 ? Ss 0:00 /usr/sbin/webconfig 24822 ? S 0:00 \_ /usr/sbin/webconfig 24823 ? S 0:00 \_ /usr/sbin/webconfig 24824 ? S 0:00 \_ /usr/sbin/webconfig [root@chambers ~]# ls /var/run/webconfig/webconfig.pid ls: cannot access /var/run/webconfig/webconfig.pid: No such file or directory [root@chambers ~]# vi /etc/rc.d/init.d/webconfig [root@chambers ~]# /etc/rc.d/init.d/webconfig stop Stopping webconfig: [FAILED] [root@chambers ~]# ls /var/run/webconfig/webconfig.pid ls: cannot access /var/run/webconfig/webconfig.pid: No such file or directory [root@chambers ~]# ls -l /var/run/ | grep webconfig drwx--x---. 2 root webconfig 4096 Jan 8 09:19 webconfig [root@chambers ~]# chmod 770 /var/run/webconfig [root@chambers ~]# ls -l /var/run/ | grep webconfig drwxrwx---. 2 root webconfig 4096 Jan 8 09:19 webconfig [root@chambers ~]# ps afxw | grep webconfig 25092 pts/0 S+ 0:00 \_ grep webconfig 24820 ? Ss 0:00 /usr/sbin/webconfig 24822 ? S 0:00 \_ /usr/sbin/webconfig 24823 ? S 0:00 \_ /usr/sbin/webconfig 24824 ? S 0:00 \_ /usr/sbin/webconfig [root@chambers ~]# kill 24820 [root@chambers ~]# ps afxw | grep webconfig 25094 pts/0 S+ 0:00 \_ grep webconfig [root@chambers ~]# /etc/rc.d/init.d/webconfig start Starting webconfig: [ OK ] [root@chambers ~]# ls /var/run/webconfig/ webconfig.pid [root@chambers ~]# ls /var/run/webconfig/webconfig.pid /var/run/webconfig/webconfig.pid [root@chambers ~]# /etc/rc.d/init.d/webconfig stop Stopping webconfig: [ OK ] Mark as not reproducible for now, I guess. |
(0000653) user2 2013-01-29 13:10 |
Closing for now. Please re-open if issue re-appears. |
Issue History | |||
Date Modified | Username | Field | Change |
2013-01-08 07:27 | bchambers | New Issue | |
2013-01-08 07:46 | user2 | Status | new => acknowledged |
2013-01-08 07:48 | user2 | Note Added: 0000626 | |
2013-01-08 08:11 | bchambers | Note Added: 0000627 | |
2013-01-08 10:02 | bchambers | Resolution | open => unable to reproduce |
2013-01-29 13:10 | user2 | Note Added: 0000653 | |
2013-01-29 13:10 | user2 | Status | acknowledged => resolved |
2013-01-29 13:10 | user2 | Assigned To | => user2 |
2013-01-29 13:10 | user2 | Status | resolved => closed |