[Touch-packages] [Bug 1396900] Re: restarting and reloading ssh doesn't work
Unfortunately I have no recollection of solving the problem. And I've removed or upgraded all 14.04 instances -- 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: Confirmed 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1388129] [NEW] package linux-image-3.13.0-37-generic 3.13.0-37.64 failed to install/upgrade: run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1
Public bug reported: Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic Cannot delete /boot/initrd.img-3.13.0-37-generic, doesn't exist. run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.13.0-37-generic.postrm line 328. ProblemType: Package DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-37-generic 3.13.0-37.64 ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8 Uname: Linux 3.13.0-39-generic i686 ApportVersion: 2.14.1-0ubuntu3.6 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: lukav 3442 F pulseaudio lightdm 23091 F pulseaudio Date: Fri Oct 31 17:01:37 2014 DuplicateSignature: package:linux-image-3.13.0-37-generic:3.13.0-37.64:run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 ErrorMessage: run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 HibernationDevice: RESUME=UUID=03077dce-674c-4b94-baf1-c12a49249fdc IwConfig: lono wireless extensions. eth0 no wireless extensions. eth2 no wireless extensions. MachineType: System manufacturer System Product Name ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-39-generic root=UUID=b5c68984-963c-4190-a0fa-7609095d5329 ro splash quiet nomdmonddf nomdmonisw nomdmonddf nomdmonisw vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: grub-pc 2.02~beta2-9ubuntu1 RfKill: SourcePackage: initramfs-tools Title: package linux-image-3.13.0-37-generic 3.13.0-37.64 failed to install/upgrade: run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 UpgradeStatus: Upgraded to trusty on 2014-09-15 (46 days ago) WpaSupplicantLog: dmi.bios.date: 08/24/2009 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0601 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: P5QL-CM dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0601:bd08/24/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5QL-CM:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer ** Affects: initramfs-tools (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 trusty -- 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/1388129 Title: package linux-image-3.13.0-37-generic 3.13.0-37.64 failed to install/upgrade: run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 Status in “initramfs-tools” package in Ubuntu: New Bug description: Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic Cannot delete /boot/initrd.img-3.13.0-37-generic, doesn't exist. run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.13.0-37-generic.postrm line 328. ProblemType: Package DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-37-generic 3.13.0-37.64 ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8 Uname: Linux 3.13.0-39-generic i686 ApportVersion: 2.14.1-0ubuntu3.6 Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: lukav 3442 F pulseaudio lightdm 23091 F pulseaudio Date: Fri Oct 31 17:01:37 2014 DuplicateSignature: package:linux-image-3.13.0-37-generic:3.13.0-37.64:run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 ErrorMessage: run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 HibernationDevice: RESUME=UUID=03077dce-674c-4b94-baf1-c12a49249fdc IwConfig: lono wireless extensions. eth0 no wireless extensions. eth2 no wireless extensions. MachineType: System manufacturer System Product Name ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-39-generic root=UUID=b5c68984-963c-4190-a0fa-7609095d5329 ro splash quiet nomdmonddf nomdmonisw nomdmonddf nomdmonisw vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session da