I suppose this could easily be fixed within the package scripts. Just
let the scripts check if the package is installed on a system with
separate /var and modify the to be installed init file accordingly.

I currently use something like this in a local standalone postinstall
script, i guess it could be modified to accomodate the ureadahead
package:

if grep -q '/var' /etc/fstab; then

    grep -q '/var' /etc/init/ureadahead.conf ||  sed -i "s|^start on
starting mountall|start on mounted MOUNTPOINT=/var|"
/etc/init/ureadahead.conf

fi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/523484

Title:
  ureadahead requires /var on root filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ureadahead/+bug/523484/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to