2012-02-17 00:24:50 |
Mike Harris |
bug |
|
|
added bug |
2012-02-25 00:13:47 |
Mike Harris |
summary |
Dropbear's init scripts mount /dev/pts a second time |
Dropbear's initramfs scripts mount /dev/pts a second time |
|
2012-05-24 16:56:59 |
Chris J Arges |
dropbear (Ubuntu): assignee |
|
Chris J Arges (christopherarges) |
|
2012-05-24 16:57:03 |
Chris J Arges |
dropbear (Ubuntu): status |
New |
Confirmed |
|
2012-05-24 17:00:16 |
Chris J Arges |
attachment added |
|
dropbear_lp933903_quantal_1.debdiff https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/933903/+attachment/3161283/+files/dropbear_lp933903_quantal_1.debdiff |
|
2012-05-24 20:16:53 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2012-05-24 20:16:59 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2012-05-25 17:16:53 |
Andrew Starr-Bochicchio |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632656 |
|
2012-05-25 17:16:53 |
Andrew Starr-Bochicchio |
bug task added |
|
dropbear (Debian) |
|
2012-05-25 18:31:10 |
Bug Watch Updater |
dropbear (Debian): status |
Unknown |
New |
|
2012-06-04 11:50:15 |
Launchpad Janitor |
dropbear (Ubuntu): status |
Confirmed |
Fix Released |
|
2012-06-04 12:11:16 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/dropbear |
|
2012-06-08 19:38:42 |
Chris J Arges |
nominated for series |
|
Ubuntu Precise |
|
2012-06-08 19:38:42 |
Chris J Arges |
bug task added |
|
dropbear (Ubuntu Precise) |
|
2012-06-08 19:38:52 |
Chris J Arges |
dropbear (Ubuntu Precise): status |
New |
In Progress |
|
2012-06-08 19:38:55 |
Chris J Arges |
dropbear (Ubuntu Precise): assignee |
|
Chris J Arges (christopherarges) |
|
2012-06-08 20:35:22 |
Chris J Arges |
attachment added |
|
dropbear_lp933903_precise_1.debdiff https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/933903/+attachment/3181303/+files/dropbear_lp933903_precise_1.debdiff |
|
2012-06-14 15:45:04 |
Chris J Arges |
dropbear (Ubuntu Precise): milestone |
|
ubuntu-12.04.1 |
|
2012-06-18 19:48:46 |
Adam Stokes |
description |
The dropbear package includes an initramfs script, /usr/share/initramfs-tools/scripts/init-premount/devpts, that mounts devpts a second time, after it's already been mounted by /usr/share/initramfs-tools/init, provided by initramfs-tools.
Line 23 in /usr/share/initramfs-tools/scripts/init-premount/devpts from dropbear:
mount -t devpts none /dev/pts
Line 25 in /usr/share/initramfs-tools/init from initramfs-tools:
mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
The second mount from dropbear fails since /dev/pts is already mounted, but it does change the mount options:
mwharris@mwharris-test:~$ grep pts /proc/mounts
devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=000 0 0
I'm not sure why dropbear tried to mount devpts a second time, but it seems like the best fix would just be to remove /usr/share/initramfs-tools/scripts/init-premount/devpts from dropbear
I'm on Precise using dropbear_2011.54-1 and initramfs-tools_0.99ubuntu10 |
[Impact]
The dropbear package includes an initramfs script, /usr/share/initramfs-tools/scripts/init-premount/devpts, that mounts devpts a second time, after it's already been mounted by /usr/share/initramfs-tools/init, provided by initramfs-tools.
[Test Case]
Line 23 in /usr/share/initramfs-tools/scripts/init-premount/devpts from dropbear:
mount -t devpts none /dev/pts
Line 25 in /usr/share/initramfs-tools/init from initramfs-tools:
mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
The second mount from dropbear fails since /dev/pts is already mounted, but it does change the mount options:
mwharris@mwharris-test:~$ grep pts /proc/mounts
devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=000 0 0
I'm not sure why dropbear tried to mount devpts a second time, but it seems like the best fix would just be to remove /usr/share/initramfs-tools/scripts/init-premount/devpts from dropbear
I'm on Precise using dropbear_2011.54-1 and initramfs-tools_0.99ubuntu10
[Regression Potential]
Minimal, as this would only remove mounting /dev/pts a second time and is not introducing any extra functionality. |
|
2012-06-19 03:28:42 |
Scott Kitterman |
dropbear (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2012-06-19 03:28:45 |
Scott Kitterman |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-06-19 03:28:50 |
Scott Kitterman |
bug |
|
|
added subscriber SRU Verification |
2012-06-19 03:28:56 |
Scott Kitterman |
tags |
patch |
patch verification-needed |
|
2012-06-19 04:12:21 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/dropbear |
|
2012-06-19 18:46:08 |
Mike Harris |
tags |
patch verification-needed |
patch verification-done |
|
2012-06-26 14:35:51 |
Launchpad Janitor |
dropbear (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2012-07-25 22:43:48 |
Benjamin Drung |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2012-10-15 20:32:47 |
Chris J Arges |
bug |
|
|
added subscriber Sustaining Engineering |
2014-02-07 15:45:52 |
Curtis Hovey |
removed subscriber Registry Administrators |
|
|
|
2014-08-01 17:29:58 |
Bug Watch Updater |
dropbear (Debian): status |
New |
Fix Released |
|
2014-08-04 17:22:56 |
Mike Harris |
removed subscriber Mike Harris |
|
|
|
2014-08-22 16:53:38 |
Bug Watch Updater |
dropbear (Debian): status |
Fix Released |
New |
|
2015-10-12 04:07:54 |
Bug Watch Updater |
dropbear (Debian): status |
New |
Fix Released |
|