[Bug 1386514] [NEW] multipathd can't be updated

2014-10-27 Thread sles
Public bug reported:

During package update on running 12.04 server I got:

Preparing to replace multipath-tools 0.4.9-3ubuntu5.1 (using 
.../multipath-tools_0.4.9-3ubuntu5.3_amd64.deb) ...
 * Stopping multipath daemon multipathd 

 Oct 28 08:06:13 | mpath1: 
map in use
invoke-rc.d: initscript multipath-tools, action stop failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
 * Stopping multipath daemon multipathd 

 Oct 28 08:06:13 | mpath1: 
map in use
invoke-rc.d: initscript multipath-tools, action stop failed.
dpkg: error processing 
/var/cache/apt/archives/multipath-tools_0.4.9-3ubuntu5.3_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
 * Starting multipath daemon multipathd 

  [ OK ] 
Errors were encountered while processing:
 /var/cache/apt/archives/multipath-tools_0.4.9-3ubuntu5.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is definitely wrong to stop multipathd on running system
And update can't be installed.

** Affects: multipath-tools (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1386514

Title:
  multipathd can't be updated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1386514/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1275607] [NEW] can't upgrade multipathd on 12.04

2014-02-02 Thread sles
Public bug reported:

Upgrade script tries to stop running multipathd while volume is in use:

apt-get upgrade
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages have been kept back:
  squid squid3 squid3-common
The following packages will be upgraded:
  multipath-tools
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
15 not fully installed or removed.
Need to get 0 B/166 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 
(Reading database ... 304505 files and directories currently installed.)
Preparing to replace multipath-tools 0.4.9-3ubuntu5 (using 
.../multipath-tools_0.4.9-3ubuntu5.1_amd64.deb) ...
 * Stopping multipath daemon multipathd 
  Feb 03 07:38:35 | 
mpath1: map in use
invoke-rc.d: initscript multipath-tools, action stop failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
 * Stopping multipath daemon multipathd 
  Feb 03 07:38:35 | 
mpath1: map in use
invoke-rc.d: initscript multipath-tools, action stop failed.
dpkg: error processing 
/var/cache/apt/archives/multipath-tools_0.4.9-3ubuntu5.1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
 * Starting multipath daemon multipathd 
   [ OK ] 
Errors were encountered while processing:
 /var/cache/apt/archives/multipath-tools_0.4.9-3ubuntu5.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Is there any wrokaround?

** Affects: multipath-tools (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1275607

Title:
  can't upgrade multipathd on 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1275607/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1188475] Re: ldap group doesn't work

2013-06-08 Thread sles
btw, more correct patch, which revert back bind from config in
lak_auth_bind

 diff -ur lak.c.orig lak.c
--- lak.c.orig2013-06-07 09:15:20.098788278 +0400
+++ lak.c2013-06-08 10:17:07.548233104 +0400
@@ -1448,8 +1448,25 @@
 if ( rc == LAK_OK 
 (ISSET(lak-conf-group_dn) ||
  ISSET(lak-conf-group_filter)) )
-rc = lak_group_member(lak, user, service, realm, dn-value);
+ {
+/* restore config bind */
+lak_unbind(lak);
+rc = lak_user(
+lak-conf-bind_dn,
+lak-conf-id,
+lak-conf-authz_id,
+lak-conf-mech,
+lak-conf-realm,
+lak-conf-password,
+lu);
+if (rc != LAK_OK)
+goto done;
+rc = lak_bind(lak, lu);
+if (rc != LAK_OK)
+goto done;

+rc = lak_group_member(lak, user, service, realm, dn-value);
+   }
 done:;
 if (lu)
 lak_user_free(lu);


don't sure it is correct from leaking some resources though


anyway it works

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cyrus-sasl2 in Ubuntu.
https://bugs.launchpad.net/bugs/1188475

Title:
  ldap group doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1188475/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1188475] [NEW] ldap group doesn't work

2013-06-07 Thread sles
Public bug reported:

Hello!

I wrote almost the same mail to sasl mail list, but , I guess, it is
good to fix in 12.04...

This bug exists in 2.1.26 , and in 2.1.25 which is in 12.04

Problem is that after user is authentificated with ldap bind , ldap 
connection for checking user in group ( lak_group_member function )
is made with this user's bind, not bind parameters from config file.
User can not ( and have not in our case- I don't know why , but this is 
not real problem ) have access to ldap groups.
And so, authentication is always fail.

I added unbind and anonymous bind ( enough in our case):

/var/local/files/sasl/cyrus-sasl-2.1.26/saslauthd# diff -ur lak.c.orig 
lak.c
--- lak.c.orig2013-06-07 09:15:20.098788278 +0400
+++ lak.c2013-06-07 09:22:31.504774185 +0400
@@ -1342,6 +1342,10 @@
 if (rc != LAK_OK)
 goto done;

+lak_unbind (lak );
+rc  = lak_bind(lak, );
+
+
 rc = ldap_search_st(lak-ld, group_search_base, 
lak-conf-group_scope, group_filter, (char **) group_attrs, 0, 
(lak-conf-timeout), res);
 switch (rc) {
 case LDAP_SUCCESS:


but, it is obvoius that rebind should be done with credintials from 
config, but this is over my head :-(

Could you, please, fix this bug correctly?

Thank you!

** Affects: cyrus-sasl2 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cyrus-sasl2 in Ubuntu.
https://bugs.launchpad.net/bugs/1188475

Title:
  ldap group doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1188475/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs