[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2016-09-08 Thread reem
** Changed in: lvm2 (Ubuntu)
 Assignee: (unassigned) => reem (reemhassan333)

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-23 Thread Launchpad Bug Tracker
This bug was fixed in the package lvm2 - 2.02.66-4ubuntu7.4

---
lvm2 (2.02.66-4ubuntu7.4) precise; urgency=low

  * When calling lvresize or lvextend do not attempt to fsck a mounted
filesystem. (LP: #1269175)
 -- Dave Chiluk chi...@canonical.com   Wed, 15 Jan 2014 13:01:44 -0600

** Changed in: lvm2 (Ubuntu Precise)
   Status: Fix Committed = Fix Released

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-16 Thread Dave Chiluk
Verified.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-15 Thread Dave Chiluk
I just verified that quantal does not need this fix.  So only precise is
needed.

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-15 Thread Chris J Arges
** Also affects: lvm2 (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Changed in: lvm2 (Ubuntu Precise)
 Assignee: (unassigned) = Dave Chiluk (chiluk)

** Changed in: lvm2 (Ubuntu Precise)
   Importance: Undecided = Medium

** Changed in: lvm2 (Ubuntu Precise)
   Status: New = In Progress

** Changed in: lvm2 (Ubuntu)
 Assignee: Dave Chiluk (chiluk) = (unassigned)

** Changed in: lvm2 (Ubuntu)
   Status: In Progress = Fix Released

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-15 Thread Chris J Arges
sponsored for P

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-15 Thread Brian Murray
Hello Dave, or anyone else affected,

Accepted lvm2 into precise-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/lvm2/2.02.66-4ubuntu7.4
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: lvm2 (Ubuntu Precise)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-15 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-proposed/lvm2

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-14 Thread Dave Chiluk
The above is remedied by backporting a fix from upstream lvm that allows
fsadm.sh to return 3 on attempts to check a mounted filesystem.  This
allows lvextend and lvresize to not error out when the filesystem is
mounted.



** Patch added: lp1269175.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+attachment/3948801/+files/lp1269175.debdiff

** Description changed:

  Steps to Reproduce:
  1. Run lvextend -L +...G -r LV block device
- 2. Obtain a message out of fsk saying:
+ 2. Obtain a message saying:
  WARNING!!! The filesystem is mounted. If you continue you ***WILL***
  cause ***SEVERE*** filesystem damage.
  
  Do you really want to continuen?
  
- 3. Reply no, and lvextend or lvresize error out, and the operation does not 
proceed
- 4. Reply yes, and corrupt your filesystem.
+ 3. Reply no, and lvextend or lvresize proceed anyway, freaking out any user 
who does not recognize the above message as having come from fsck.
+ 4. Reply yes, and possibly corrupt your filesystem.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: lvm2 2.02.66-4ubuntu7.3
  ProcVersionSignature: User Name 3.2.0-57.87-generic 3.2.52
  Uname: Linux 3.2.0-57-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Tue Jan 14 22:33:52 2014
  Ec2AMI: ami-05c2
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: cpu1-ram1-disk50-ephemeral20
  Ec2Kernel: aki-0548
  Ec2Ramdisk: ari-0548
  MarkForUpload: True
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)

** Tags removed: ec2-images

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-14 Thread Dave Chiluk
** Changed in: lvm2 (Ubuntu)
 Assignee: (unassigned) = Dave Chiluk (chiluk)

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-14 Thread Dave Chiluk
It looks like the above fixes were incorporated into 
v2_02_91
and 
v2_02_96 and newer.

That means I will also have to port this fix to quantal.

** Changed in: lvm2 (Ubuntu)
   Status: New = Confirmed

** Changed in: lvm2 (Ubuntu)
   Status: Confirmed = In Progress

** Description changed:

+ [Impact]
+ 
+  * Potential filesystem corruption
+ 
+  * The above is remedied by backporting a fix from upstream lvm2 that
+ allows fsadm to return 3 on attempts to check a mounted filesystem. This
+ allows lvextend and lvresize to proceed without a fsck when the
+ filesystem is mounted.
+ 
+ [Test Case]
+ 
+ 1. Run lvextend -L +...G -r LV block device
+ 2. Obtain a message saying:
+ WARNING!!! The filesystem is mounted. If you continue you ***WILL***
+ cause ***SEVERE*** filesystem damage.
+ 
+ Do you really want to continuen?
+ 
+ 3. Reply no, and lvextend or lvresize proceed anyway, freaking out any user 
who does not recognize the above message as having come from fsck.
+ 4. Reply yes, and possibly corrupt your filesystem.
+ 
+ 
+ [Regression Potential] 
+ 
+  * There is regression potential for scripts that depend on fsadm return
+ values.  I did search for other references to fsadm within the lvm2
+ package, but found none.
+ 
+  * Possible regressions may manifest themselves as other filesystem or
+ lvm2 tools failing.
+ 
+ [Other Info]
+  
+  * All 4 patches that were backported for this fix exist upstreams
+  * Anticipate questions from users, SRU, +1 maintenance, security teams and 
the Technical Board
+  * and address these questions in advance
+ 
+ 
  Steps to Reproduce:
  1. Run lvextend -L +...G -r LV block device
  2. Obtain a message saying:
  WARNING!!! The filesystem is mounted. If you continue you ***WILL***
  cause ***SEVERE*** filesystem damage.
  
  Do you really want to continuen?
  
  3. Reply no, and lvextend or lvresize proceed anyway, freaking out any user 
who does not recognize the above message as having come from fsck.
  4. Reply yes, and possibly corrupt your filesystem.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: lvm2 2.02.66-4ubuntu7.3
  ProcVersionSignature: User Name 3.2.0-57.87-generic 3.2.52
  Uname: Linux 3.2.0-57-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Tue Jan 14 22:33:52 2014
  Ec2AMI: ami-05c2
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: cpu1-ram1-disk50-ephemeral20
  Ec2Kernel: aki-0548
  Ec2Ramdisk: ari-0548
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: lvm2
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  [Impact]
  
-  * Potential filesystem corruption
+  * Potential filesystem corruption
  
-  * The above is remedied by backporting a fix from upstream lvm2 that
+  * The above is remedied by backporting a fix from upstream lvm2 that
  allows fsadm to return 3 on attempts to check a mounted filesystem. This
  allows lvextend and lvresize to proceed without a fsck when the
  filesystem is mounted.
  
  [Test Case]
  
  1. Run lvextend -L +...G -r LV block device
  2. Obtain a message saying:
  WARNING!!! The filesystem is mounted. If you continue you ***WILL***
  cause ***SEVERE*** filesystem damage.
  
  Do you really want to continuen?
  
  3. Reply no, and lvextend or lvresize proceed anyway, freaking out any user 
who does not recognize the above message as having come from fsck.
  4. Reply yes, and possibly corrupt your filesystem.
  
+ [Regression Potential]
  
- [Regression Potential] 
- 
-  * There is regression potential for scripts that depend on fsadm return
+  * There is regression potential for scripts that depend on fsadm return
  values.  I did search for other references to fsadm within the lvm2
  package, but found none.
  
-  * Possible regressions may manifest themselves as other filesystem or
+  * Possible regressions may manifest themselves as other filesystem or
  lvm2 tools failing.
  
  [Other Info]
-  
-  * All 4 patches that were backported for this fix exist upstreams
-  * Anticipate questions from users, SRU, +1 maintenance, security teams and 
the Technical Board
-  * and address these questions in advance
+ 
+  * All 4 patches that were backported for this fix exist upstreams
+  * Anticipate questions from users, SRU, +1 maintenance, security teams and 
the Technical Board
+  * and address these questions in advance
+ 
+ 
+ 

  
  
  Steps to Reproduce:
  1. Run lvextend -L +...G -r LV block device
  2. Obtain a message saying:
  WARNING!!! The filesystem is mounted. If you continue you ***WILL***
  cause ***SEVERE*** filesystem damage.
  
  Do you really want to continuen?
  
  3. Reply no, and lvextend or lvresize proceed anyway, freaking out any user 
who does not recognize the above message as having come from fsck.
  

[Bug 1269175] Re: lvresize, lvextend, and fsadm attempt to fsck a mounted filesystem

2014-01-14 Thread Ubuntu Foundations Team Bug Bot
The attachment lp1269175.debdiff seems to be a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the patch flag from the attachment, remove the
patch tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

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

Title:
  lvresize,lvextend, and fsadm attempt to fsck a mounted filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1269175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs