postinst: ls does not succeed when /var/run/screen does not exist

Bug #535648 reported by Torsten Spindler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
High
Dustin Kirkland 

Bug Description

Binary package hint: byobu

It seems that on some machines /var/run/screen does not exist. The postinst part will complain with ls: no such file or directory.

Tags: patch

Related branches

Revision history for this message
Torsten Spindler (tspindler) wrote :

The attached patch checks if /var/run/screen exists before calling ls on it.

Changed in byobu (Ubuntu):
importance: Undecided → High
assignee: nobody → Dustin Kirkland (kirkland)
status: New → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Thanks for the bug and the patch!

tags: added: patch
Changed in byobu (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 2.63-0ubuntu1

---------------
byobu (2.63-0ubuntu1) lucid; urgency=low

  [ Dustin Kirkland ]
  * etc/byobu/socketdir, usr/bin/byobu-config, usr/bin/byobu-janitor,
    usr/bin/byobu-select-profile: increase portability to other distros,
    create socketdir conffile and SOCKETDIR variable for users who don't
    use /var/run/screen as the socket directory, LP: #535378
  * usr/bin/byobu-config: change a sample reference from "bash" to "shell"
    again for portability, LP: #535407
  * bin/byobu-export, bin/byobu-reconnect-sockets, bin/byobu-status,
    lib/byobu/cpu_temp: avoid programmatic use of ls in for loops,
    LP: #452405

  [ Torsten Spindler ]
  * debian/postinst: handle situation where /var/run/screen does not
    exist, LP: #535648
 -- Dustin Kirkland <email address hidden> Tue, 09 Mar 2010 14:53:10 -0600

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.