touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #37399
[Bug 1396900] [NEW] restarting and reloading ssh doesn't work
Public bug reported:
I have an install script that does various things including increasing ssh security by altering config files.
After altering it does reload or restart as appropriate.
I've noticed that in ubuntu 14.04 it stopped working.
The cause of the problem is the function in /etc/init.d/ssh
check_for_upstart() {
if init_is_upstart; then
exit $1
fi
}
Before: start, reload and others it is called as:
check_for_upstart 1
Which basically means that if we have upstart installed and in use exit with an error.
This kills my script since it has set -e option in case anything goes wrong as in this case.
I'm not sure why this is written like this but if it really should exit
with an error it should at least state what the error is.
P.S. I've found the same behaviour in
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
- I have an install script that does various thinkgs including increasing ssh security by altering config files.
- After altering it does reload or restart as appropriate.
- I've noticed that in ubuntu 14.04 it stoped wokring.
- The cause of the problem is the function in /etc/init.d/ssh
+ I have an install script that does various things including increasing ssh security by altering config files.
+ After altering it does reload or restart as appropriate.
+ I've noticed that in ubuntu 14.04 it stopped working.
+ The cause of the problem is the function in /etc/init.d/ssh
check_for_upstart() {
- if init_is_upstart; then
- exit $1
- fi
+ if init_is_upstart; then
+ exit $1
+ fi
}
- Before: start, reload and others it is called as:
- check_for_upstart 1
- Which basically means that if we have upstart installed and in use exit with an error.
- This kills my script since it has set -e option in case anything goes wrong as in this case.
+ Before: start, reload and others it is called as:
+ check_for_upstart 1
+ Which basically means that if we have upstart installed and in use exit with an error.
+ This kills my script since it has set -e option in case anything goes wrong as in this case.
I'm not sure why this is written like this but if it really should exit
with an error it should at least state what the error is.
P.S. I've found the same behaviour in
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1396900
Title:
restarting and reloading ssh doesn't work
Status in “initramfs-tools” package in Ubuntu:
New
Bug description:
I have an install script that does various things including increasing ssh security by altering config files.
After altering it does reload or restart as appropriate.
I've noticed that in ubuntu 14.04 it stopped working.
The cause of the problem is the function in /etc/init.d/ssh
check_for_upstart() {
if init_is_upstart; then
exit $1
fi
}
Before: start, reload and others it is called as:
check_for_upstart 1
Which basically means that if we have upstart installed and in use exit with an error.
This kills my script since it has set -e option in case anything goes wrong as in this case.
I'm not sure why this is written like this but if it really should
exit with an error it should at least state what the error is.
P.S. I've found the same behaviour in
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1396900/+subscriptions
Follow ups
References