Koozali.org: home of the SME Server

Broken symlinks after upgrade

Offline daniel

  • ***
  • 146
  • +0/-0
  • Platinum Sponsor
    • http://www.charton-mgmt.com
Broken symlinks after upgrade
« on: April 12, 2011, 04:04:02 PM »
I'm using SME8b6 with contrib smeserver-shared-folders installed.   Last night I applied all the updates waiting to be installed.  Didn't realize till this morning that the symlinks I created in one shared folder to another shared folder did not work anymore in windows but did work in linux.   Verified through a root login that the symlinks did work from one shared folder to the other.  Browsing in Windows to each of the shares works.  Double clicking on the symlink in the share gives a windows message "f:\{symlink} is not accessable.  Access is denied".  Just to verify it wasn't an issue with smeserver-shared-folders, I created a symlink in my personal ibay to the public ibay.  It failed the same when browsing to it in Windows. 

After searching on samba follow symlink  I found reference to the smb.conf file having "follow symlink = yes" to follow symlinks.  I didn't see that in any sections of the smb.conf.  I pulled the smb.conf file from a backup of 3 weeks ago and it didn't have any lines "follow symlink = yes" in it either.  Temporarily I deleted the symlinks in the share and using windows setup shortcuts on the share with the same name.  That works.

Any suggestions what might have happened? 

These are the updates that were applied last night:
audit.i386                                1.7.18-2.el5                   base   
audit-libs.i386                           1.7.18-2.el5                   base   
bind-libs.i386                            30:9.3.6-16.P1.el5             base   
bind-utils.i386                           30:9.3.6-16.P1.el5             base   
centos-release.i386                       10:5-6.el5.centos.1            base   
centos-release-notes.i386                 5.6-0                          base   
coreutils.i386                            5.97-23.el5_6.4                updates
cups-libs.i386                            1:1.3.7-26.el5_6.1             updates
curl.i386                                 7.15.5-9.el5_6.2               updates
dbus.i386                                 1.1.2-15.el5_6                 updates
dbus-libs.i386                            1.1.2-15.el5_6                 updates
device-mapper.i386                        1.02.55-2.el5                  base   
device-mapper-event.i386                  1.02.55-2.el5                  base   
device-mapper-multipath.i386              0.4.7-42.el5_6.2               updates
dump.i386                                 0.4b41-5.el5                   base   
gettext.i386                              0.17-1.el5                     base   
glibc.i686                                2.5-58                         base   
glibc-common.i386                         2.5-58                         base   
hal.i386                                  0.5.8.1-62.el5                 base   
httpd.i386                                2.2.3-45.el5.centos            base   
hwdata.noarch                             0.213.22-1.el5                 base   
kernel.i686                               2.6.18-238.5.1.el5             updates
kpartx.i386                               0.4.7-42.el5_6.2               updates
krb5-libs.i386                            1.6.1-55.el5_6.1               updates
kudzu.i386                                1.2.57.1.26-1.el5.centos       base   
less.i386                                 436-7.el5                      base   
libgcc.i386                               4.1.2-50.el5                   base   
libselinux.i386                           1.33.4-5.7.el5                 base   
libselinux-utils.i386                     1.33.4-5.7.el5                 base   
libsmbclient.i386                         3.0.33-3.29.el5_6.2            updates
libstdc++.i386                            4.1.2-50.el5                   base   
libtalloc.i386                            2.0.1-11.el5                   base   
libtdb.i386                               1.2.1-5.el5                    base   
libtiff.i386                              3.8.2-7.el5_6.7                updates
libvolume_id.i386                         095-14.24.el5                  base   
lvm2.i386                                 2.02.74-5.el5_6.1              updates
m2crypto.i386                             0.16-7.el5                     updates
microcode_ctl.i386                        1:1.17-1.52.el5                base   
mkinitrd.i386                             5.1.19.6-68.el5                base   
mod_ssl.i386                              1:2.2.3-45.el5.centos          base   
mysql.i386                                5.0.77-4.el5_5.5               updates
mysql-server.i386                         5.0.77-4.el5_5.5               updates
nash.i386                                 5.1.19.6-68.el5                base   
openldap.i386                             2.3.43-12.el5_6.7              updates
openldap-servers.i386                     2.3.43-12.el5_6.7              updates
openssh.i386                              4.3p2-72.el5                   base   
openssh-clients.i386                      4.3p2-72.el5                   base   
openssh-server.i386                       4.3p2-72.el5                   base   
passwd.i386                               0.73-2                         base   
patch.i386                                2.5.4-31.el5                   base   
pciutils.i386                             3.1.7-3.el5                    base   
pcre.i386                                 6.6-6.el5_6.1                  updates
popt.i386                                 1.10.2.3-22.el5                base   
postgresql-libs.i386                      8.1.23-1.el5_6.1               updates
psmisc.i386                               22.2-7.el5_6.2                 updates
python.i386                               2.4.3-43.el5                   base   
python-urlgrabber.noarch                  3.1.0-6.el5                    base   
quota.i386                                1:3.13-4.el5                   base   
rmt.i386                                  0.4b41-5.el5                   base   
rpm.i386                                  4.4.2.3-22.el5                 base   
rpm-build.i386                            4.4.2.3-22.el5                 base   
rpm-libs.i386                             4.4.2.3-22.el5                 base   
rpm-python.i386                           4.4.2.3-22.el5                 base   
samba3x.i386                              3.5.4-0.70.el5_6.1             updates
samba3x-client.i386                       3.5.4-0.70.el5_6.1             updates
samba3x-common.i386                       3.5.4-0.70.el5_6.1             updates
samba3x-winbind.i386                      3.5.4-0.70.el5_6.1             updates
screen.i386                               4.0.3-3.el5                    base   
shadow-utils.i386                         2:4.0.17-18.el5                base   
sudo.i386                                 1.7.2p1-10.el5                 base   
system-config-securitylevel-tui.i386      1.6.29.1-6.el5                 base   
tdb-tools.i386                            1.2.1-5.el5                    base   
tmpwatch.i386                             2.9.7-1.1.el5.5                base   
tzdata.i386                               2011d-1.el5                    updates
udev.i386                                 095-14.24.el5                  base   
util-linux.i386                           2.13-0.56.el5                  base   
vim-common.i386                           2:7.0.109-7.el5                base   
vim-enhanced.i386                         2:7.0.109-7.el5                base   
vim-minimal.i386                          2:7.0.109-7.el5                base   
yum.noarch                                3.2.22-33.el5.centos           base   





Offline daniel

  • ***
  • 146
  • +0/-0
  • Platinum Sponsor
    • http://www.charton-mgmt.com
Re: Broken symlinks after upgrade
« Reply #1 on: April 18, 2011, 04:27:56 PM »
Have now posted this in the bug tracker as

http://bugs.contribs.org/show_bug.cgi?id=6599