XPost: linux.debian.bugs.dist   
   From: ben@decadent.org.uk   
      
   Control: tag -1 wontfix   
      
   On Fri, 15 Nov 2019 02:21:14 -0600 Glenn Washburn   
    wrote:   
   > Package: initramfs-tools-core   
   > Version: 0.130ubuntu3.9   
   > Severity: normal   
   > Tags: newcomer   
   >    
   > Dear Maintainer,   
   >    
   > When adding "debug" to the kernel commandline debug output is turned on and   
   is   
   > very useful for debugging. However, none of the scripts (eg.   
   local-premount/resume)   
   > recognize the debug variable to turn on tracing as in init. I simply added   
   the   
   > line "[ -n "${debug}" ] && set -x" as the first line in local-premount/resume   
   > and now I get debug logging when the debug kernel parameter is added. This   
   line   
   > should be added to all scripts, or at least the scripts run by "run_parts".   
      
   I think this would be a surprising interpretation of the "debug" kernel   
   parameter, and it could leak sensitive information to the screen. So I   
   won't be making this change.   
      
   Ben.   
      
   --    
   Ben Hutchings   
   Beware of programmers who carry screwdrivers. - Leonard Brandwein   
      
   -----BEGIN PGP SIGNATURE-----   
      
   iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmkaXCMACgkQ57/I7JWG   
   EQnd1xAAw5piLSUwPg9Nukb9HiUIfb8aa0He1Q/boQobF9ZD+vZAjK6YS2MGlrmI   
   4MjeqwZBB7UT14QElZoa2arISU5s949qaWhDVDPvAiiDmJp0lLCu4CuEf0tmTMUx   
   OGOEzmnK9fO5s8ta9x2/Ls7ei/bz1HERTgYbfHuUfeLRp0oo8LBJJLLff8jNZWgK   
   3ctlsBIHeVulPD8HQP7O3T9NjTaogw52fD186H4QS3bW+klgPSPPTNwpTRigAAqQ   
   XvksVxjq3onWGQZZI8kRPKuIFh3fAE8j4LlBunLGabMaU3jPB4hhZQ+AzApS306s   
   /kJiHuvsqqrayQkqn+g9GNMJgmkbPFmqibXw3kYfC5paoGn5kzk8qP0wwLbkej9p   
   QRnXpkLUUAjpuBpZxOI6YohK8mQ7pTqqiSyTkpUSl/cz5nlZE+Rq+EQxR8hBu21D   
   a6FunNcBkIrwn6xGYnX3NMmLr8pndJKCrwzXhPwsoTz3qx3LZYUgT8tGeI8QYcMF   
   tpNy/2WccD06VFO+L/rSyMHPA3LG/AiUIoTtGt31wHxVh+gVX1mHC9r+apaT68a4   
   X7fiUpNehardtMr4jE7IuAQIEPuGEaZhoxmIhgD6rmx+6xzk6jKHLjcjaIyYVN4I   
   OmxREG1BZqDeGCOrFbYh/otFudvmy/OgtOhy6Ok0Pbf1ZRYqn18=   
   =Jsw7   
   -----END PGP SIGNATURE-----   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|