In Ubuntu 18.04.6 , proc-sys-fs-binfmt_misc.automount service log issue

Asked by Asghar

Hi Team,

In Ubuntu 18.04.6 , i am rapidly getting back to back log messages for proc-sys-fs-binfmt_misc.automount service,

Because of this my system disk space is getting full .

Please, suggest an way to avoid this logs.

Logs:

Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?

For every second i am getting this same log messages.

Systemd service status.

++++++++++++++++++++++++++++++++++++++++++++++++++++
root@sk-master0:~# systemctl -a | grep binf
  proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point
  proc-sys-fs-binfmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
  systemd-binfmt.service loaded inactive dead Set Up Additional Binary Formats

root@sk-master0:~# systemctl status proc-sys-fs-binfmt_misc.automount
* proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point
   Loaded: loaded (/lib/systemd/system/proc-sys-fs-binfmt_misc.automount; static; vendor preset: enabled)
   Active: active (running) since Fri 2022-01-21 10:02:59 UTC; 26min ago
    Where: /proc/sys/fs/binfmt_misc
     Docs: https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
           https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems

Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?

root@sk-master0:~# systemctl status proc-sys-fs-binfmt_misc.mount
* proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System
   Loaded: loaded (/lib/systemd/system/proc-sys-fs-binfmt_misc.mount; static; vendor preset: enabled)
   Active: active (mounted) since Fri 2022-01-21 10:18:03 UTC; 11min ago
    Where: /proc/sys/fs/binfmt_misc
     What: binfmt_misc
     Docs: https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
           https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
  Process: 1844 ExecMount=/bin/mount binfmt_misc /proc/sys/fs/binfmt_misc -t binfmt_misc (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/proc-sys-fs-binfmt_misc.mount

Jan 21 10:18:03 sk-master0 systemd[1]: Mounting Arbitrary Executable File Formats File System...
Jan 21 10:18:03 sk-master0 systemd[1]: Mounted Arbitrary Executable File Formats File System.
root@sk-master0:~# ^C
root@sk-master0:~# systemctl status systemd-binfmt.service
* systemd-binfmt.service - Set Up Additional Binary Formats
   Loaded: loaded (/lib/systemd/system/systemd-binfmt.service; static; vendor preset: enabled)
   Active: inactive (dead)
Condition: start condition failed at Fri 2022-01-21 10:02:59 UTC; 27min ago
     Docs: man:systemd-binfmt.service(8)
           man:binfmt.d(5)
           https://www.kernel.org/doc/Documentation/binfmt_misc.txt

+++++++++++++++++++++++++++++++++++++++++++++

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu systemd Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2
Revision history for this message
Asghar (asgharbasha) said :
#3

In this page https://serverfault.com/questions/682992/proc-sys-fs-binfmt-misc-automount-failed-service

there are disabling the service, but i don't want to disable it,

May i know, why this error will occur and for what reason.

Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 10250 (collec
Jan 21 10:29:44 sk-master0 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Asghar (asgharbasha) said :
#5

This issue is resolved by installing #apt install binfmt-support package on VM.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

I suggest you report a bug with your fix as the solution. It'll tell the devs