[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#785463: mount: remounting root file system with lazytime broken



Hello Andreas,

Andreas Henriksson wrote on 05/17/2015 21:39:
> Hello Jörg-Volker Peetz.
> 
> Thanks for your bug report.
> 
> On Sat, May 16, 2015 at 06:44:53PM +0200, Jörg-Volker Peetz wrote:
>> Package: mount, util-linux
>> Version: 2.26.2-2
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> since version 2.26 the remounting of the root file system with
>> lazytime/nolazytime seems to be broken. The command
>>
>> # mount -o remount,lazytime /
>>
>> has no effect if lazytime is not set.
> 
> Could you please check if commenting out the following row
> in debian/rules and rebuilding the package makes any difference
> for this issue?
> 
> CONFOPTS += --enable-libmount-force-mountinfo
> 
> Quick hints for rebuilding the package:
> cd /tmp
> apt-get source util-linux
> cd util-linux
> # edit debian/rules to comment or delete the row mentioned above.
> apt-get build-dep util-linux
> dpkg-buildpackage -uc -us
> dpkg -i ../libmount_*.deb ../mount_*.deb
> 
> 
> Maybe that change is completely unrelated to your issue, but would be
> appreciated if you could help me out with checking if so.
> 
<snip>

Following your instructions, I re-built the util-linux package.
I installed the packages mount, libmount1, util-linux, and libfdisk1. Before
being able to do that, I had to update the sysvinit related packages.

Still, I'm not able to manipulate the lazytime mount option. The mount state is

$ grep -E '(root|sda)' /proc/mounts
/dev/root / ext4 rw,lazytime,relatime,nobarrier,errors=remount-ro 0 0
/dev/sda2 /home ext4 rw,lazytime,relatime,nobarrier,errors=remount-ro 0 0

As root I commanded

# strace -o /tmp/st  mount -o remount,nolazytime /
# grep ^mount /tmp/st
mount("/dev/sda1", "/", 0xf00780, MS_MGC_VAL|MS_REMOUNT,
"nobarrier,errors=remount-ro") = 0

But nothing changed in /proc/mounts.
-- 
Regards,
Jörg.


Reply to: