[Samba] Re: Bug#219197: PANIC: internal error
Mike Fedyk
mfedyk at matchmail.com
Thu Jan 22 20:16:29 GMT 2004
On Wed, Jan 21, 2004 at 02:05:42PM -0600, Steve Langasek wrote:
> Mike,
>
> On Wed, Jan 21, 2004 at 11:29:33AM -0800, Mike Fedyk wrote:
> > On Wed, Jan 21, 2004 at 11:10:40AM -0800, Mike Fedyk wrote:
> > > I'm still looking through my logs to see if there are any new traces there.
>
> > All clients are win2k, except for scitex which is win98.
>
> > And here are some more:
>
> Based on your other message indicating that you're essentially seeing
> segfaults in main() in the smbd process, something I've never seen, I'm
> more than a little concerned about the accuracy of these backtraces.
> Are you using stock libc on this system? What version of gcc did you
I'm using the libc from testing:
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux srv-lnx2600 2.6.1-bk2 #1 SMP Wed Jan 14 14:49:14 PST 2004 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages samba depends on:
ii debconf 1.3.22 Debian configuration management sy
ii libacl1 2.2.21-1 Access control list shared library
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libcomerr2 1.34+1.35-WIP-2003.12.07-2 The Common Error Description libra
ii libcupsys2 1.1.20candidate6-6 Common UNIX Printing System(tm) -
ii libgnutls7 0.8.12-3.1 GNU TLS library - runtime library
ii libkrb53 1.3-2 MIT Kerberos runtime libraries
ii libldap2 2.1.23-1 OpenLDAP libraries
ii libpam-module 0.76-14.1 Pluggable Authentication Modules f
ii libpam-runtim 0.76-14.1 Runtime support for the PAM librar
ii libpam0g 0.76-14.1 Pluggable Authentication Modules l
ii libpopt0 1.7-4 lib for parsing cmdline parameters
ii logrotate 3.6.5-2 Log rotation utility
ii netbase 4.15 Basic TCP/IP networking system
ii samba-common 3.0.1-2-debug1 Samba common files used by both th
> use when recompiling samba for debugging symbols? Did you use the
> Debian packages as a base for this build, or did you use the upstream
> tarball -- and if the latter, what options did you pass to ./configure?
I used source package from 3.0.1-2.
> The backtraces you've included below do NOT suggest that the binaries
> have intact debugging symbols, as several of the functions on the stack
> have no names associated with them. Do you get different results from
> gdb (using the default Debian 'panic action' script)?
I used
'DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -rfakeroot -B -uc -us'
as you mentioned in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=219197
and only changed the changelog file to give it the "debug1" suffix and the
build environment is above, all from debian testing at the time.
I have a custom smb.conf file which I'm attaching, and have just added:
panic action = "/usr/share/samba/panic-action"
Can debian change the default panic action if it is unset, or would that be
a bad idea?
Mike
-------------- next part --------------
#!/bin/nowhere/sh
###
### Inter-Dept File Exchange
###
[7day_temp]
copy = default
comment = WARNING: ALL files in this share deleted after 7 days of inactivity!
path = /share/7day_temp/
create mode = 0666
force directory mode = 2777
browseable = yes
hide dot files = yes
[common_files]
copy = default
comment = Files common to all Depts
path = /share/common_files/
browseable = yes
oplocks = no
###
### Archives/Administration
###
[Applications]
copy = default
comment = Hot backup of Applications on mmp_nt
path = /share/applications
browseable = yes
#oplocks = yes
[Archive]
copy = default
comment = Archive of files & etc
path = /share/archive/
browseable = yes
[Auto_misc]
copy = default
comment = Files used by automated processes
path = /share/auto_misc/
browseable = yes
[MIS]
copy = default
comment = Management Information Systems
path = /share/mis/
browseable = yes
[Music]
copy = default
comment = Music
path = /share/music/
browseable = yes
#[zBackup]
# copy = default
# comment = Backup System
# path = /share
# browseable = yes
# short preserve case = yes
# preserve case = yes
# writable = no
#Make sure it is the backup user that is backing up files,
#in case there is a misconfiguration on the backup server
# valid users = backup
# hide unreadable = yes
###
### Data Processing
###
[CD_Backup]
copy = default
comment = Automatic Job Compression & ISO Backups
path = /share/cd_backup/
browseable = yes
###
### Departments
###
[Accounting]
copy = default
comment = Accounting
path = /share/accounting/
browseable = yes
[Teams]
copy = default
comment = Teams
path = /share/teams/
browseable = yes
oplocks = no
[team-a]
copy = default
comment = Team A
path = /share/team-a/
browseable = yes
oplocks = no
[team-b]
copy = default
comment = Team B
path = /share/team-b/
browseable = yes
oplocks = no
[team-c]
copy = default
comment = Team C
path = /share/team-c/
browseable = yes
oplocks = no
[team-d]
copy = default
comment = Team D
path = /share/team-d/
browseable = yes
oplocks = no
[Fulfillment]
copy = default
comment = Fulfillment
path = /share/fulfillment/
browseable = yes
[Executive]
copy = default
comment = Executive
path = /share/executive/
browseable = yes
[Production]
copy = default
comment = Production
path = /share/production/
browseable = yes
oplocks = no
[Inventory]
copy = default
comment = Inventory
path = /share/inventory/
browseable = yes
oplocks = no
[Sales]
copy = default
comment = Sales
path = /share/sales/
browseable = yes
oplocks = no
###
### Printing
###
[letter_art]
copy = default
comment = Letter Art
path = /share/letter_art/
browseable = yes
[prn_bryce]
copy = default
comment = Bryce job directories
path = /share/prn_bryce/
browseable = yes
[prn_scitex]
copy = default
comment = Scitex job directories
path = /share/prn_scitex/
browseable = yes
###
### Archives/Administration
###
#Win32 Roaming Profiles
[profiles]
copy = default
comment = User Profils
path = /share/do_not_backup/profiles
browseable = no
force create mode = 600
force directory mode = 700
#oplocks = yes
#User Home Directories (This usually points to a
#directory within the user's department
#[homes]
# public = no
# browsable = no
# writable = yes
# comment = Home Directory for: %U %u Group: %G %g
# create mode = 0660
# hide dot files = yes
# dos filetimes = True
# #oplocks = no
-------------- next part --------------
# Please see the manual page for smb.conf for detailed description of
# every parameter.
[global]
keepalive = 300 # default to 300 on 3.0.0
#####Optimizations
change notify timeout = 60 # default 60 as of 3.0.0
#### WINS
Include = /etc/samba/service.wins
#wins server = wins
#####Authentcation
security = domain
guest account = nobody
map to guest = Bad User
#encrypt passwords defaults to yes as of 3.0.0; defaults to no on 2.2!
encrypt passwords = yes
username map = /etc/samba/username.map
server string = %h (Samba %v)
####Browsing
workgroup = matchmail
netbios name = fileserver
netbios aliases = mmp-linux
password server = *
remote announce = 192.168.81.3
#####Logging
syslog = 0
#debug pid = Yes
#debug uid = Yes
log file = /var/log/samba/comp.%m
[default]
browseable = no
comment = Default netbios: %L
guest ok = yes
writable = yes
create mask = 0664
directory mode = 2775
inherit permissions = True
map hidden = true
follow symlinks = yes
invalid users = root
path = /share
dos filetime resolution = True
dos filemode = true
oplocks = no
veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
delete veto files = True
#map system = true
#hide dot files = yes
#strict locking = yes
#####Config based on name
include = /etc/samba/comp.%L
More information about the samba
mailing list