OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004398 [openssh] other minor have not tried 2010-04-16 18:04 2011-11-07 00:37
Reporter dam View Status public  
Assigned To yann
Priority normal Resolution fixed  
Status closed  
Summary 0004398: cswopenssh stops Sun ssh
Description It looks like the cswopenssh kills the Sun ssh processes, even with autoenable_daemons=no on Solaris 9.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007898)
yann (manager)
2010-04-24 11:59

Could you reproduce the bug using either pkgadd -v or pkgutil --trace in order to provide more debug information ?
(0008228)
yann (manager)
2010-08-31 16:03

dam ? Any news ? Could you still reproduce this bug and provide me the debug output ?

I can just test on Solaris 10 and I can't reproduce this bug there.
(0008588)
yann (manager)
2010-12-18 12:31

dam, still no news ?

I will have to close the bug as "unable to reproduce" if you can't provide me more information.
(0008598)
dam (administrator)
2010-12-19 11:02

Hi Yann,

I think I know now what happens: Both /etc/init.d/ssh and /etc/init.d/cswopenssh use /var/run/sshd.pid. When the Sun SSH is used and started everything is fine. On cswopenssh shutdown it thinks that the daemon to shutdown is the CSW one, although it is the Sun SSH and kills the SUNW ssh process. IMHO it may be best to use different pidfiles (/var/run/cswsshd.pid?).
Sorry for the long delay...

Best regards

  -- Dago
(0008602)
yann (manager)
2010-12-19 13:33
edited on: 2010-12-19 14:14

Thanks for the information, I will fix this in the next upload (coming soon).

(0008615)
yann (manager)
2010-12-20 21:50

You will find the latest openssh package in my experimental repository [1] with a fix for this bug.

Could you try them to see if it works correctly for you ?

Thanks in advance,

Yann

[1] http://buildfarm.opencsw.org/experimental.html#yann [^]
(0008617)
dam (administrator)
2010-12-20 22:12

It looks like /etc/init.d/cswopenssh still references /var/run/sshd.pid. Additionally, I think it would be better to put the pidfile in /var/run/cswsshd.pid as it is of type tmpfs on Solaris 10 and hence doesn't have cleanup problems on reboot.
(0008619)
yann (manager)
2010-12-21 00:29

My mistake, I uploaded a new package and took your comment in account. Could you try the new package ?

BTW, is is possible to have a build9s-yann like I had on build8s to be able to test the initd system of solaris < 10 ?
(0008631)
dam (administrator)
2010-12-23 21:25

You now have current9s-yann (a clone of current9s) which you can access the same way as current8s-yann. The package should be fine now.
(0009390)
yann (manager)
2011-11-07 00:37

Fixed in package openssh 5.6p1,REV=2010.12.19. I am closing this issue.

- Issue History
Date Modified Username Field Change
2010-04-16 18:04 dam New Issue
2010-04-24 11:59 yann Note Added: 0007898
2010-04-24 11:59 yann Assigned To => yann
2010-04-24 11:59 yann Status new => feedback
2010-08-31 16:03 yann Note Added: 0008228
2010-12-18 12:31 yann Note Added: 0008588
2010-12-19 11:02 dam Note Added: 0008598
2010-12-19 13:33 yann Note Added: 0008602
2010-12-19 13:33 yann Status feedback => assigned
2010-12-19 14:14 yann Note Edited: 0008602
2010-12-20 21:50 yann Note Added: 0008615
2010-12-20 21:50 yann Status assigned => feedback
2010-12-20 22:12 dam Note Added: 0008617
2010-12-21 00:29 yann Note Added: 0008619
2010-12-23 21:25 dam Note Added: 0008631
2011-11-07 00:37 yann Note Added: 0009390
2011-11-07 00:37 yann Status feedback => closed
2011-11-07 00:37 yann Resolution open => fixed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker