Notices


Reply
Thread Tools
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#11
Update: nope, not everything, now ssh-status.sh unable to start sshd. Fixing.

Ok, everything looks good now, first update in three years is in extras-devel.
It only changes how disabling sshd on start works, check https://gitorious.org/n900-ssh-statu...a894417cfd3947

Last edited by int_ua; 2013-10-05 at 20:40.
 

The Following 3 Users Say Thank You to int_ua For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#12
$ sudo start sshd
sshd (start) waiting
sshd (start) starting
sshd (start) pre-start, process 1941
sshd (start) spawned, process 1942
sshd (start) post-start, (main) process 1942
sshd (start) running, process 1942
~ $ sudo status sshd
sshd (stop) waiting
~ $ ps aux | grep ssh
1797 root 3632 S /usr/sbin/sshd
WTF is wrong with it?

Last edited by int_ua; 2013-10-05 at 20:39.
 

The Following 2 Users Say Thank You to int_ua For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#13
Originally Posted by int_ua View Post
Update: nope, not everything, now ssh-status.sh unable to start sshd. Fixing.

Ok, everything looks good now, first update in three years is in extras-devel.
It only changes how disabling sshd on start works, check https://gitorious.org/n900-ssh-statu...a894417cfd3947
SSHd will not show as stopping using the new version of status switcher. Error message :"failed to enable ssh:start failed". More imp the server has in fact not been started tho status reads that it has. This was from an upgraded version and with reboot. Reinstall did not help.

PS Oops you beat me to it....

Upstart does not work for me in root shell either. /usr/sbin/sshd works fine.

Last edited by handaxe; 2013-10-05 at 11:17.
 

The Following User Says Thank You to handaxe For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#14
script
if [ ! -e /etc/ssh/sshd_not_to_be_started ]; then
/usr/sbin/sshd -D
else
exit 0
fi
end script
in /etc/init.d/sshd looks like working. And the decision to use sed in postinst was a very bad idea.

0.2-2 doesn't really work. Don't install it. I don't yet know what to do with openssh-server ignoring /etc/ssh/sshd_not_to_be_started. The maintainer didn't reply yet.


And reinstall openssh-server if you had ssh-status 0.2-1 or 0.2-3

Last edited by int_ua; 2013-10-05 at 20:43.
 

The Following User Says Thank You to int_ua For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#15
0.2-4 Stopped trying to prevent SSHD from starting. It's not the job for this package. Write bug reports against openssh-server and upstart. I've removed start on line from /etc/event.d/sshd manually.

P.S. In version 0.1-9 ssh-status wasn't really preventing SSHD from starting instead just stopping it after the latter being active for several seconds during boot.

Last edited by int_ua; 2013-10-05 at 21:04.
 

The Following 3 Users Say Thank You to int_ua For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#16
0.3-0
  • Added "killall sshd" button
  • Removed icon to save space and resources
  • GPLv3
  • massive (as it can be in a 100-lines file) rewrite and cleaning of the applet code

Some warnings to work on:
Code:
dpkg-shlibdeps: warning: dependency on libdbus-1.so.3 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgconf-2.so.4 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libfontconfig.so.1 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libatk-1.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on librt.so.1 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgnomevfs-2.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgio-2.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgdk_pixbuf-2.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgmodule-2.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpango-1.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libcairo.so.2 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libdbus-glib-1.so.2 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgthread-2.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpangocairo-1.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libfreetype.so.6 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgdk-x11-2.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpangoft2-1.0.so.0 could be avoided if "debian/ssh-status/usr/lib/hildon-desktop/lib-ssh-status-menu-widget.so.0.0.0" were not uselessly linked against it (they use none of its symbols).
Code:
[2013-10-09 09:24:05] Building ssh-status 0.3-0 for target 'maemo-fremantle-armel-extras-devel'
[2013-10-09 09:25:58] OK
[2013-10-09 09:25:59] ERROR running /etc/buildme.d/check_build: Could not determine build arch!
 No entry for terminal type "unknown";
using dumb terminal settings.

Last edited by int_ua; 2013-10-09 at 22:41.
 

The Following 4 Users Say Thank You to int_ua For This Useful Post:
Posts: 215 | Thanked: 348 times | Joined on May 2011
#17
I'm confused, what do I need to do to disable sshd on startup by default? I tried update-rc.d -f sshd remove but that didn't work
 

The Following 2 Users Say Thank You to lonk For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#18
Originally Posted by lonk View Post
what do I need to do to disable sshd on startup by default?
Remove "start on ..." line from /etc/event.d/sshd
I need to add it to the first post, thanks.
 

The Following 4 Users Say Thank You to int_ua For This Useful Post:
Posts: 215 | Thanked: 348 times | Joined on May 2011
#19
thanks a lot, your work is much appreciated
 

The Following 4 Users Say Thank You to lonk For This Useful Post:
Posts: 535 | Thanked: 598 times | Joined on Apr 2011 @ Republic of the Philippines
#20
hi int_ua! thanks for working on this.
can't I just comment out the first line with a "#"? sorry if the answer is obvious.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:42.