Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read-only filesystem with kernel 3.10.0-693 #5349

Closed
gsanchietti opened this Issue Sep 15, 2017 · 3 comments

Comments

1 participant
@gsanchietti
Copy link
Member

gsanchietti commented Sep 15, 2017

After upgrade to CentOS 7.4, if the machine is rebooted, the root filesystem could be mounted in read-only mode.

The problem is bound to filesystem options (acl and xattr) enabled by nethserver-samba.
These options are useful only when using EXT4, XFS already have them enabled by default.

Steps to reproduce

  • Install nethserver-samba
  • Update to CentOS 7.4, make sure to have kernel version 3.10.0-693
  • Reboot the machine

Expected behavior

Root file system should be mount in read-write mode.

Actual behavior

Root file system is mounted in read-only mode.

Components

nethserver-samba-2.0.8-1.ns7.noarch
kernel-3.10.0-693.2.2.el7.x86_64

Workaround

  1. Reboot with a working kernel ( 3.10.0-514-*). You can verify the running kernel using uname -r

  2. Execute:

config setprop fstab / defaults
signal-event fstab-update
  1. Reboot with the new kernel

Reference


Thanks to @dnutan, @mrmarkuz and @compsos

@gsanchietti gsanchietti added the bug label Sep 15, 2017

@gsanchietti gsanchietti added this to the v7 milestone Sep 15, 2017

gsanchietti added a commit to NethServer/nethserver-samba that referenced this issue Sep 15, 2017

Merge pull request #22 from gsanchietti/fix-fstab
ACL: do not enable acl and user_xattr on XFS

NethServer/dev#5349
@gsanchietti

This comment has been minimized.

Copy link
Member Author

gsanchietti commented Sep 16, 2017

In nethserver-testing:
nethserver-samba-2.0.8-1.2.g6cc7f0b.ns7.noarch.rpm

@gsanchietti gsanchietti added the testing label Sep 16, 2017

@gsanchietti

This comment has been minimized.

Copy link
Member Author

gsanchietti commented Sep 18, 2017

Verified, see linked threads.

@gsanchietti gsanchietti added verified and removed testing labels Sep 18, 2017

@gsanchietti

This comment has been minimized.

Copy link
Member Author

gsanchietti commented Sep 18, 2017

Released:
nethserver-samba-2.0.10-1.ns7.noarch.rpm

@DavidePrincipi DavidePrincipi added this to ⚙ Developing in NethServer 7 Sep 19, 2017

@DavidePrincipi DavidePrincipi moved this from ⚙ Developing to 🗑 Done in NethServer 7 Sep 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.