Sendsigs.omit is set for mkfs.ntfs-3g as opposed to mkfs.ntfs

Bug #150822 reported by Agostino Russo
2
Affects Status Importance Assigned to Milestone
partman-auto-loop (Ubuntu)
Fix Released
Undecided
Colin Watson

Bug Description

Binary package hint: partman-auto-loop

autopartition-loop should set

if [ -d /var/run ]; then
    pidof /sbin/mount.ntfs >> /var/run/sendsigs.omit
    pidof /sbin/mount.ntfs-3g >> /var/run/sendsigs.omit
fi

In fact it is probably more appropriate to set sendsigs.omit as soon as ntfs-3g is used, since, for instance, a user might get out of ubiquity before the autopartition-loop code is executed and that will create a reboot problem.

I have therefore added sendsig code to lupin: https://code.launchpad.net/~ubuntu-installer/lupin/gutsy rev 53

Revision history for this message
Colin Watson (cjwatson) wrote :

Committed for (very probably) post-gutsy. Thanks.

Changed in partman-auto-loop:
assignee: nobody → kamion
status: New → Fix Committed
Revision history for this message
Agostino Russo (ago) wrote :

errata corrige: there is no pidof in the initrd, I would suggest adding the following code to /etc/init.d/mountkernfs.sh

    pidof /sbin/mount.ntfs >> /var/run/sendsigs.omit
    pidof /sbin/mount.ntfs-3g >> /var/run/sendsigs.omit

mountkernfs runs very early on, so if at that time mount.ntfs is also running, you'd want to protect the process against accidental kills.

Revision history for this message
Agostino Russo (ago) wrote :

In fact I do not see much downside in having the code straight into sendigs... Killing a filesystem is not the job of sendigs.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package partman-auto-loop - 0ubuntu12

---------------
partman-auto-loop (0ubuntu12) hardy; urgency=low

  * Grab pids of mount.ntfs as well as mount.ntfs-3g (LP: #150822).
  * Pass basenames rather than full paths to pidof.
  * Vcs-Bzr is now an official field.
  * Account for partman library code having moved to /lib/partman/lib/.

 -- Colin Watson <email address hidden> Thu, 10 Jan 2008 08:42:52 +0000

Changed in partman-auto-loop:
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.