Univention Bugzilla – Attachment 7592 Details for
Bug 41049
Installation of samba-libs fails if old secrets.tdb or pass.tdb exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
samba-libs.preinst.patch
samba-libs.preinst.patch (text/plain), 1.07 KB, created by
Arvid Requate
on 2016-04-13 15:14:51 CEST
(
hide
)
Description:
samba-libs.preinst.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2016-04-13 15:14:51 CEST
Size:
1.07 KB
patch
obsolete
>--- samba-4.3.7.orig/debian/samba-libs.preinst 2016-04-13 15:08:11.228019009 +0200 >+++ samba-4.3.7/debian/samba-libs.preinst 2016-04-13 15:12:10.477629672 +0200 >@@ -16,11 +16,18 @@ > if [ -e /var/lib/samba/private/$file ] && > [ ! /var/lib/samba/$file -ef /var/lib/samba/private/$file ] > then >- echo $file exists in /var/lib/samba and /var/lib/samba/private, aborting samba-libs preinst >- echo rename one of them to allow the install/upgrade to continue >- echo http://bugs.debian.org/726472 >- ls -al /var/lib/samba /var/lib/samba/private >- exit 1 >+ echo "$file exists in /var/lib/samba and /var/lib/samba/private," >+ if [ "/var/lib/samba/$file" -ot "/var/lib/samba/private/$file" ] >+ then >+ echo "/var/lib/samba/$file is older, renaming to .bak" >+ mv "/var/lib/samba/$file" "/var/lib/samba/$file.bak" >+ else >+ echo aborting samba-libs preinst >+ echo rename one of them to allow the install/upgrade to continue >+ echo http://bugs.debian.org/726472 >+ ls -al /var/lib/samba /var/lib/samba/private >+ exit 1 >+ fi > fi > fi > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41049
: 7592