[Bug 352170] [NEW] openvpn - openssl-vulnkey:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha

2009-03-31 Thread Péter
Public bug reported:

Binary package hint: openvpn

 * Starting virtual private network daemon(s)...
  * 
  Autostarting VPN 'openvpn'
  
/usr/bin/openssl-vulnkey:24: DeprecationWarning: the sha module is deprecated; 
use the hashlib module instead
  import sha

** Affects: openvpn (Ubuntu)
 Importance: Undecided
 Status: New

-- 
openvpn - openssl-vulnkey:24: DeprecationWarning: the sha module is deprecated; 
use the hashlib module instead   import sha
https://bugs.launchpad.net/bugs/352170
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
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 305264]

2009-03-31 Thread Martin Pitt
Accepted openldap into intrepid-proposed; please test and give feedback
here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for
documentation how to enable and use -proposed. Thank you in advance!

-- 
gnutls regression: failure in certificate chain validation
https://bugs.launchpad.net/bugs/305264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.

-- 
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 305264]

2009-03-31 Thread Martin Pitt
Accepted openldap into hardy-proposed; please test and give feedback
here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for
documentation how to enable and use -proposed. Thank you in advance!

-- 
gnutls regression: failure in certificate chain validation
https://bugs.launchpad.net/bugs/305264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.

-- 
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 307437] Re: mysql has to autostart later

2009-03-31 Thread midnightflash
Those two above are totally wrong... from a totally other system running on the 
same box... sorry!
Need more coffee by the way... ;-)

Now the real ones...

** Attachment added: etc/mysql/my.cnf
   http://launchpadlibrarian.net/24564973/my.cnf

-- 
mysql has to autostart later
https://bugs.launchpad.net/bugs/307437
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 307437] Re: mysql has to autostart later

2009-03-31 Thread midnightflash
/etc/my.cnf

** Attachment added: my.cnf
   http://launchpadlibrarian.net/24564764/my.cnf

-- 
mysql has to autostart later
https://bugs.launchpad.net/bugs/307437
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 307437] Re: mysql has to autostart later

2009-03-31 Thread midnightflash
/etc/mysql/debian.cnf is the generic do not touch one. 
and
/etc/mysql/conf.d/old_passwords.cnf :
# created by debconf
[mysqld]
old_passwords = false

In
/etc/network/interfaces
all is commented out - DHCP - Networkmanager
And the other files/folders are generic too. Nothing special at all.

-- 
mysql has to autostart later
https://bugs.launchpad.net/bugs/307437
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 307437] Re: mysql has to autostart later

2009-03-31 Thread midnightflash
The above is /etc/mysql/my.conf
Now: /etc/mysql/mysqlaccess.conf

** Attachment added: mysqlaccess.conf
   http://launchpadlibrarian.net/24564778/mysqlaccess.conf

-- 
mysql has to autostart later
https://bugs.launchpad.net/bugs/307437
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 299455] Re: mysql init script fails if debian-start is not executable

2009-03-31 Thread Arjen Van Drie
No, I don't remember changing the permission on /etc/mysql/debian-start.

-- 
mysql init script fails if debian-start is not executable
https://bugs.launchpad.net/bugs/299455
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 333813] Re: MySQL daemon crashes daily on logrotate's flush-logs

2009-03-31 Thread gcc
Step 1 has been done. The bug (this bug) is marked as fix released.

Step 2:

The impact of the bug is that any user executing the flush logs
command will experience a crash of the mysql server process that they
send it to, if expire-log-days is enabled but log-bin is disabled in
/etc/mysql/my.cnf. The logrotate process does this every day, and
generates an error email as described above.

I believe that in the development branch, it was addressed by updating
to a more recent version of mysqld. My Hardy system has 5.0.51a-
3ubuntu5.4, the bug was fixed in 5.0.33.

The exact, minimal patch that fixes this problem is here:
http://lists.mysql.com/commits/15790

TEST CASE: enable expire_log_days and disable log-bin in /etc/my.cnf,
restart mysqld, run mysqladmin flush-logs.

The only regression potential that I can see in the patch is that a case
where the SQL FLUSH LOGS statement might previously cause an error, when
check_db_used(thd, all_tables) returns non-zero, no longer returns an
error. I doubt that that is a significant regression.

-- 
MySQL daemon crashes daily on logrotate's flush-logs
https://bugs.launchpad.net/bugs/333813
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 352321] [NEW] mysql queries lose results

2009-03-31 Thread Martin Wimmer
Public bug reported:

Binary package hint: mysql-server-5.0

Problem tested on: Ubuntu Hardy Heron (Server)

On certain (mostly large) queries that use nested joins, when using LEFT
JOIN's with tables which are empty, other joins seem to also to be
evaluated as empty although they shouldn't be. As soon as I add a dummy
entry to the empty table (which is not joined because of the on clause)
the results are correct

This seems to be a problem of the query optimizer.

Following example query leads to the problems. (The empty table is
a20_1_temp. The table join for a20_1_shop_element is then evaluated as
empty)

Unfortunately I couldn't make the query less complex as I did here as the bug 
doesn't appear then any more.
I can provide a database setup script to create the database if needed.

SELECT *
FROM ((`at_telacc_demopool`.`plib_objects_plib_objects_dbo` a20_1_dbo, 
((`at_telacc_demopool`.`plib_objects_at_telacc_demopool_shops_product` 
a20_1_product) 
LEFT JOIN 
((`at_telacc_demopool`.`plib_objects_at_telacc_demopool_shops_product_distributor`
 a20_1_distributor) ) 
ON a20_1_distributor.part_nr = a20_1_product.part_nr),
(`at_telacc_demopool`.`plib_objects_at_telacc_demopool_shops_shop_element` 
a20_1_shop_element) ) 
LEFT JOIN ((`at_telacc_demopool`.`plib_objects_plib_objects_dbo` a21_1_dbo, 
(`at_telacc_demopool`.`plib_objects_plib_objects_dbo_type` a21_1_dbo_type) ) ) 
ON a21_1_dbo_type.oid = a21_1_dbo.oid AND a20_1_dbo.type_oid = a21_1_dbo.oid 
LEFT JOIN ((`at_telacc_demopool`.`plib_objects_plib_objects_dbo` a23_1_dbo, 
(`at_telacc_demopool`.`plib_objects_at_telacc_demopool_shops_shop_element` 
a23_1_shop_element) , 
(`at_telacc_demopool`.`plib_objects_at_telacc_demopool_shops_category` 
a23_1_shop_category) ) 
LEFT JOIN 
((`at_telacc_demopool`.`plib_objects__telacc_demopool_shops_category__shop_element`
 a23_1_children) ) 
ON a23_1_children.oid = a23_1_dbo.oid) 
ON a23_1_shop_element.oid = a23_1_dbo.oid AND a23_1_shop_category.oid = 
a23_1_dbo.oid AND a20_1_dbo.oid = a23_1_children.shop_element_oid 
LEFT JOIN ((`at_telacc_demopool`.`plib_objects_plib_objects_dbo_temp` 
a20_1_temp) ) 
ON a20_1_temp.oid = a20_1_dbo.oid )
LEFT JOIN 
((`at_telacc_demopool`.`plib_objects_at_telacc_demopool_shops_shop_element__shop`
 a20_1_shops) 
LEFT JOIN ((`at_telacc_demopool`.`plib_objects_plib_objects_dbo` 
a22_1_dbo, (`at_telacc_demopool`.`plib_objects_at_telacc_demopool_shops_shop` 
a22_1_shop) ) ) 
ON ((a20_1_shops.flags  4) = 4) AND a22_1_shop.oid = a22_1_dbo.oid AND 
a20_1_shops.shop_oid = a22_1_dbo.oid) 
ON a20_1_shops.oid = a20_1_dbo.oid 
WHERE 
 a20_1_product.oid = a20_1_dbo.oid AND a20_1_shop_element.oid = a20_1_dbo.oid

** Affects: mysql-dfsg-5.0 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
mysql queries lose results
https://bugs.launchpad.net/bugs/352321
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 307437] Re: mysql has to autostart later

2009-03-31 Thread midnightflash
etc/mysql/debian-start

** Attachment added: /etc/mysql/debian-start
   http://launchpadlibrarian.net/24565024/debian-start

-- 
mysql has to autostart later
https://bugs.launchpad.net/bugs/307437
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 352391] [NEW] AppArmor prevents DHCP from getting address

2009-03-31 Thread Roger Hunwicks
Public bug reported:

I am running Jaunty Beta on AMD64, I have dhcp3 (3.1.1-5ubuntu7)
installed.

Network Manager shows the constant spinning icon, and never gets an IP
address.

My /var/log/messages has:

Mar 31 15:54:51 hostname kernel: [   23.264536] type=1503
audit(1238504091.637:14): operation=socket_create family=inet
sock_type=dgram protocol=17 pid=3269 profile=/sbin/dhclient3

This is sort of related to
https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/342235 but is
giving a different AppArmor error.

** Affects: dhcp3 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
AppArmor prevents DHCP from getting address
https://bugs.launchpad.net/bugs/352391
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
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


Re: [Bug 307437] Re: mysql has to autostart later

2009-03-31 Thread Mathias Gug
On Tue, Mar 31, 2009 at 10:16:51AM -, midnightflash wrote:
 In
 /etc/network/interfaces
 all is commented out - DHCP - Networkmanager

Are you running NetworkManager in session or system mode? In session mode 
NetworkManager will only bring networking once a user is logged into the
system which happens after mysql tries to start during boot.

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
mysql has to autostart later
https://bugs.launchpad.net/bugs/307437
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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


Re: [Bug 352321] [NEW] mysql queries lose results

2009-03-31 Thread Mathias Gug
Thank you for taking the time to report this bug and helping to make
Ubuntu better. 

On Tue, Mar 31, 2009 at 11:48:19AM -, Martin Wimmer wrote:
 I can provide a database setup script to create the database if needed.

Yes. Please provide a database setup script in order to facilitate
creating a reproducible test case. Thank you.

  status incomplete

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com


** Changed in: mysql-dfsg-5.0 (Ubuntu)
   Status: New = Incomplete

-- 
mysql queries lose results
https://bugs.launchpad.net/bugs/352321
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 352446] [NEW] libtomcat6-java depends on libecj-java

2009-03-31 Thread stephen mulcahy
Public bug reported:

Binary package hint: tomcat6

libtomcat6-java depends on libecj-java which in turn installs gcj.

In practice, if I have sun-java6-jdk installed and then install tomcat6
with

sudo aptitude -R install tomcat6

which doesn't pull

ecj-gcj libecj-java-gcj

as dependencies, everything works fine and my environment continues using sun 
java6 (which I need
for my project).

Can we rectify the dependencies here to avoid this implicit dependency
on gcj?

** Affects: tomcat6 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
libtomcat6-java depends on libecj-java
https://bugs.launchpad.net/bugs/352446
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
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 352321] Re: mysql queries lose results

2009-03-31 Thread Martin Wimmer
ok, thank you for your quick reply. I now created an import script and
tested it.

With it I could also reproduce this bug on intrepid.

To see how the results of the query should normally look like, try to insert a 
dummy entry into the temp table:
INSERT INTO `plib_objects_plib_objects_dbo_temp` (`oid`, `expires`) VALUES
(-1, '2030-01-01 00:00:00');

After creating it the bug disappears. If you delete it, the bug appears
again.


** Attachment added: SQL Script to create the problematic database
   http://launchpadlibrarian.net/24575162/bug.sql

-- 
mysql queries lose results
https://bugs.launchpad.net/bugs/352321
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
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 305393] Re: Please upgrade php5 to new upstream version 5.2.9

2009-03-31 Thread Ragimiri
I have problem with this bug:

http://bugs.php.net/bug.php?id=42862

Will this be fixed in Ubuntu Server 8.10?

-- 
Please upgrade php5 to new upstream version 5.2.9
https://bugs.launchpad.net/bugs/305393
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
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 74164] Re: Request ntp-servers by default

2009-03-31 Thread Colin Watson
** Bug watch added: Debian Bug tracker #407667
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407667

** Also affects: dhcp3 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407667
   Importance: Unknown
   Status: Unknown

-- 
Request ntp-servers by default
https://bugs.launchpad.net/bugs/74164
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
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 74164] Re: Request ntp-servers by default

2009-03-31 Thread Bug Watch Updater
** Changed in: dhcp3 (Debian)
   Status: Unknown = New

-- 
Request ntp-servers by default
https://bugs.launchpad.net/bugs/74164
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
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 352446] Re: libtomcat6-java depends on libecj-java

2009-03-31 Thread Thierry Carrez
*** This bug is a duplicate of bug 347393 ***
https://bugs.launchpad.net/bugs/347393

The problem is in libecj-java recommending gcj. So this is a duplicate
of bug 347393

** This bug has been marked a duplicate of bug 347393
   libecj-java shouldn't systematically recommend libecj-java-gcj

-- 
libtomcat6-java depends on libecj-java
https://bugs.launchpad.net/bugs/352446
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
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 351378] Re: dhclient fails for virtual interfaces (IP aliases)

2009-03-31 Thread Tom Metro
Commenting on some of the comments in Bug #123773.

In Bug #123773
Jamie Strandboge wrote:
 ...though ifup (and ifdown) will give that error, the interface
 comes up fine, and is pingable

In this case the interface doesn't come up.


In comment
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/123773/comments/11
behemot wrote:
 ...that removing package wireless-tools...helps.

Removing, moving, or disabling the execute bits on /etc/network/if-pre-
up.d/wireless-tools seems to have no impact on this problem.


In comment
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/123773/comments/12
Alessandro Lo Forte wrote:
 I have located the problem in the file /etc/if-pre-up.d/wireless-tools...
 In fact the error code is generated when /sbin/ifconfig is invoked to
 bring up an alias (like eth0:0) interface.

This suggests both problems likely have a common underlying cause. My
research shows that /sbin/ifconfig, being invoked by dhclient, is also
the culprit here. (See comments below.)

This may also mean that this bug should be reclassified as being against
the net-tools package instead of dhcp3.


In comment
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/123773/comments/22
Juuso Tähkäpää wrote:
 sudo ifconfig eth0:1 1.2.3.4
 dhcpcd -I someid eth0:1
 ...but still ifconfig shows no eth0:1. 
 Manually assigned aliases (ifconfig eth0:2 $ip) do show up
 in ifconfig listings just as they should.

Although I don't have dhcpcd installed, I've observed similar results
with dhclient, where it fails to configure the interface, but invoking
ifconfig directly with a static address works.

This gives some hope for a possible workaround hack. I'm thinking in
/etc/network/interfaces one could invoke a script using the 'up'
argument for the main (real) interface, which then would invoke dhclient
in some fashion or maybe using a simpler DHCP client like udhcpc that
returns an IP address to a shell variable, and then invokes ifconfig,
passing the address. It would have limitations, like requiring perpetual
leases (I think, as there would be no process left running to handle an
expired lease).


In comment
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/123773/comments/17
gumptravels wrote:
 ...makes me think that you may not be able use dhcp on virtual interfaces
 since the mac address would be the same as all the other virtual interfaces
 on that same parent, and the same as the parent itself.

While a MAC address is often used as the default way to identify a DHCP
client, the DHCP client can optionally supply other identifying
information. For example, this theoretically correct (untested, due to
this bug) stanza from /etc/network/interfaces specifies that when the
DHCP client requests an address for the virtual interface that it
identifies itself with the alternate host name, indianpoint.

auto eth0:1
iface eth0:1 inet dhcp
  hostname indianpoint

Being able to use DHCP on virtual interfaces is highly desirable in
order to keep maintenance to a minimum, especially if you are using an
integrated DHCP/DNS service, like Dnsmasq. In that case the act of
requesting an address with the alternate host name will automatically
generate a corresponding DNS A-record for that hast name. Thus DNS
requires far less central administration.

 -Tom

-- 
dhclient fails for virtual interfaces (IP aliases)
https://bugs.launchpad.net/bugs/351378
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
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 351378] Re: dhclient fails for virtual interfaces (IP aliases)

2009-03-31 Thread Tom Metro
Forum threads relating to this issue:
http://ubuntuforums.org/showthread.php?t=918015
http://ubuntuforums.org/showthread.php?t=515162

-- 
dhclient fails for virtual interfaces (IP aliases)
https://bugs.launchpad.net/bugs/351378
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
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 352154] Re: ssh-agent stops responding

2009-03-31 Thread Colin Watson
21:21 rmcbride Anyone seen any behavior like 
https://bugs.edge.launchpad.net/ubuntu/+source/openssh/+bug/352154 ? A bunch of 
my team have this as a Nemisis since upgrading to Jaunty Beta
21:23 cjwatson rmcbride: very likely not openssh's fault at all, but due to 
seahorse
21:23 cjwatson rmcbride: echo $SSH_AUTH_SOCK
21:23 cjwatson it's only openssh if it's something like 
/tmp/ssh-BLAH/agent.BLAH
21:24 rmcbride cjwatson: ah, yea. OK that makes sense. One of our Devs 
spotted it first and wrote the bug based on observed behavior. I'm just 
following up because I'm seeing it on my dev system now.
21:24 cjwatson rmcbride: do actually do that $SSH_AUTH_SOCK check so that we 
can confirm though
21:25 rmcbride /tmp/keyring-gk1OMb/socket.ssh

Definitely not openssh's fault, then; I think seahorse is a likely
culprit.


** Package changed: openssh (Ubuntu) = seahorse (Ubuntu)

-- 
ssh-agent stops responding
https://bugs.launchpad.net/bugs/352154
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
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 339966] Re: dangerous action: dovecot-postfix force-installs new conf file

2009-03-31 Thread Mathias Gug
** Changed in: dovecot (Ubuntu)
 Assignee: (unassigned) = Mathias Gug (mathiaz)
   Status: Triaged = In Progress

-- 
dangerous action: dovecot-postfix force-installs new conf file
https://bugs.launchpad.net/bugs/339966
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in ubuntu.

-- 
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 349919] Re: ssh client sometimes hangs

2009-03-31 Thread Tony Luck
** Description changed:

  $ lsb_release -rd
  Description:  Ubuntu 8.10
  Release:  8.10
  $ apt-cache policy openssh-client
  openssh-client:
Installed: 1:5.1p1-3ubuntu1
Candidate: 1:5.1p1-3ubuntu1
Version table:
   *** 1:5.1p1-3ubuntu1 0
  500 http://us.archive.ubuntu.com intrepid/main Packages
  100 /var/lib/dpkg/status
  
  I have .ssh key files that I generated years ago.  I copied them to
  ~/.ssh on my ubuntu system. Most of the time when I use ssh to run a
  command on another system it works fine.  Once in 50 times ssh hangs
  locally.
  
  This is not a network problem ... same issue happens with localhost.
  E.g. if I run:
  
  $ while :
   do ssh localhost date
   done
  
  It will print the date a few dozen times, then the loop hangs (^C
  interrupts it).
  
  I tried using strace to see what was happening.  The ssh process was hung 
reading from a socket.
  Looking back through the strace, the socket was connected to some local 
keyring thing.
  Here are some relevent lines from strace output:
  
  socket(PF_FILE, SOCK_STREAM, 0) = 4
  fcntl(4, F_SETFD, FD_CLOEXEC)   = 0
  connect(4, {sa_family=AF_FILE, path=/tmp/keyring-fed2nU/ssh}, 110) = 0
  write(4, \0\0\0\1, 4) = 4
  write(4, \v, 1)   = 1
  read(4, \0\0\2h, 4)   = 4
  read(4, \f\0\0\0\2\0\0\0\225\0\0\0\7ssh-rsa\0\0\0\1#\0\0\0\201..., 616) = 
616
  write(3, $K \250\310\200\247\266-\25\257\212f\226h\234\f\275a\310..., 64) = 
64
  select(4, [3], NULL, NULL, NULL)= 1 (in [3])
  read(3, \34t\351\267\262/\362\315\33\r\3019\301\361dX\264\276\377..., 8192) 
= 80
  futex(0x7f956651f2e0, 0x81 /* FUTEX_??? */, 2147483647) = 0
  futex(0x7f956651f160, 0x81 /* FUTEX_??? */, 2147483647) = 0
  futex(0x7f9567385450, 0x81 /* FUTEX_??? */, 2147483647) = 0
  futex(0x7f9567159590, 0x81 /* FUTEX_??? */, 2147483647) = 0
  futex(0x7f95671599d0, 0x81 /* FUTEX_??? */, 2147483647) = 0
  
  
  
  open(/dev/urandom, O_RDONLY)  = 5
  fstat(5, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
  read(5, \21\207y;\216\357\361\37\310\230\300\211GYpr\236a\235\t..., 20) = 20
  close(5)= 0
  write(3, \314\331h\3711\274\2...@\201\201vg\ro\230\273d\2778X2..., 240) = 
240
  select(4, [3], NULL, NULL, NULL)= 1 (in [3])
  read(3, \234?r\352\30(\373T\277!bm\224W\30P\247\270\313\234\341..., 8192) = 
192
  brk(0x7f95690d9000) = 0x7f95690d9000
  brk(0x7f95690d8000) = 0x7f95690d8000
  write(4, \0\0\1\207, 4)   = 4
  write(4, \r\0\0\0\225\0\0\0\7ssh-rsa\0\0\0\1#\0\0\0\201\0\300\r..., 391) = 
391
  read(4, 0x7fff703fa880, 4)  = ? ERESTARTSYS (To be restarted)
  --- SIGINT (Interrupt) @ 0 (0) ---
  +++ killed by SIGINT +++
+ 
+ 
+ A hung ssh process is often revived when some other outging ssh request
+ is initiated.  Quite often the snoozy process wakes up and runs normally.
+ But sometimes it wakes up and reports a failed connection.

-- 
ssh client sometimes hangs
https://bugs.launchpad.net/bugs/349919
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
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 74164] Re: Request ntp-servers by default

2009-03-31 Thread Colin Watson
Thanks, uploading now.

-- 
Request ntp-servers by default
https://bugs.launchpad.net/bugs/74164
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
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 74164] Re: Request ntp-servers by default

2009-03-31 Thread Launchpad Bug Tracker
This bug was fixed in the package dhcp3 - 3.1.1-5ubuntu8

---
dhcp3 (3.1.1-5ubuntu8) jaunty; urgency=low

  * debian/dhclient.conf: Request ntp-servers by default (LP: #74164)

 -- Jonathan Marsden jmars...@fastmail.fm   Mon, 23 Mar 2009 19:42:32
-0700

** Changed in: dhcp3 (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Request ntp-servers by default
https://bugs.launchpad.net/bugs/74164
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
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 339966] Re: dangerous action: dovecot-postfix force-installs new conf file

2009-03-31 Thread Launchpad Bug Tracker
This bug was fixed in the package dovecot - 1:1.1.11-0ubuntu3

---
dovecot (1:1.1.11-0ubuntu3) jaunty; urgency=low

  [ Ante Karamatic ]
  * Add SMTP-AUTH support for Outlook (login auth mechanism)
  * debian/dovecot-postfix.postinst:
- merge user's custom changes from dovecot.conf (LP: #339966)

  [ Mathias Gug ]
  * properly support package upgrades.
  * handle reinstallation of package if it wasn't purged. Based on Ante's
patch:
+ debian/dovecot-postfix.postinst, debian/dovecot-posftix.postrm:
  - rename configuration name on remove, delete on purge
+ debian/dovecot-postfix.dirs
  - create backup directory for postfix's configuration

 -- Mathias Gug math...@ubuntu.com   Tue, 31 Mar 2009 18:43:06 -0400

** Changed in: dovecot (Ubuntu)
   Status: In Progress = Fix Released

-- 
dangerous action: dovecot-postfix force-installs new conf file
https://bugs.launchpad.net/bugs/339966
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in ubuntu.

-- 
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 351378] Re: dhclient fails for virtual interfaces (IP aliases)

2009-03-31 Thread Tom Metro
Attached is an archive containing the output of:

  # strace -ff -F -o /tmp/dhclient.strace dhclient eth0:0
  There is already a pid file /var/run/dhclient.pid with pid 134519072
  Internet Systems Consortium DHCP Client V3.0.6
  Copyright 2004-2007 Internet Systems Consortium.
  All rights reserved.
  For info, please visit http://www.isc.org/sw/dhcp/

  SIOCSIFADDR: Permission denied
  SIOCSIFFLAGS: Permission denied
  SIOCSIFFLAGS: Permission denied
  Bind socket to interface: No such device


Some interesting bits include:

From dhclient.strace.9271-avahi-autoipd:

execve(/usr/sbin/avahi-autoipd, [/usr/sbin/avahi-autoipd, -k, eth0:0], 
[/* 7 vars */]) = 0
[...]
open(/var/run//avahi-autoipd.eth0:0.pid, O_RDWR) = -1 ENOENT (No such file or 
directory)
write(2, Failed to kill daemon: No such f..., 48) = 48
write(2, \n, 1)   = 1
exit_group(1)   = ?


That avahi-autoipd is trying to access /var/run/avahi-autoipd.eth0:0.pid may be 
by design, or may be a bug. I don't know enough about avahi to know whether it 
normally has a separate daemon running for each interface, and if so, whether 
that should apply to virtual interfaces.

I saw a similar error in some of the messages output by dhclient, where
it was trying to create a PID file for itself that incorporated the
virtual device name. Again, should it be running a separate instance of
the daemon for each virtual interface?


And from dhclient.strace.9272-ifconfig:

execve(/sbin/ifconfig, [ifconfig, eth0:0, inet, 0, up], [/* 7 vars 
*/]) = 0
[...]
socket(PF_FILE, SOCK_DGRAM, 0)  = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
access(/proc/net/if_inet6, R_OK)  = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 6
[...]
ioctl(4, SIOCSIFADDR, 0xbfdbeb00)   = -1 EACCES (Permission denied)
dup(2)  = 7
fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(7, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 10), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f0b000
_llseek(7, 0, 0xbfdbe498, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(7, SIOCSIFADDR: Permission denied\n, 31) = 31
close(7)= 0
munmap(0xb7f0b000, 4096)= 0
ioctl(4, SIOCGIFFLAGS, {ifr_name=eth0:0, 
ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(4, SIOCSIFFLAGS, 0xbfdbe9e8)  = -1 EACCES (Permission denied)
dup(2)  = 7
fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(7, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 10), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f0b000
_llseek(7, 0, 0xbfdbe438, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(7, SIOCSIFFLAGS: Permission denied\n, 32) = 32
close(7)= 0
munmap(0xb7f0b000, 4096)= 0
ioctl(4, SIOCGIFFLAGS, {ifr_name=eth0:0, 
ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(4, SIOCSIFFLAGS, 0xbfdbe9e8)  = -1 EACCES (Permission denied)
dup(2)  = 7
fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(7, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 10), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f0b000
_llseek(7, 0, 0xbfdbe438, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(7, SIOCSIFFLAGS: Permission denied\n, 32) = 32
close(7)= 0
munmap(0xb7f0b000, 4096)= 0
exit_group(-1)  = ?


This call to ifconfig seems to be the source of the errors. I'm puzzled how you 
can get an EACCES error on a newly created socket while running as root, if 
SELinux or AppArmor isn't involved (as far as I'm aware).

If I run the above command directly:

# /sbin/ifconfig eth0:0 inet 0 up
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address

Sure enough, same results. Using 0.0.0.0 also fails, but substitute a
real IP address for the zero placeholder and we get:

# /sbin/ifconfig eth0:0 inet 192.168.0.210 up
# ifconfig
[...]
eth0:0Link encap:Ethernet  HWaddr 00:04:61:4b:d1:33  
  inet addr:192.168.0.210  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  Interrupt:16 
[...]


It seems the EACCES error is incorrect and misleading, and the call should 
instead return an error indicating that the address is invalid.

I'm assuming dhclient is calling ifconfig in this fashion in order to
create the virtual device, and if successful, is going to go back after
obtaining an IP address via DHCP and update the interface.

I gather some internals in ifconfig or the kernel changed.

 -Tom


** Attachment added: strace -ff -F -o /tmp/dhclient.strace dhclient eth0:0
   http://launchpadlibrarian.net/24607967/dhclient.strace.zip

-- 
dhclient fails for