Skip to contentSkip to conversation

nilfs_cleanerd doesn't get started when /etc/mtab is a symlink to /proc/self/mounts

DISCUSSION Peter Volkov 2 participants 3 messages Oct 12, 2013 – Oct 13, 2013 1 message not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

Hi.

nifs_cleanerd doesn't get started when /etc/mtab is a symlink to /proc/self/mounts:

# mount -f -o remount /
mount.nilfs2: cannot modify /etc/mtab.
Please remount the partition with -f option after making /etc/mtab
writable.
nilfs_cleanerd not started

This is now real problem as most (all?) distributions are moving or moved toward having /etc/mtab being symlink:
Fedora already did this.
Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494001
Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=477498

This was already discussed
http://marc.info/?l=linux-nilfs&m=130832696129454&w=2 and it was planed for 2.1 but this is still an issue with 2.1.5. Do you have any idea when this change will happen? Thanks.

--
Peter.

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

Hi,

Quoted 16 lines · Peter Volkov

Hi.

nifs_cleanerd doesn't get started when /etc/mtab is a symlink to /proc/self/mounts:

# mount -f -o remount /
mount.nilfs2: cannot modify /etc/mtab.
Please remount the partition with -f option after making /etc/mtab
writable.
nilfs_cleanerd not started

This is now real problem as most (all?) distributions are moving or moved toward having /etc/mtab being symlink:
Fedora already did this.
Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494001
Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=477498

Quoted 4 lines

This was already discussed
http://marc.info/?l=linux-nilfs&m=130832696129454&w=2 and it was planed for 2.1 but this is still an issue with 2.1.5. Do you have any idea when this change will happen? Thanks.

Did you try --enable-libmount option when configuring nilfs-utils ?

 $ ./configure --enable-libmount

This option uses libmount library and it resolves /etc/mtab related problems.

For details, please read README file in the nilfs-utils package.

Thanks,
Ryusuke Konishi

Quoted 8 lines

--
Peter.

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20131013.222709.495385407.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org

#3 lore raw

В Вс, 13/10/2013 в 22:27 +0900, Ryusuke Konishi пишет:

Quoted 9 lines · Peter Volkov
Quoted 7 lines

nifs_cleanerd doesn't get started when /etc/mtab is a symlink to /proc/self/mounts:

# mount -f -o remount /
mount.nilfs2: cannot modify /etc/mtab.
Please remount the partition with -f option after making /etc/mtab
writable.
nilfs_cleanerd not started
Quoted 6 lines

Did you try --enable-libmount option when configuring nilfs-utils ?

 $ ./configure --enable-libmount

This option uses libmount library and it resolves /etc/mtab related problems.

Thank you for help Ryusuke. That's what I was missing. Everything works now.

--
Peter.

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html