[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Segfault with changing Solaris ACLs
From: |
ed . rolison |
Subject: |
Segfault with changing Solaris ACLs |
Date: |
Thu, 25 Oct 2001 10:12:22 +0100 |
Hi. I think I've encountered a problem in cfengine (agent) 2.0.a14 when
setting acls on a directory.
I use (in files) the following snippets:
files:
bbhosts::
${bbpath} mode=og-w owner=bigbro group=bigbro action=fixall
recurse=inf
${bbpath}/etc mode=og-w owner=bigbro group=bigbro acl=bbsolaris
action=fixall recurse=inf
acl:
{ bbsolaris
method:append
fstype:solaris
user:erolison:rwx
mask:*:rwx
}
The first time I run cfagent, I get a segfault (after a few entries it
seems) leaving a cfengine_lock_db (which I need to manually clobber
in order to continue otherwise cfagent reports that it's already running.)
(In case you hadn't guessed, the purpose of these entries is to keep 'Big
Brother' configurations and versions in step, and to set certain files so I
can edit them.)
Cheers.
Ed Rolison
SunOS myhost 5.8 Generic sun4m sparc SUNW,SPARCstation-20
GNU 2.0.a14
truss outputs and script logs are available on request, but the trailing
sections are these:
ACL method (overwrite/append) = a on /usr/local/bigbrother/bb/etc/bb-msgstab
Old acl has 4 entries and is:
cfengine:myhost: Mode =rwx, name=erolison, type=user
cfengine:myhost: Added ACL entry 4: type = 2, id = 1023, perm = 7
cfengine:myhost: Mode =rwx, name=, type=mask
cfengine:myhost: Replaced ACL entry 2: type = 10, id = 0, perm = 7
Changing effective uid to 1021
ACL method (overwrite/append) = a on /usr/local/bigbrother/bb/etc/bb-proctab
Old acl has 4 entries and is:
cfengine:myhost: Mode =rwx, name=erolison, type=user
cfengine:myhost: Added ACL entry 4: type = 2, id = 1023, perm = 7
cfengine:myhost: Mode =rwx, name=, type=mask
cfengine:myhost: Replaced ACL entry 2: type = 10, id = 0, perm = 7
Changing effective uid to 1021
cfengine:myhost: Couldn't open lock database /var/cfengine/cfengine_lock_db
cfengine:myhost: db_open: Permission denied
1872: umask(022) = 0
1872: lstat("/usr/local/bigbrother/bb/etc/bb-proctab", 0xEFFEB298) = 0
1872: umask(0) = 022
1872: getuid() = 0 [1021]
1872: stat("/usr/local/bigbrother/bb/etc/bb-proctab", 0xEFFEB298) = 0
1872: write(1, " A C L m e t h o d ".., 78) = 78
1872: acl("/usr/local/bigbrother/bb/etc/bb-proctab", GETACLCNT, 0,
0x00000000) = 4
1872: acl("/usr/local/bigbrother/bb/etc/bb-proctab", GETACL, 4, 0xEFFE8118)
= 4
1872: stat("/usr/local/bigbrother/bb/etc/bb-proctab", 0xEFFE5080) = 0
1872: write(1, " O l d a c l h a s".., 31) = 31
1872: write(1, " c f e n g i n e : m y h".., 53) = 53
1872: door_info(3, 0xEFFE4AD8) = 0
1872: door_call(3, 0xEFFE4AC0) = 0
1872: write(1, " c f e n g i n e : m y h".., 66) = 66
1872: write(1, " c f e n g i n e : m y h".., 45) = 45
1872: write(1, " c f e n g i n e : m y h".., 67) = 67
1872: getuid() = 0 [1021]
1872: write(1, " C h a n g i n g e f f".., 31) = 31
1872: seteuid(1021) = 0
1872: acl("/usr/local/bigbrother/bb/etc/bb-proctab", SETACL, 5, 0xEFFE5118)
= 0
1872: umask(022) = 0
1872: getdents64(4, 0x0015F6F8, 1048) = 0
1872: close(4) = 0
1872: open64("/var/cfengine/cfengine_lock_db", O_RDWR|O_CREAT|O_EXCL, 0644)
Err#17 EEXIST
1872: open64("/var/cfengine/cfengine_lock_db", O_RDWR) Err#13 EACCES
1872: write(1, " c f e n g i n e : m y h".., 76) = 76
1872: write(1, " c f e n g i n e : m y h".., 44) = 44
1872: Incurred fault #6, FLTBOUNDS %pc = 0x00000000
1872: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
1872: Received signal #11, SIGSEGV [caught]
1872: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
1872: sigprocmask(SIG_SETMASK, 0xEF50EFF8, 0x00000000) = 0
1872: sigaction(SIGSEGV, 0xEFFEBE40, 0x00000000) = 0
1872: sigprocmask(SIG_SETMASK, 0xEF51ADC8, 0x00000000) = 0
1872: setcontext(0xEFFEBFF8)
1872: Incurred fault #6, FLTBOUNDS %pc = 0x0000000
1872: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
1872: Received signal #11, SIGSEGV [default]
1872: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
1872: *** process killed ***
CONFIDENTIALITY:
This e-mail and any attachments are confidential and may be privileged. If
you are not a named recipient, please notify the sender immediately and do
not disclose the contents to another person, use it for any purpose, or
store or copy the information in any medium.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Segfault with changing Solaris ACLs,
ed . rolison <=