[Bug 1177819] New: Failed at step NO_NEW_PRIVILEGES spawning /usr/sbin/amavisd: Invalid argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

            Bug ID: 1177819
           Summary: Failed at step NO_NEW_PRIVILEGES spawning
                    /usr/sbin/amavisd: Invalid argument
           Product: Fedora EPEL
           Version: epel7
         Component: amavisd-new
          Assignee: juan.orti@xxxxxxxxxxxx
          Reporter: pb@xxxxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: janfrode@xxxxxxxxx, juan.orti@xxxxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, steve@xxxxxxxxx,
                    vanmeeuwen+fedora@xxxxxxxxxxxx



Description of problem:
Can't start amavisd on a fresh installed CentOS-7

Version-Release number of selected component (if applicable):
clamav-filesystem-0.98.5-1.el7.noarch
clamav-update-0.98.5-1.el7.x86_64
clamav-data-0.98.5-1.el7.noarch
clamav-0.98.5-1.el7.x86_64
clamav-server-systemd-0.98.5-1.el7.noarch
clamav-lib-0.98.5-1.el7.x86_64
clamav-server-0.98.5-1.el7.x86_64
amavisd-new-2.9.1-5.el7.noarch


How reproducible:
Always

Steps to Reproduce:
# service amavisd start
Redirecting to /bin/systemctl start  amavisd.service
Job for amavisd.service failed. See 'systemctl status amavisd.service' and
'journalctl -xn' for details.

Actual results:
- clamd started by amavisd
- amavisd won't start

Dez 30 17:43:14 *** clamd[5375]: Bytecode: Security mode set to "TrustSigned".
Dez 30 17:43:14 *** amavisd[5380]: Failed at step NO_NEW_PRIVILEGES spawning
/usr/sbin/amavisd: Invalid argument
Dez 30 17:43:15 *** amavisd[5384]: Failed at step NO_NEW_PRIVILEGES spawning
/usr/sbin/amavisd: Invalid argument
Dez 30 17:43:15 *** amavisd[5388]: Failed at step NO_NEW_PRIVILEGES spawning
/usr/sbin/amavisd: Invalid argument
Dez 30 17:43:15 *** amavisd[5392]: Failed at step NO_NEW_PRIVILEGES spawning
/usr/sbin/amavisd: Invalid argument
Dez 30 17:43:28 *** clamd[5375]: Loaded 3717589 signatures.

Expected results:
Proper starting of amavisd


Additional info:
amavisd will start in it's own shell on manual start

# su - amavis -s /bin/bash
$ /usr/sbin/amavisd -c /etc/amavisd/amavisd.conf 

Dez 30 17:45:51 *** amavis[5424]: starting. /usr/sbin/amavisd at ***
amavisd-new-2.9.1 (20140627), Unicode aware, LC_ALL="de_DE.utf8", ...e_DE.utf8"
Dez 30 17:45:52 *** amavis[5425]: Net::Server: Group Not Defined.  Defaulting
to EGID '997 997'
Dez 30 17:45:52 *** amavis[5425]: Net::Server: User Not Defined.  Defaulting to
EUID '997'
Dez 30 17:45:52 *** amavis[5425]: Module Amavis::Conf        2.321
...
Dez 30 17:45:52 *** amavis[5425]: Using primary internal av scanner code for
ClamAV-clamd
Dez 30 17:45:52 *** amavis[5425]: Found secondary av scanner ClamAV-clamscan at
/usr/bin/clamscan
Dez 30 17:45:52 *** amavis[5425]: Deleting db files
__db.002,__db.001,snmp.db,nanny.db,__db.003 in /var/spool/amavisd/db
Dez 30 17:45:52 *** amavis[5425]: Creating db in /var/spool/amavisd/db/;
BerkeleyDB 0.51, libdb 5.3

# getent passwd amavis
amavis:x:997:997:User for amavisd-new:/var/spool/amavisd:/sbin/nologin

# getent group amavis 
amavis:x:997:


Looks like the problem is somehown known but no proper solution found so far:

http://www.administrator.de/content/print.php?id=257717

Any hints, e.g. how to simulate systemd NoNewPrivileges=true in a shell and
check e.g. with strace

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=S3bcCflunQ&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux