Bug 746745

Summary: systemd: rcsquid start -=> nothing.
Product: [openSUSE] openSUSE 12.1 Reporter: Jon Nelson <jnelson-suse>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fcrozat
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jon Nelson 2012-02-13 15:52:47 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0

I was doing some testing of squid, and forced squid to quit.
After that, I could not start it again:

turnip:~ # rcsquid start
redirecting to systemctl
turnip:~ # ps wax | grep squid
14095 pts/4    S+     0:00 grep --color=auto squid
23841 pts/2    S+     0:06 tail -F /var/log/squid/access.log
turnip:~ # rcsquid start
redirecting to systemctl
turnip:~ # rcsquid start
redirecting to systemctl
turnip:~ # ps wax | grep squid
14109 pts/4    S+     0:00 grep --color=auto squid
23841 pts/2    S+     0:06 tail -F /var/log/squid/access.log
turnip:~ # rcsquid start
redirecting to systemctl
turnip:~ # 



Finally, I remembered that I could 'bypass' some of the systemd stuff with extra params:

turnip:~ # rcsquid start -v
Starting WWW-proxy squid                                                                                          done
turnip:~ # ps wax | grep squid
14131 ?        Ss     0:00 /usr/sbin/squid -sY
14133 ?        R      0:01 (squid) -sY
14134 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
14135 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
14136 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
14137 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
14138 ?        S      0:00 (squidGuard) -c /etc/squidguard.conf
14142 pts/4    S+     0:00 grep --color=auto squid
23841 pts/2    S+     0:06 tail -F /var/log/squid/access.log
turnip:~ # 




Conclusion: systemd /not only/ could not restart squid after it died, but it also didn't *automatically* restart it.




Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Frederic Crozat 2012-02-15 10:43:09 UTC
first, install systemd package from http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12.1/ 

then, if it fails, attach "systemctl status squid.service" output and check /var/log/messages
Comment 2 Jon Nelson 2012-02-15 15:47:10 UTC
The updated systemd appears to have resolved the issue.
Thank you!
Comment 3 Frederic Crozat 2012-02-20 12:30:42 UTC
closing as fixed, it will be part of the next maintenance update.