pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


Patch to kill the "systemd[1]: /etc/mtab is not a symlink or not pointing to /proc/self/mounts." warning
Posted by Anonymous on Tue 14th May 2019 13:11
raw | new post

  1. # patch get rid of the nasty "systemd[1]: /etc/mtab is not a symlink or not pointing to /proc/self/mounts. This is not supported anymore. Please make sure to replace this file by a symlink to avoid incorrect or misleading mount(8) output."-warning
  2. diff --git a/ptxdist/configs/ecu01/ptxconfig b/ptxdist/configs/ecu01/ptxconfig
  3. index 9a064d0..23c8719 100644
  4. --- a/ptxdist/configs/ecu01/ptxconfig
  5. +++ b/ptxdist/configs/ecu01/ptxconfig
  6. @@ -252,9 +252,9 @@ PTXCONF_ROOTFS_SHADOW=y
  7.  PTXCONF_ROOTFS_GROUP=y
  8.  # PTXCONF_ROOTFS_GSHADOW is not set
  9.  PTXCONF_ROOTFS_FSTAB=y
  10. -PTXCONF_ROOTFS_MTAB_FILE=y
  11. +# PTXCONF_ROOTFS_MTAB_FILE is not set
  12.  # PTXCONF_ROOTFS_MTAB_LINK_MOUNTS is not set
  13. -# PTXCONF_ROOTFS_MTAB_LINK_SELF_MOUNTS is not set
  14. +PTXCONF_ROOTFS_MTAB_LINK_SELF_MOUNTS=y
  15.  # PTXCONF_ROOTFS_MTAB_LINK_VAR is not set
  16.  PTXCONF_ROOTFS_HOSTNAME=y
  17.  PTXCONF_ROOTFS_ETC_HOSTNAME="ecu01"

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at