[Bug 480129] Error at calling service amavisd restart when SELinux is in enforce mode

bugzilla at redhat.com bugzilla at redhat.com
Sat Mar 31 16:31:25 UTC 2012


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=480129

Erik M Jacobs <ejacobs at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ejacobs at redhat.com

--- Comment #1 from Erik M Jacobs <ejacobs at redhat.com> 2012-03-31 12:31:22 EDT ---
I can confirm that I am also having this issue, except I am not experiencing it
on all machines.  Using the same package as Frank:

[root at shrugged ~]$ service amavisd restart
Shutting down amavisd: Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      /proc   /proc   proc    defaults
  In the meantime, run "mount /proc /proc -t proc"
Daemon [28085] terminated by SIGTERM
                                                           [  OK  ]
amavisd stopped
Starting amavisd:                                          [  OK  ]

Note that there was an old thread that discussed this:
http://old.nabble.com/-etc-init.d-amavisd-stop-Error-td21979008.html

The uptime program is provided by the procps package, and I have updated to the
latest version on all machines: procps.x86_64 3.2.7-18.el5

I still get the error.

My dev server is running a slightly newer kernel and is not experiencing this
issue:
dev (2.6.18-274.el5) vs prod (2.6.18-238.el5)

The oddity here is that if I do exactly what the system script is doing, I
don't get the error:
action $"Shutting down ${prog_base}:" ${prog} -c ${prog_config_file} stop

Updating to the latest version of initscripts doesn't fix the problem either:
initscripts-8.45.42-1.el5

I'm not sure exactly how to further troubleshoot/locate this issue. But it's
rather annoying that every time amavis gets restarted this proc error gets
generated.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list