Package: dropbear                        
Version: 0.53.1-1

Hello,

dropbears init-premount/devpts tries to mount /dev/pts which is already
done by initramfs-tools (/usr/share/initramfs-tools/init).
This leads to an error message on each boot:
mount: mounting none on /dev/pts failed: Device or resource busy

Either dropping init-premount/devpts at all or applying the attached
patch (which does also fix a small issue with wrong escaping) should fix
this issue.


regards
   Mario
-- 
We know that communication is a problem, but the company is not going to
discuss it with the employees.
                       -- Switching supervisor, AT&T Long Lines Division
--- /usr/share/initramfs-tools/scripts/init-premount/devpts	2011-05-04 17:54:28.000000000 +0200
+++ /tmp/devpts	2011-07-04 15:43:42.636496331 +0200
@@ -15,7 +15,8 @@
 
 . /scripts/functions
 
-grep -E "[[:space:]]+devpts$" /proc/filesystems >/dev/null 2>&1 || exit 0
+grep -Eq '[[:space:]]devpts$' /proc/filesystems 2>/dev/null || exit 0
+grep -Eq 'devpts[[:space:]]' /proc/mounts 2>/dev/null && exit 0
 
 log_begin_msg "Mounting devpts"
 

Attachment: signature.asc
Description: Digital signature

Reply via email to