[Bug 1804508] Re: dropbear-initramfs init-bottom script uses wrong ps options, can't kill descendants

2022-04-22 Thread asdasda
This seems to be fixed since at least focal.

dropbear (2018.76-3) unstable; urgency=medium
  * debian/initramfs/bottom-dropbear:
+ Read and parse /proc/*/stat instead of ps(1)'s output, as ps(1) options
  differ between Debian and Ubunt's busybox.  Thanks to 'eviljoel' for the
  patch. (LP: #1652091.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804508

Title:
  dropbear-initramfs init-bottom script uses wrong ps options, can't
  kill descendants

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1804508/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1804508] Re: dropbear-initramfs init-bottom script uses wrong ps options, can't kill descendants

2021-02-26 Thread Rafael
I patched this issue with the following fragment

if PID="$(cat /run/dropbear.pid)" 2>/dev/null &&
[ "$(readlink -f "/proc/$PID/exe")" = /sbin/dropbear ]; then
log_begin_msg "Stopping dropbear"

# Patch issue #1804508
# Kill all children and the parent dropbear
kill -TERM $(ps l | awk '$4~/^'$PID'$/ {print $3}') $PID

log_end_msg
fi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804508

Title:
  dropbear-initramfs init-bottom script uses wrong ps options, can't
  kill descendants

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1804508/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1804508] Re: dropbear-initramfs init-bottom script uses wrong ps options, can't kill descendants

2019-10-21 Thread klemens_u
Same problem for me, the provided path eliminates the problem.
Please accept the patch and release soon.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804508

Title:
  dropbear-initramfs init-bottom script uses wrong ps options, can't
  kill descendants

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1804508/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1804508] Re: dropbear-initramfs init-bottom script uses wrong ps options, can't kill descendants

2019-10-21 Thread klemens_u
Sorry "path" should read "patch"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804508

Title:
  dropbear-initramfs init-bottom script uses wrong ps options, can't
  kill descendants

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1804508/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1804508] Re: dropbear-initramfs init-bottom script uses wrong ps options, can't kill descendants

2019-10-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: dropbear (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804508

Title:
  dropbear-initramfs init-bottom script uses wrong ps options, can't
  kill descendants

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1804508/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1804508] Re: dropbear-initramfs init-bottom script uses wrong ps options, can't kill descendants

2018-11-21 Thread Ubuntu Foundations Team Bug Bot
The attachment "dropbear.patch" seems to be a patch.  If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804508

Title:
  dropbear-initramfs init-bottom script uses wrong ps options, can't
  kill descendants

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1804508/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1804508] Re: dropbear-initramfs init-bottom script uses wrong ps options, can't kill descendants

2018-11-21 Thread Kevin McCormick
I'm using the attached patch on my system without issue, but it only
kills direct children instead of everything in the process group.
(busybox's kill doesn't support PGID at all from what I can see)

It might be possible to solve this with a change to busybox-initramfs
for additional ps options, or include /bin/busybox instead of /usr/lib
/initramfs-tools/bin/busybox.

** Patch added: "dropbear.patch"
   
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1804508/+attachment/5215081/+files/dropbear.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804508

Title:
  dropbear-initramfs init-bottom script uses wrong ps options, can't
  kill descendants

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1804508/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs