Hi Martin Not yet tested: Would the attached debdiff solve the issue?
Even we have the alternate dependency, test first if /sbin/MAKEDEV is executable, and only the run it. And even it this fails, then return true. It is done in simlilar way in mcelog package. Bests Salvatore
diff -u vtun-3.0.2/debian/postinst vtun-3.0.2/debian/postinst --- vtun-3.0.2/debian/postinst +++ vtun-3.0.2/debian/postinst @@ -24,8 +24,12 @@ if [ ! -e /dev/.udev ] && [ ! -e /dev/.udevdb ] && \ [ ! -e /dev/net/tun ]; then echo -n "Creating /dev/net/tun with default MAKEDEV permissions: " - (cd /dev; /sbin/MAKEDEV tun) - echo "done." + if [ -x /sbin/MAKEDEV ]; then + (cd /dev && /sbin/MAKEDEV tun) || true + echo "done." + else + echo "not created." + fi fi ;; diff -u vtun-3.0.2/debian/changelog vtun-3.0.2/debian/changelog --- vtun-3.0.2/debian/changelog +++ vtun-3.0.2/debian/changelog @@ -1,3 +1,11 @@ +vtun (3.0.2-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Create /dev/tun in postinst only if /sbin/MAKEDEV is executable + (Closes: #595931). + + -- Salvatore Bonaccorso <salvatore.bonacco...@gmail.com> Wed, 08 Sep 2010 21:24:22 +0200 + vtun (3.0.2-3) unstable; urgency=low * Stop installing deprecated modutils conffile. (Closes: #518314).
signature.asc
Description: Digital signature