Bug 105772
| Summary: | smbd, nmbs segfault when run without exec shield | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nils Philippsen <nphilipp> |
| Component: | samba | Assignee: | Jay Fenlason <fenlason> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | jfeeney, mitr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 18:58:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 100643 | ||
*** This bug has been marked as a duplicate of 106664 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
Description of problem: SSIA: root@wombat:~> sysctl -w kernel.exec-shield=0 kernel.exec-shield = 0 root@wombat:~> strace smbd execve("/usr/sbin/smbd", ["smbd"], [/* 29 vars */]) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ root@wombat:~> strace nmbd execve("/usr/sbin/nmbd", ["nmbd"], [/* 29 vars */]) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ root@wombat:~> sysctl -w kernel.exec-shield=1 kernel.exec-shield = 1 root@wombat:~> smbd root@wombat:~> nmbd root@wombat:~> service smb status smbd (pid 11044) is running... nmbd (pid 11046) is running... Version-Release number of selected component (if applicable): samba-3.0.0-15 How reproducible: Always Steps to Reproduce: 1. "sysctl -w kernel.exec-shield=0" 2. Try to start samba Actual results: smbd, nmbd crash before the programs even have been loaded Expected results: smbd, nmbd start flawlessly