[Bug 978356] Re: squid3 gets killed at startup with dnsmasq and no networkmanager

2012-04-26 Thread TJ
I'm seeing a similar crash on a 12.04 32-bit server in similar
circumstances, however the error is different. Before I open a separate
bug report I thought I'd check with Marco if he sees the following
reports in "/var/log/squid3/access.log.1" ?

11:12:24 | Reconfiguring Squid Cache (version 3.1.19)...
11:12:24 | FD 14 Closing HTTP Connection
11:12:24 | assertion failed: disk.cc377: "fd >= 0" 

I see this in dmesg:

init: squid3 main process (3562) killed by ABRT signal

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

Title:
  squid3 gets killed at startup with dnsmasq and no networkmanager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/978356/+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 988802] [NEW] squid3 killed by ABRT signal. assertion failed: disk.cc377: "fd >= 0"

2012-04-26 Thread TJ
Public bug reported:

On 12.04  x86 server during start-up.

dmesg shows:

[   79.073519] init: squid3 main process (3562) killed by ABRT signal

/var/log/squid3/cache.log.1 shows:

$ sudo tail /var/log/squid3/cache.log.1

2012/04/26 11:12:23| Loaded Icons.
2012/04/26 11:12:23| Accepting  intercepted HTTP connections at 0.0.0.0:3128, 
FD 14.
2012/04/26 11:12:23| HTCP Disabled.
2012/04/26 11:12:23| Squid plugin modules loaded: 0
2012/04/26 11:12:23| Adaptation support is off.
2012/04/26 11:12:23| Ready to serve requests.
2012/04/26 11:12:23| Store rebuilding is 3.22% complete
2012/04/26 11:12:24| Reconfiguring Squid Cache (version 3.1.19)...
2012/04/26 11:12:24| FD 14 Closing HTTP connection
2012/04/26 11:12:24| assertion failed: disk.cc:377: "fd >= 0"

** Affects: squid
 Importance: Unknown
 Status: Unknown

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

** Bug watch added: Squid Bugzilla #3097
   http://bugs.squid-cache.org/show_bug.cgi?id=3097

** Also affects: squid via
   http://bugs.squid-cache.org/show_bug.cgi?id=3097
   Importance: Unknown
   Status: Unknown

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

Title:
  squid3 killed by ABRT signal. assertion failed: disk.cc377: "fd >= 0"

To manage notifications about this bug go to:
https://bugs.launchpad.net/squid/+bug/988802/+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 988802] Re: squid3 killed by ABRT signal. assertion failed: disk.cc377: "fd >= 0"

2012-04-26 Thread TJ
** Description changed:

  On 12.04  x86 server during start-up.
  
  dmesg shows:
  
  [   79.073519] init: squid3 main process (3562) killed by ABRT signal
  
  /var/log/squid3/cache.log.1 shows:
  
  $ sudo tail /var/log/squid3/cache.log.1
  
  2012/04/26 11:12:23| Loaded Icons.
  2012/04/26 11:12:23| Accepting  intercepted HTTP connections at 0.0.0.0:3128, 
FD 14.
  2012/04/26 11:12:23| HTCP Disabled.
  2012/04/26 11:12:23| Squid plugin modules loaded: 0
  2012/04/26 11:12:23| Adaptation support is off.
  2012/04/26 11:12:23| Ready to serve requests.
  2012/04/26 11:12:23| Store rebuilding is 3.22% complete
  2012/04/26 11:12:24| Reconfiguring Squid Cache (version 3.1.19)...
  2012/04/26 11:12:24| FD 14 Closing HTTP connection
  2012/04/26 11:12:24| assertion failed: disk.cc:377: "fd >= 0"
+ 
+ In /var/log/syslog
+ 
+ Apr 26 11:12:23 jeeves dnsmasq-dhcp[3636]: DHCP, IP range 10.254.250.2 -- 
10.254.250.254, lease time 1d
+ Apr 26 11:12:23 jeeves dnsmasq-dhcp[3636]: DHCP, IP range 10.254.251.50 -- 
10.254.251.254, lease time 1d
+ Apr 26 11:12:24 jeeves kernel: [   71.276249] phy0 -> rt2800pci_mcu_status: 
Error - MCU request failed, no response from hardware
+ Apr 26 11:12:24 jeeves pptpd[3814]: MGR: connections limit (100) reached, 
extra IP addresses ignored
+ Apr 26 11:12:24 jeeves pptpd[3814]: MGR: connections limit (100) reached, 
extra IP addresses ignored
+ Apr 26 11:12:24 jeeves pptpd[3815]: MGR: Manager process started
+ Apr 26 11:12:24 jeeves pptpd[3815]: MGR: Maximum of 100 connections available
+ 
+ I suspect this is related to bug #978356 "squid3 gets killed at startup
+ with dnsmasq and no networkmanager".
+ 
+ It could be that the squid3 resolver script '/etc/resolvconf/update-
+ libc.d/squid3' that caused initctl to reload squid3 when dnsmasq starts
+ and updates '/etc/resolv.conf' causes this.
+ 
+ The service can be successfully restarted manually but that is no
+ solution for an unattended server.

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

Title:
  squid3 killed by ABRT signal. assertion failed: disk.cc377: "fd >= 0"

To manage notifications about this bug go to:
https://bugs.launchpad.net/squid/+bug/988802/+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 978356] Re: squid3 gets killed at startup with dnsmasq and no networkmanager

2012-04-26 Thread TJ
Oops, correction! the error message is in /var/log/squid3/cache.log.1.

I've found an upstream bug that matches the symptoms I see exactly so
I've created a new report bug #988802 "squid3 killed by ABRT signal.
assertion failed: disk.cc377: "fd >= 0" "

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

Title:
  squid3 gets killed at startup with dnsmasq and no networkmanager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/978356/+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 771148] Re: redirect-gateway fails when default route does not use a gateway

2012-05-13 Thread TJ
I agree with Andreas; this is a bug in openvpn. I have local office
gateway servers with an internal PCI ADSL modem that runs embedded Linux
and is configured in RFC 1483 LLC Bridge mode. The Host PC uses PPPoE to
connect to the ISP via the embedded ADSL modem over the single ATM LLC
available from BT in the U.K.

This results in the host PC creating the ppp0 interface which is the
default route:

$ ip route show
default dev ppp0  scope link 
62.3.82.17 dev ppp0  proto kernel  scope link  src 82.71.24.87 
...

The OpenVPN server's configuration includes:

push "redirect-gateway def1"

When the local office connects it reports:

ovpn-01linode[24920]: TUN/TAP device tun0 opened
ovpn-01linode[24920]: TUN/TAP TX queue length set to 100
ovpn-01linode[24920]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
ovpn-01linode[24920]: /sbin/ifconfig tun0 10.254.252.18 pointopoint 
10.254.252.17 mtu 1500
ovpn-01linode[24920]: NOTE: unable to redirect default gateway -- Cannot read 
current default gateway from system

There is (an invasive) patch in Debian bug #592088 by Lionel Elie Mamane
in comment 10. A better solution that doesn't involve trying to get the
OpenVPN project to substantially change the semantics of "redirect-
gateway" to "redirect-default-route" is in a short PPP script mentioned
by Vladislav Naumov in comment 20, and originally from the OpenVPN
mailing list in 2007:

/etc/ppp/ip-up.d/default-gateway:
---8<--
#!/bin/bash

if [ $(ip route list exact default |\
  awk '/^default/ {print $2}') = dev ];
then
 IF=$(ip route | awk '/^default/ {print $3}')
 GW=$(ip address show $IF |\
 awk '/peer/ {print $4}' | cut -d"/" -f1)
 ip route replace default via $GW dev $IF
fi
---8<--

Now, when the PPP interface comes up

 default dev ppp0  scope link

is replaced by the PPP script with a route that includes the ISP gateway
IP address:

 default via 62.3.82.19 dev ppp0

This allows OpenVPN to recognise and replace the default route when it
starts:

default via 10.254.252.17 dev tun0
10.254.252.17 dev tun0  proto kernel  scope link  src 10.254.252.18


** Also affects: ppp (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  redirect-gateway fails when default route does not use a gateway

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/771148/+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 771148] Re: redirect-gateway fails when default route does not use a gateway

2012-05-13 Thread TJ
I've attached the shell script for PPP so it can be downloaded. It
should be put in the directory /etc/ppp/if-up.d/ and given execute
permissions:

sudo mv ~/Downloads/default-gateway /etc/ppp/if-up.d/
sudo chmod +x /etc/ppp/if-up.d/default-gateway

** Attachment added: "PPP default-gateway script (put in /etc/ppp/if-up.d/)"
   
https://bugs.launchpad.net/ubuntu/+source/ppp/+bug/771148/+attachment/3144343/+files/default-gateway

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

Title:
  redirect-gateway fails when default route does not use a gateway

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/771148/+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 771148] Re: redirect-gateway fails when default route does not use a gateway

2012-05-13 Thread TJ
I've added the PPP package to this bug since it would the appropriate
place to ship the workaround and, as far as I can see, shouldn't upset
any existing PPP configurations.

It would actually save our users a lot trouble especially for those
using portable devices over public WiFi or cellular data when they use
OpenVPN since many cellular operates also do not provide a gateway IP
for the default route.

I'll pass this on to Debian's PPP maintainer and see if we can get some
movement on this.

** Changed in: ppp (Ubuntu)
   Status: New => In Progress

** Changed in: ppp (Ubuntu)
 Assignee: (unassigned) => TJ (intuitivenipple)

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

Title:
  redirect-gateway fails when default route does not use a gateway

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/771148/+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 771148] Re: redirect-gateway fails when default route does not use a gateway

2012-05-13 Thread TJ
Correction! I mistyped the PPP directory name as "iF-up.d" when it
should be "iP-up.d". The instructions should be:

I've attached the shell script for PPP so it can be downloaded. It
should be put in the directory /etc/ppp/ip-up.d/ and given execute
permissions:

sudo mv ~/Downloads/default-gateway /etc/ppp/ip-up.d/
sudo chmod +x /etc/ppp/ip-up.d/default-gateway


This also suggests another script is needed for Ipv6. I'll investigate.

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

Title:
  redirect-gateway fails when default route does not use a gateway

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/771148/+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 488696] Re: syntax error in nsswitch config near [ syntax error ]

2012-07-25 Thread TJ
The addition to /etc/nsswitch.conf needs to be done either:

a) in the nsswitch.conf file shipped by the base-files package, or
b) as part of the postinst/postrm scripts of autofs5

This issue also causes failure for users of autosshfs (not packaged for
Ubuntu as yet).

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

** Changed in: autofs5 (Ubuntu)
   Importance: Undecided => High

** Also affects: base-files (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: base-files (Ubuntu)
   Status: New => Confirmed

** Changed in: base-files (Ubuntu)
   Importance: Undecided => High

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

Title:
  syntax error in nsswitch config near [ syntax error ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/488696/+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 1016895] Re: smbd crashed with SIGABRT in dump_core()

2012-07-31 Thread TJ
** Changed in: samba (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: samba (Ubuntu)
 Assignee: (unassigned) => TJ (intuitivenipple)

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

Title:
  smbd crashed with SIGABRT in dump_core()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1016895/+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 1016895] Re: smbd crashed with SIGABRT in dump_core()

2012-07-31 Thread TJ
source3/auth/auth_util.c::create_local_token() will sometimes add an
erroneous GID token for the group ID -1, which is treated as an
'unsigned int' and converted to 4294967295 (S-1-22-2-4294967295) ,
resulting in a crash in the syscall to Linux's setgroups().

Additional DEBUG() statements in the source reveal the issue. I'm still
working on a fix:

setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
Security token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
get_privileges: No privileges assigned to SID [S-1-22-1-0]
get_privileges: No privileges assigned to SID [S-1-22-2-0]
get_privileges_for_sids: sid = S-1-1-0
Privilege set: 0x0
get_privileges: No privileges assigned to SID [S-1-5-2]
get_privileges: No privileges assigned to SID [S-1-5-11]
create_local_token(i=1, server_info->utok.ngroups=0, sid=S-1-22-2-0)
create_local_token(i=2, server_info->utok.ngroups=1, sid=S-1-1-0)
create_local_token(i=3, server_info->utok.ngroups=2, sid=S-1-5-2) // 
SID_NT_NETWORK
create_local_token(i=4, server_info->utok.ngroups=2, sid=S-1-5-11)
create_local_token(server_info->utok.ngroups=2)
add_sid_to_array_unique(S-1-22-1-0)
create_local_token(server_info->utok.ngroups=2)
add_sid_to_array_unique(S-1-22-2-0)
add_sid_to_array_unique(S-1-22-2-4294967295)
Security token SIDs (6):
  SID[  0]: S-1-22-1-0
  SID[  1]: S-1-22-2-0
  SID[  2]: S-1-1-0
  SID[  3]: S-1-5-2
  SID[  4]: S-1-5-11
  SID[  5]: S-1-22-2-4294967295
 Privileges (0x   0):
 Rights (0x   0):
UNIX token of user 0
Primary group is 0 and contains 2 supplementary groups
Group[  0]: 0
Group[  1]: 4294967295

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

Title:
  smbd crashed with SIGABRT in dump_core()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1016895/+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 1016895] Re: smbd crashed with SIGABRT in dump_core()

2012-07-31 Thread TJ
The attached debdiff modifies
source3/auth/auth_utils.c::create_local_token()

When samba SIDs are being converted to local Linux group IDs (GIDs) some
samba groups (id.type == WBC_ID_TYPE_GID) do not have associated Linux
groups, e.g. NTLM\Domain Users (-513).

Unmatched SIDs had their associated GID set to (int)-1 despite the fact
that Linux group IDs are unsigned, which was translated to
(unsigned)4294967295.

Checks are added to avoid adding to the GID array or creating related
local tokens when the GID is -1.

setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
Security token SIDs (16):
  SID[  0]: S-1-5-21-3351122084-3488288528-2342995061-1002
  SID[  1]: S-1-5-21-3351122084-3488288528-2342995061-513
  SID[  2]: S-1-22-2-1000
  SID[  3]: S-1-22-2-4
  SID[  4]: S-1-22-2-20
  SID[  5]: S-1-22-2-24
  SID[  6]: S-1-22-2-46
  SID[  7]: S-1-22-2-100
  SID[  8]: S-1-22-2-116
  SID[  9]: S-1-22-2-118
  SID[ 10]: S-1-22-2-124
  SID[ 11]: S-1-22-2-128
  SID[ 12]: S-1-1-0
  SID[ 13]: S-1-5-2
  SID[ 14]: S-1-5-11
  SID[ 15]: S-1-22-1-1000
 Privileges (0x   0):
 Rights (0x   0):
UNIX token of user 1000
Primary group is 1000 and contains 10 supplementary groups
Group[  0]: 1000
Group[  1]: 4
Group[  2]: 20
Group[  3]: 24
Group[  4]: 46
Group[  5]: 100
Group[  6]: 116
Group[  7]: 118
Group[  8]: 124
Group[  9]: 128
Impersonated user: uid=(0,1000), gid=(0,1000)


** Patch added: "Precise debdiff - ignore GIDs == -1 to prevent syscall 
setgroups panic"
   
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1016895/+attachment/3244353/+files/samba_3.6.3-2ubuntu2.4.debdiff

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

Title:
  smbd crashed with SIGABRT in dump_core()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1016895/+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 1016895] Re: smbd crashed with SIGABRT in dump_core()

2012-07-31 Thread TJ
** Changed in: samba (Ubuntu)
   Status: In Progress => Triaged

** Changed in: samba (Ubuntu)
 Assignee: TJ (intuitivenipple) => (unassigned)

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

Title:
  smbd crashed with SIGABRT in dump_core()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1016895/+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 134274] Re: TCP_DEFER_ACCEPT causes random HTTP connection failures in load-balanced web-server farms

2011-12-07 Thread TJ
Unfortunately upstream cannot agree on what precisely the standards
require in relation to TCP_DEFER_ACCEPT, thus this issue slips through
the cracks and doesn't affect enough installations to create any real
drive.

As can be seem from my investigations it is an obscure bug which is very
hard to catch and probably goes unseen in most circumstances.

My preferred solution would be a prominent addition to the Debian/Ubuntu
READMEs for apache with a reference to this bug with advice to use

AcceptFilter http none

when operating in a load-balancing configuration.

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

Title:
  TCP_DEFER_ACCEPT causes random HTTP connection failures in load-
  balanced web-server farms

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/134274/+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 211415] Re: Please upgrade to modwsgi 2.0

2008-04-14 Thread TJ
This would be a useful update. Debian already publish 2.01. I've taken
the debian package and Ubuntu-ised it for Gutsy and Hardy and it is in
my PPA:

https://launchpad.net/~intuitivenipple/+archive

Please test it out.

** Changed in: mod-wsgi (Ubuntu)
   Importance: Undecided => Low
 Assignee: (unassigned) => Ubuntu Server Team (ubuntu-server)
   Status: New => Confirmed

-- 
Please upgrade to modwsgi 2.0
https://bugs.launchpad.net/bugs/211415
You received this bug notification because you are a member of Ubuntu
Server Team, which is a bug assignee.

-- 
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 12296] Re: PHP5 or PHP4 for apache2-mpm-worker

2008-07-31 Thread TJ
Colin, I wrote a how-to "Apache 2 with FastCGI, SuExec and PHP"

It possibly covers more than you need since it sets suexec up for
VirtualMin's web-homes as well as the FastCGI/PHP configuration, but it
is a full step-by-step-with-code guide based on my own experience.

http://tjworld.net/wiki/Howto/Apache2FastCgiSuexecPhp

-- 
PHP5 or PHP4 for apache2-mpm-worker
https://bugs.launchpad.net/bugs/12296
You received this bug notification because you are a member of Ubuntu
Server Team, which is a bug assignee.

-- 
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 347788] Re: OpenVPN client does not recognize WLAN connections

2009-03-24 Thread TJ
I've been running openvpn client over wireless LAN since 6.10 with no
issues. You'll need to give precise details of the configuration of the
network and openvpn.

-- 
OpenVPN client does not recognize WLAN connections
https://bugs.launchpad.net/bugs/347788
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


Re: [Bug 347788] Re: OpenVPN client does not recognize WLAN connections

2009-03-24 Thread TJ
What does /var/log/daemon.log report when the connection is being
attempted?

-- 
OpenVPN client does not recognize WLAN connections
https://bugs.launchpad.net/bugs/347788
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 347788] Re: OpenVPN client does not recognize WLAN connections

2009-03-24 Thread TJ
If the wireless interface is configured as 'system-wide' in
NetworkManager the host interface will be up without a log-in and
openvpn will establish the tunnel as soon as the route appears.

If NetworkManager establishes the wireless connection after GDM log-in
the openvpn connection establishes itself as soon as the route appears.

I don't have any openvpn connections defined via NetworkManager. I have
the openvpn service defined in /etc/openvpn/connection.conf.
/etc/rc2.d/S16openvpn runs at boot-time.

-- 
OpenVPN client does not recognize WLAN connections
https://bugs.launchpad.net/bugs/347788
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 1195053] [NEW] openvswitch-cfg-update: /opt/xensource/libexec/interface-reconfigure: failed to execute (No such file or directory)

2013-06-26 Thread TJ
Public bug reported:

Ubuntu 13.04 Raring amd64.
Binary package: openvswitch-datapath-dkms

/var/log/syslog reports:

openvswitch-cfg-update: /opt/xensource/libexec/interface-reconfigure:
failed to execute (No such file or directory)

However xcp-xapi is at /usr/lib/xcp.


Workaround is:

$ sudo sed -i 's,\(script = "\)/opt/.*\(interface-
reconfigure"\),\1/usr/lib/xcp/lib/\2,'
/usr/src/openvswitch-1.9.0/xenserver/etc_xapi.d_plugins_openvswitch-cfg-
update

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

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

Title:
  openvswitch-cfg-update: /opt/xensource/libexec/interface-reconfigure:
  failed to execute (No such file or directory)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1195053/+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 134274] Re: TCP_DEFER_ACCEPT causes random HTTP connection failures in load-balanced web-server farms

2010-01-30 Thread TJ
Please do not change the status of a confirmed/triaged bug that
describes a known issue that is as yet unresolved.

** Changed in: apache2 (Ubuntu)
   Status: Invalid => Triaged

-- 
TCP_DEFER_ACCEPT causes random HTTP connection failures in load-balanced 
web-server farms
https://bugs.launchpad.net/bugs/134274
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 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 544377] [NEW] PXE Error: Only absolute filenames allowed

2010-03-22 Thread TJ
*** This bug is a duplicate of bug 531123 ***
https://bugs.launchpad.net/bugs/531123

Public bug reported:

Binary package hint: tftp-hpa

I've just upgraded a rarp/bootp/tftp PXE server that hosts bootable
images for the LAN from Karmic to Lucid using:

do-release-upgrade -d

Prior to the upgrade it worked fine. After the upgrade PXE clients
report:

Only absolute filename allowed
TFTP Error - Access Violation

Running a network sniffing session I see:

sudo tcpdump -ni eth0 -v -T tftp 'udp'
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
18:14:33.056751 IP (tos 0x0, ttl 20, id 2, offset 0, flags [none], proto UDP 
(17), length 55)
10.254.251.95.2070 > 10.254.251.2.69:  27 RRQ "pxelinux.0" octet tsize 0
18:14:33.062219 IP (tos 0x0, ttl 64, id 9743, offset 0, flags [none], proto UDP 
(17), length 64)
10.254.251.2.48777 > 10.254.251.95.2070:  36 ERROR EACCESS "Only absolute 
filenames allowed"
18:14:33.063885 IP (tos 0x0, ttl 20, id 3, offset 0, flags [none], proto UDP 
(17), length 60)
10.254.251.95.2071 > 10.254.251.2.69:  32 RRQ "pxelinux.0" octet blksize 
1456
18:14:33.069505 IP (tos 0x0, ttl 64, id 9744, offset 0, flags [none], proto UDP 
(17), length 64)
10.254.251.2.39907 > 10.254.251.95.2071:  36 ERROR EACCESS "Only absolute 
filenames allowed"

** Affects: tftp-hpa (Ubuntu)
 Importance: Undecided
 Status: New

-- 
PXE Error: Only absolute filenames allowed
https://bugs.launchpad.net/bugs/544377
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tftp-hpa 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 544377] Re: PXe Error: Only absolute filenames allowed

2010-03-22 Thread TJ
*** This bug is a duplicate of bug 531123 ***
https://bugs.launchpad.net/bugs/531123

The issue is caused because the tftpd-hpa --secure flag is not being
used. I've added it to /etc/default/tftpd-hpa:

TFTP_OPTIONS="-s"

Now I see:

sudo tcpdump -ni eth0 -v -T tftp 'udp'
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
18:25:50.528436 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP 
(17), length 47)
10.254.251.51.42972 > 10.254.251.2.69:  19 RRQ "pxelinux.0" octet
18:25:50.551265 IP (tos 0x0, ttl 64, id 31434, offset 0, flags [none], proto 
UDP (17), length 544)
10.254.251.2.44414 > 10.254.251.51.42972:  516 DATA block 1
18:25:50.553521 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP 
(17), length 32)
10.254.251.51.42972 > 10.254.251.2.44414:  4 ACK block 1
...


** Summary changed:

- PXe Error: Only absolute filenames allowed
+ PXE Error: Only absolute filenames allowed

** This bug has been marked a duplicate of bug 531123
   pxe boot with tftpd-hpa failed with error: Forbidden Directory

-- 
PXE Error: Only absolute filenames allowed
https://bugs.launchpad.net/bugs/544377
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tftp-hpa 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 531123] Re: pxe boot with tftpd-hpa failed with error: Forbidden Directory

2010-03-22 Thread TJ
This appears to be the same issue as my report of failed PXE in bug
#544377 "PXE Error: Only absolute filenames allowed" and is caused by
the tftpd-hpa daemon not being started with --secure (-s) mode.

I added it to /etc/default/tftpd-hpa:

TFTP_OPTIONS="-s"

-- 
pxe boot with tftpd-hpa failed with error: Forbidden Directory
https://bugs.launchpad.net/bugs/531123
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tftp-hpa 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 343046] Re: list_lists crashed with ImportError in () no module names email.messages

2010-06-20 Thread TJ
This bug is biting on an 8.04 LTS to 10.04 LTS server upgrade.

apt-cache policy mailman
mailman:
  Installed: 1:2.1.9-9ubuntu1
  Candidate: 1:2.1.13-1
  Version table:
 1:2.1.13-1 0
500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
 *** 1:2.1.9-9ubuntu1 0
100 /var/lib/dpkg/status

=
sudo apt-get install mailman
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libio-compress-zlib-perl ttf-dejavu-extra libbeecrypt6 
libio-compress-base-perl libconvert-ber-perl bacula-sd-sqlite3 mtx bacula-client
  bacula-console ttf-dejavu bacula-fd libkadm55 bacula-sd 
bacula-director-common libmhash2 bacula-common
Use 'apt-get autoremove' to remove them.
Suggested packages:
  listadmin
The following packages will be upgraded:
  mailman
1 upgraded, 0 newly installed, 0 to remove and 193 not upgraded.
39 not fully installed or removed.
Need to get 0B/9,642kB of archives.
After this operation, 4,289kB of additional disk space will be used.
Preconfiguring packages ...
/var/lib/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha module is 
deprecated; use the hashlib module instead
  import sha
Traceback (most recent call last):
  File "/var/lib/mailman/bin/list_lists", line 47, in 
from Mailman import MailList
  File "/var/lib/mailman/Mailman/MailList.py", line 51, in 
from Mailman.Archiver import Archiver
  File "/var/lib/mailman/Mailman/Archiver/__init__.py", line 17, in 
from Archiver import *
  File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 32, in 
from Mailman import Mailbox
  File "/var/lib/mailman/Mailman/Mailbox.py", line 21, in 
import mailbox
  File "/usr/lib/python2.6/mailbox.py", line 19, in 
import email.message
ImportError: No module named message
tar: ./config: Cannot utime: Bad file descriptor
tar: ./templates: Cannot utime: Bad file descriptor
tar: ./postinst: Cannot utime: Bad file descriptor
tar: ./preinst: Cannot utime: Bad file descriptor
tar: ./prerm: Cannot utime: Bad file descriptor
tar: ./postrm: Cannot utime: Bad file descriptor
tar: ./conffiles: Cannot utime: Bad file descriptor
tar: ./md5sums: Cannot utime: Bad file descriptor
tar: ./control: Cannot utime: Bad file descriptor
tar: .: Cannot utime: Bad file descriptor
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/mailman_1%3a2.1.13-1_i386.deb 
(--unpack):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/mailman_1%3a2.1.13-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
==

We need a procedure to fix the locally installed package so it doesn't
cause do-release-upgrade to fail in upgrading all packages.

-- 
list_lists crashed with ImportError in () no module names email.messages
https://bugs.launchpad.net/bugs/343046
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mailman 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 343046] Re: list_lists crashed with ImportError in () no module names email.messages

2010-06-20 Thread TJ
Looking at the package changelog I don't see any sign of Chucks'
1:2.1.11-11ubuntu1 package version, so cannot pull a copy of the patch
to try manually.

-- 
list_lists crashed with ImportError in () no module names email.messages
https://bugs.launchpad.net/bugs/343046
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mailman 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 343046] Re: list_lists crashed with ImportError in () no module names email.messages

2010-06-20 Thread TJ
Reading a posting to the mailman list I found this:

http://www.mail-archive.com/mailman-us...@python.org/msg51844.html

"Also, you may be able to work around the problem by just removing the
pythonlib/email/ directory from your Mailman installation. This won't
stop the deprecation warnings, but it may allow your current Mailman
to run."

I therefore deleted the directory and the removed the package:

sudo rm -rf /usr/lib/mailman/pythonlib/email
sudo apt-get remove mailman

The package was successfully removed. I guess I could have allowed the
upgrade to go ahead but I was testing!

The tasks held back from the do-release-upgrade then continued
automatically after the package had been removed.

-- 
list_lists crashed with ImportError in () no module names email.messages
https://bugs.launchpad.net/bugs/343046
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mailman 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 368323] Re: dovecot refuses connection after upgrade

2010-06-20 Thread TJ
** Changed in: dovecot (Ubuntu)
   Status: Invalid => Confirmed

-- 
dovecot refuses connection after upgrade
https://bugs.launchpad.net/bugs/368323
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 368323] Re: dovecot refuses connection after upgrade

2010-06-20 Thread TJ
Confirming this affects a Hardy LTS >? Lucid LTS upgrade.

The symptoms are that after the upgrade IMAP4 clients cannot connect to
the server, but there are few clues.

After sorting out the other issues caused by the upgrade such as
pointing dovecot to the /etc/ssl/certs/$CERT.{pem,key} I hit this one.

Nothing at all was appearing in /var/log/dovecot.log about connections.
There were entries showing the dovecot processes were starting, and ps
-ef A grep dovecot showed they were running.

I enabled "auth_debug = yes" but no clues appeared.

Then I check the network connections and noticed there were no IPv4
sockets being used:

sudo -i
netstat -tlnp | grep dovecot
tcp6   0  0 :::993  :::*LISTEN  
7933/dovecot
tcp6   0  0 :::995  :::*LISTEN  
7933/dovecot
tcp6   0  0 :::110  :::*LISTEN  
7933/dovecot
tcp6   0  0 :::143  :::*LISTEN  
7933/dovecot

Looking in the unedited "/etc/dovecot/dovecot.conf" inherited from Hardy
I found:

listen = [::]

In the comments above that is the clue to the solution:

"[::]" listens in all IPv6 interfaces, but may also listen in all IPv4
# interfaces depending on the operating system.

It seems that on Hardy that it would listen on both IPv6 and IPv4
sockets, but now it is more specific.

I changed it to:

listen = *

Restarting dovecot solved the problem and clients connected once more.

-- 
dovecot refuses connection after upgrade
https://bugs.launchpad.net/bugs/368323
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 1080363] [NEW] module 'citrixxml' not found

2012-11-18 Thread TJ
Public bug reported:

The following two commands run at the command-line (the latter generated
by zenmap's "Intense Scan" option) cause a failure due to missing script
and library support. Apt suggests the scripts aren't in the Ubuntu
archives.

Details of the missing script are at
http://nmap.org/nsedoc/lib/citrixxml.html

$ apt-file search citrix | grep nselib
$

$ sudo nmap -T4 -A -v --script all 192.168.0.20
$ sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 
-PA80,113,443,10042 -PO --script all 192.168.0.20

Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-18 14:30 GMT
NSE: failed to initialize the script engine:
/usr/share/nmap/nse_main.lua:276: 
/usr/share/nmap/scripts/citrix-brute-xml.nse:35: module 'citrixxml' not found:
no field package.preload['citrixxml']
no file '/usr/share/nmap/nselib/citrixxml.lua'
no file './citrixxml.lua'
no file '/usr/local/share/lua/5.1/citrixxml.lua'
no file '/usr/local/share/lua/5.1/citrixxml/init.lua'
no file '/usr/local/lib/lua/5.1/citrixxml.lua'
no file '/usr/local/lib/lua/5.1/citrixxml/init.lua'
no file '/usr/share/lua/5.1/citrixxml.lua'
no file '/usr/share/lua/5.1/citrixxml/init.lua'
no file './citrixxml.so'
no file '/usr/local/lib/lua/5.1/citrixxml.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/citrixxml.so'
no file '/usr/lib/lua/5.1/citrixxml.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'assert'
/usr/share/nmap/nse_main.lua:276: in function 'new'
/usr/share/nmap/nse_main.lua:434: in function 'Entry'
/usr/share/nmap/scripts/script.db:5: in function 'db_closure'
/usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts'
/usr/share/nmap/nse_main.lua:766: in main chunk
[C]: ?

QUITTING!


Installing the script directly doesn't completely solve the issue:

$ sudo wget -O /usr/share/nmap/nselib/citrixxml.lua
http://nmap.org/svn/nselib/citrixxml.lua

$ sudo nmap -T4 -A -v --script all 192.168.0.20

Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-18 14:40 GMT
NSE: failed to initialize the script engine:
/usr/share/nmap/nse_main.lua:276: /usr/share/nmap/nselib/citrixxml.lua:25: 
attempt to call field 'module' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/share/nmap/nse_main.lua:276: in function 'new'
/usr/share/nmap/nse_main.lua:434: in function 'Entry'
/usr/share/nmap/scripts/script.db:5: in function 'db_closure'
/usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts'
/usr/share/nmap/nse_main.lua:766: in main chunk
[C]: ?

QUITTING!

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

** Patch added: "Fix for citrixxml.lua"
   
https://bugs.launchpad.net/bugs/1080363/+attachment/3437624/+files/citrixxml.lua.diff

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

Title:
  module 'citrixxml' not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/1080363/+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 1080363] Re: module 'citrixxml' not found

2012-11-18 Thread TJ
** Description changed:

  The following two commands run at the command-line (the latter generated
  by zenmap's "Intense Scan" option) cause a failure due to missing script
  and library support. Apt suggests the scripts aren't in the Ubuntu
  archives.
  
  Details of the missing script are at
  http://nmap.org/nsedoc/lib/citrixxml.html
+ 
+ The original script plus my attached patch are required to solve the
+ issue.
  
  $ apt-file search citrix | grep nselib
  $
  
  $ sudo nmap -T4 -A -v --script all 192.168.0.20
  $ sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 
-PA80,113,443,10042 -PO --script all 192.168.0.20
  
  Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-18 14:30 GMT
  NSE: failed to initialize the script engine:
  /usr/share/nmap/nse_main.lua:276: 
/usr/share/nmap/scripts/citrix-brute-xml.nse:35: module 'citrixxml' not found:
-   no field package.preload['citrixxml']
-   no file '/usr/share/nmap/nselib/citrixxml.lua'
-   no file './citrixxml.lua'
-   no file '/usr/local/share/lua/5.1/citrixxml.lua'
-   no file '/usr/local/share/lua/5.1/citrixxml/init.lua'
-   no file '/usr/local/lib/lua/5.1/citrixxml.lua'
-   no file '/usr/local/lib/lua/5.1/citrixxml/init.lua'
-   no file '/usr/share/lua/5.1/citrixxml.lua'
-   no file '/usr/share/lua/5.1/citrixxml/init.lua'
-   no file './citrixxml.so'
-   no file '/usr/local/lib/lua/5.1/citrixxml.so'
-   no file '/usr/lib/x86_64-linux-gnu/lua/5.1/citrixxml.so'
-   no file '/usr/lib/lua/5.1/citrixxml.so'
-   no file '/usr/local/lib/lua/5.1/loadall.so'
+  no field package.preload['citrixxml']
+  no file '/usr/share/nmap/nselib/citrixxml.lua'
+  no file './citrixxml.lua'
+  no file '/usr/local/share/lua/5.1/citrixxml.lua'
+  no file '/usr/local/share/lua/5.1/citrixxml/init.lua'
+  no file '/usr/local/lib/lua/5.1/citrixxml.lua'
+  no file '/usr/local/lib/lua/5.1/citrixxml/init.lua'
+  no file '/usr/share/lua/5.1/citrixxml.lua'
+  no file '/usr/share/lua/5.1/citrixxml/init.lua'
+  no file './citrixxml.so'
+  no file '/usr/local/lib/lua/5.1/citrixxml.so'
+  no file '/usr/lib/x86_64-linux-gnu/lua/5.1/citrixxml.so'
+  no file '/usr/lib/lua/5.1/citrixxml.so'
+  no file '/usr/local/lib/lua/5.1/loadall.so'
  stack traceback:
-   [C]: in function 'assert'
-   /usr/share/nmap/nse_main.lua:276: in function 'new'
-   /usr/share/nmap/nse_main.lua:434: in function 'Entry'
-   /usr/share/nmap/scripts/script.db:5: in function 'db_closure'
-   /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts'
-   /usr/share/nmap/nse_main.lua:766: in main chunk
-   [C]: ?
+  [C]: in function 'assert'
+  /usr/share/nmap/nse_main.lua:276: in function 'new'
+  /usr/share/nmap/nse_main.lua:434: in function 'Entry'
+  /usr/share/nmap/scripts/script.db:5: in function 'db_closure'
+  /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts'
+  /usr/share/nmap/nse_main.lua:766: in main chunk
+  [C]: ?
  
  QUITTING!
- 
  
  Installing the script directly doesn't completely solve the issue:
  
  $ sudo wget -O /usr/share/nmap/nselib/citrixxml.lua
  http://nmap.org/svn/nselib/citrixxml.lua
  
  $ sudo nmap -T4 -A -v --script all 192.168.0.20
  
  Starting Nmap 5.21 ( http://nmap.org ) at 2012-11-18 14:40 GMT
  NSE: failed to initialize the script engine:
  /usr/share/nmap/nse_main.lua:276: /usr/share/nmap/nselib/citrixxml.lua:25: 
attempt to call field 'module' (a nil value)
  stack traceback:
-   [C]: in function 'assert'
-   /usr/share/nmap/nse_main.lua:276: in function 'new'
-   /usr/share/nmap/nse_main.lua:434: in function 'Entry'
-   /usr/share/nmap/scripts/script.db:5: in function 'db_closure'
-   /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts'
-   /usr/share/nmap/nse_main.lua:766: in main chunk
-   [C]: ?
+  [C]: in function 'assert'
+  /usr/share/nmap/nse_main.lua:276: in function 'new'
+  /usr/share/nmap/nse_main.lua:434: in function 'Entry'
+  /usr/share/nmap/scripts/script.db:5: in function 'db_closure'
+  /usr/share/nmap/nse_main.lua:454: in function 'get_chosen_scripts'
+  /usr/share/nmap/nse_main.lua:766: in main chunk
+  [C]: ?
  
  QUITTING!
+ 
+ Applying the attached patch to the manually downloaded script allows
+ nmap to run.

** Description changed:

  The following two commands run at the command-line (the latter generated
- by zenmap's "Intense Scan" option) cause a failure due to missing script
- and library support. Apt suggests the scripts aren't in the Ubuntu
- archives.
+ by zenmap's "Slow comprehensive scan" option) cause a failure due to
+ missing script and library support. Apt suggests the scripts aren't in
+ the Ubuntu archives.
  
  Details of the missing script are at
  http://nmap.org/nsedoc/lib/citrixxml.html
  
  The original script plus my attached patch are required to solve the
  issue.
  
  $ apt-file search citrix | grep nselib
  $
  
  $ sudo nmap -T4 -A -v --script all 192.168.0.20
  

[Bug 908605] Re: mod_wsgi fails to log python errors

2013-01-19 Thread TJ
The upstream bug report relating to this is:

http://code.google.com/p/modwsgi/issues/detail?id=276&can=1&sort=-id

Unfortunately it is impossible to add it to this bug report since
mod_wsgi is incorrectly linked to PyLucid as the upstream source.

** Bug watch added: code.google.com/p/modwsgi/issues #276
   http://code.google.com/p/modwsgi/issues/detail?id=276

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

Title:
  mod_wsgi fails to log python errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/908605/+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 1128067] [NEW] tomcat7-admin: Incorrect path for manager webapp

2013-02-17 Thread TJ
Public bug reported:

On 12.04.2 server the tomcat7-admin package installs the manager
application to

/usr/share/tomcat7-admin/manager

but "/usr/share/tomcat7-admin/host-manager/manager.xml" contains a non-
existent path:

which results in container failures when the manager.xml is deployed.

The change required is:

# git diff
diff --git a/host-manager/manager.xml b/host-manager/manager.xml
index 8416263..08e885c 100644
--- a/host-manager/manager.xml
+++ b/host-manager/manager.xml
@@ -24,7 +24,7 @@
 -->
 
 
-
 
 

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

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

Title:
  tomcat7-admin: Incorrect path for manager webapp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1128067/+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 1128067] Re: tomcat7-admin: Incorrect path for manager webapp

2013-02-17 Thread TJ
** Description changed:

  On 12.04.2 server the tomcat7-admin package installs the manager
  application to
  
  /usr/share/tomcat7-admin/manager
  
  but "/usr/share/tomcat7-admin/host-manager/manager.xml" contains a non-
- existent path:
- 
- which results in container failures when the manager.xml is deployed.
+ existent path which results in container failures when the manager.xml
+ is deployed.
  
  The change required is:
  
  # git diff
  diff --git a/host-manager/manager.xml b/host-manager/manager.xml
  index 8416263..08e885c 100644
  --- a/host-manager/manager.xml
  +++ b/host-manager/manager.xml
  @@ -24,7 +24,7 @@
-  -->
-  
-  
+  -->
+ 
  -
-  
-  
+   privileged="true" antiResourceLocking="false" 
antiJARLocking="false">
+ 
+  

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

Title:
  tomcat7-admin: Incorrect path for manager webapp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1128067/+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 1037571] Re: vmbuilder should use distro-info to determine available Ubuntu releases

2013-02-23 Thread TJ
I've just encountered this on 12.04 Precise, wanting to build raring
VMs. I created the attached shell script that will add any new suites
a.k.a. distro a.k.a releases (e.g. quantal, raring) to the installed
list.

Simply call the script once and it will add the required files. Needs
calling each time a new suite a.k.a. release is available. Don't forget
to give it execute permissions:

sudo chmod a+x /usr/local/bin/vm-builder-add-suites


** Attachment added: "shell script to add all releases to vmbuilder"
   
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1037571/+attachment/3544016/+files/vm-builder-add-suites

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

Title:
  vmbuilder should use distro-info to determine available Ubuntu
  releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1037571/+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 1132313] [NEW] lbvirt cannot start VM due to missing kvm-spice in /etc/vmbuilder/libvirt/libvirtxml.tmpl

2013-02-23 Thread TJ
Public bug reported:

Using Ubuntu 12.04.2 Precise on amd64 with kvm_intel, libvirt and
vmbuilder.

Building VMs with vmbuilder using, e.g:

$ sudo vmbuilder kvm ubuntu --suite precise --flavour virtual --arch
i386 -o --libvirt qemu:///system --hostname vm-ubuntu-precise-playpen

followed by:

$ virsh -d 0 -c qemu:///system start vm-ubuntu-precise-playpen

results in a failure:

error: Failed to start domain vm-ubuntu-precise-playpen
error: internal error Process exited while reading console log output: 
Supported machines are:
pc Standard PC (alias of pc-1.0)
pc-1.0 Standard PC (default)
pc-0.14Standard PC
pc-0.13Standard PC
pc-0.12Standard PC
pc-0.11Standard PC, qemu 0.11
pc-0.10Standard PC, qemu 0.10
isapc  ISA-only PC

I eventually tracked this down to the libvirt domain definition using

/usr/bin/kvm

instead of

/usr/bin/kvm-spice

editing that line using:

$ virsh -d 0 -c qemu:///system edit vm-ubuntu-precise-playpen

allows the VM to start correctly.

The problem stems from the libvirt template installed by vmbuilder at
"/etc/vmbuilder/libvirt/libvirtxml.tmpl" using the wrong emulator. It
should be "/usr/bin/kvm-spice" not "/usr/bin/kvm".

A simple fix is:

$ sudo sed -i 's,\(/usr/bin/kvm\),\1-spice,'
/etc/vmbuilder/libvirt/libvirtxml.tmpl

** Affects: vm-builder (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  lbvirt cannot start VM due to missing kvm-spice in
  /etc/vmbuilder/libvirt/libvirtxml.tmpl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1132313/+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 1090223] Re: The directory ubuntu-kvm disappeared after creating vms failed

2013-02-23 Thread TJ
** Changed in: vm-builder (Ubuntu)
   Status: New => Confirmed

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

Title:
  The directory ubuntu-kvm disappeared after creating vms failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1090223/+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 1132345] [NEW] grub 0.97 and 2.00 installed in VMs causes confusion

2013-02-23 Thread TJ
Public bug reported:

Using Ubuntu 12.04.2 Precise on amd64 with kvm_intel, libvirt and
vmbuilder.

After building a VM for raring using:

$ sudo vmbuilder kvm ubuntu --flavour virtual --suite raring --arch i386
--hostname vm-ubuntu-raring-playpen --proxy http://10.254.251.1:3142
--libvirt qemu:///system --addpkg linux-image-generic --addpkg acpid

 I was trying to force the console to be text-mode by removing "splash",
adding "nomodeset" and "GRUB_TERMINAL=console" to "/etc/default/grub"
and then doing 'update-grub'. The changed settings weren't having any
effect.

I found that "/boot/grub/grub.cfg" (from grub2) was missing. Further
investigation showed "/boot/grub/menu.lst" (from grub 0.97) was present,
but didn't reflect the changes I was making to "/etc/default/grub". Then
I found:

$ dpkg-query -l '*grub*' | grep -v ^un
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version  Architecture 
Description
+++-=---===
ii  grub  0.97-29ubuntu66  i386 
GRand Unified Bootloader (Legacy version)
ii  grub-common   2.00-12ubuntu1   i386 
GRand Unified Bootloader (common files)
rc  grub-pc   2.00-12ubuntu1   i386 
GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  grub-pc-bin   2.00-12ubuntu1   i386 
GRand Unified Bootloader, version 2 (PC/BIOS binaries)

$ lsb_release -a && uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu Raring Ringtail (development branch)
Release:13.04
Codename:   raring
Linux vm-ubuntu-raring-playpen 3.8.0-7-generic #15-Ubuntu SMP Thu Feb 21 
20:44:11 UTC 2013 i686 i686 i686 GNU/Linux

I had to purge "grub" then install "grub2" followed by running the grub
to grub2 upgrade script:

sudo apt-get --purge remove grub
sudo apt-get install grub2
sudo /usr/sbin/upgrade-from-grub-legacy
sudo rm -f /boot/grub/menu.lst*

** Affects: vm-builder (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  grub 0.97 and 2.00 installed in VMs causes confusion

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1132345/+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 1534544] [NEW] Package mysql-server-5.6 should Depend: bsdutils for /usr/bin/logger in .postinst

2016-01-15 Thread TJ
Public bug reported:

A user reported, for 15.04 Vivid (which appears to continue to affect
all releases to 16.04), on a "minimal installation" a failure of the
-server post-install script. This appears to be due to a missing
dependency on 'bsdutils' which contains '/usr/bin/logger'

debian/mysql-server-5.6.postinst contains the following fragment which
is used on the right side of pipes:

# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"

The installation error was:

invoke-rc.d: Unit mysql.service is masked
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 132: logger: command not 
found
2016-01-15 04:57:19 0 [Warning] TIMESTAMP with implicit DEFAULT value is 
deprecated. Please use --explicit_defaults_for_timestamp server option (see 
documentation for more details).
2016-01-15 04:57:19 0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.15.04.1) 
starting as process 6938 ...
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 210: logger: command not 
found
dpkg: error processing package mysql-server-5.6 (--install):
 subprocess installed post-installation script returned error exit status 127
Processing triggers for systemd (219-7ubuntu6) ...
Errors were encountered while processing:
 mysql-server-5.6

** Affects: mysql-5.6 (Ubuntu)
 Importance: High
 Status: Triaged

** Changed in: mysql-5.6 (Ubuntu)
   Status: New => Triaged

** Changed in: mysql-5.6 (Ubuntu)
   Importance: Undecided => High

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

Title:
  Package mysql-server-5.6 should Depend: bsdutils for /usr/bin/logger
  in .postinst

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1534544/+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 1534544] Re: Package mysql-server-5.6 should Depend: bsdutils for /usr/bin/logger in .postinst

2016-01-15 Thread TJ
** Changed in: mysql-5.6 (Ubuntu)
Milestone: None => ubuntu-16.04

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

Title:
  Package mysql-server-5.6 should Depend: bsdutils for /usr/bin/logger
  in .postinst

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1534544/+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 1560623] [NEW] ncat: process Stops in State T after some time

2016-03-22 Thread TJ
Public bug reported:

On 12.04, 15.10 and 16.04 I'm seeing consistent hangs of ncat when left
running for some time.

In the particular scenario it is proxying a TCP connection as a
background job using:

ncat -m 1 -6kl 10006 | ncat -kl 10007 &

When it stops I see (Here it's explicitly called within a sub-shell):

$ jobs
[4]+  Stopped bash -c 'ncat -m 1 -6kl 10006 | ncat -kl 10007'

$ ps -efly | grep ncat
T tj   26816 25874  0  80   0  2436  1296 -  17:42 pts/200:00:00 
bash -c ncat -m 1 -6kl 10006 | ncat -kl 10007
T tj   26817 26816  0  80   0  1308  1166 -  17:42 pts/200:00:00 
ncat -m 1 -6kl 10006
T tj   26818 26816  0  80   0  1288  1166 -  17:42 pts/200:00:00 
ncat -kl 10007

$ sudo grep ^SigQ /proc/2781{7,8}/status
SigQ:   1/7982
SigQ:   1/7982

After attaching gdb to the first process it looks like it is stopped due
to a SIGTTIN signal. Not sure why since the process stdin should be
connected to the listening network socket.

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

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

Title:
  ncat: process Stops in State T after some time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/1560623/+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 1482608] Re: ssh-add fails to add ed25519 keys

2015-08-21 Thread TJ
** Changed in: openssh (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  ssh-add fails to add ed25519 keys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1482608/+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 1491972] [NEW] glib/gmem.c: custom memory allocation vtable not supported

2015-09-03 Thread TJ
Public bug reported:

15.10 Wily, amd64:

$ sudo kvm -drive file=/dev/sda,if=scsi -vga std

(process:3535): GLib-WARNING **:
/build/glib2.0-3tdlHy/glib2.0-2.45.6/./glib/gmem.c:482: custom memory
allocation vtable not supported


$ apt-cache policy qemu-kvm
qemu-kvm:
  Installed: 1:2.3+dfsg-5ubuntu4
  Candidate: 1:2.3+dfsg-5ubuntu4
  Version table:
 *** 1:2.3+dfsg-5ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
100 /var/lib/dpkg/status

** Affects: qemu-kvm (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  glib/gmem.c: custom memory allocation vtable not supported

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1491972/+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 1256279] Re: Typos in Package: ceilometer-agent-central - string # 13907

2015-06-09 Thread TJ
** Changed in: ceilometer (Ubuntu)
   Status: Fix Released => Confirmed

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

Title:
  Typos in Package: ceilometer-agent-central - string # 13907

To manage notifications about this bug go to:
https://bugs.launchpad.net/ddtp-ubuntu/+bug/1256279/+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 1266746] [NEW] x86_64: Fails to start using EFI firmware

2014-01-07 Thread TJ
Public bug reported:

On Trusty x86_64 trying to to boot using the OVMF EFI firmware causes
some kind of lock-up. inside the VM as soon as it boots. The VM was
created through virt-manager. When it hung I copied the command-line and
stripped it down to run from the terminal. Diagnostic info suggests the
processor is stuck in the BIOS since the EIP doesn't change:

sudo qemu-system-x86_64 -enable-kvm  -name EFI -machine 
pc-i440fx-1.7,accel=kvm,usb=off -bios OVMF.f
d -m 1024 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 
548c01f7-b107-3ac0-b15a-f36504dfe6
51 -no-user-config -nodefaults  -rtc base=localtime -no-shutdown -device 
piix3-usb-uhci,id=usb,bus=pci.0,
addr=0x1.0x2 -device ahci,id=ahci0,bus=pci.0,addr=0x6  -chardev 
pty,id=charserial0 -device isa-serial,cha
rdev=charserial0,id=serial0 -device usb-tablet,id=input0 -device 
VGA,id=video0,bus=pci.0,addr=0x2 -device
 intel-hda,id=sound0,bus=pci.0,addr=0x4 -device 
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device vi
rtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -monitor stdio

(qemu) info roms
/rom@genroms/kvmvapic.bin size=0x002400 name="kvmvapic.bin"
addr=fff0 size=0x10 mem=rom name="OVMF.fd"
/rom@etc/acpi/tables size=0x002000 name="etc/acpi/tables"
/rom@etc/table-loader size=0x001000 name="etc/table-loader"
(qemu) info registers
EAX=c033 EBX=fffe60e4 ECX=c080 EDX=
ESI=fffe62c4 EDI=5042 EBP=fffe6000 ESP=
EIP=ff2f EFL=0082 [--S] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0008   00c09300 DPL=0 DS   [-WA]
CS =0010   00c09b00 DPL=0 CS32 [-RA]
SS =0008   00c09300 DPL=0 DS   [-WA]
DS =0008   00c09300 DPL=0 DS   [-WA]
FS =0008   00c09300 DPL=0 DS   [-WA]
GS =0008   00c09300 DPL=0 DS   [-WA]
LDT=   8200 DPL=0 LDT
TR =   8b00 DPL=0 TSS64-busy
GDT= ff80 001f
IDT=  
CR0=c033 CR2= CR3=e000 CR4=0660
DR0= DR1= DR2= 
DR3=
DR6=0ff0 DR7=0400
EFER=0500
FCW=037f FSW= [ST=0] FTW=00 MXCSR=1f80
FPR0=  FPR1= 
FPR2=  FPR3= 
FPR4=  FPR5= 
FPR6=  FPR7= 
XMM00= XMM01=
XMM02= XMM03=
XMM04= XMM05=
XMM06= XMM07=

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

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

** Also affects: edk2 (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  x86_64: Fails to start using EFI firmware

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1266746/+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 1342083] [NEW] "Failed to create chardev" due to apparmor DENIED execute of "/usr/lib/pt_chown"

2014-07-15 Thread TJ
Public bug reported:

On 14.04 x86_64 a default QEMU VM fails to start (even before the
install from ISO image stage) with:


2014-07-15 12:02:56.278+: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 
QEMU_AUDIO_DRV=none /usr/bin/kvm-spice -name Test -S -machine 
pc-i440fx-trusty,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 
2,sockets=2,cores=1,threads=1 -uuid 7c06d584-db97-454c-c19d-a759f92b9572 
-no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/Test.monitor,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -boot 
strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive 
file=/var/lib/libvirt/images/Test.img,if=none,id=drive-virtio-disk0,format=raw 
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2
 -drive 
file=/home/all/VirtualMachines/iso/ubuntu-14.04-server-amd64.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw
 -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 
-netdev tap,fd=25,id=hostnet0,vhost=on,vhostfd=26 -device virtio-net-pci,net
 dev=hostnet0,id=net0,mac=52:54:00:01:ca:81,bus=pci.0,addr=0x3 -chardev 
pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 
127.0.0.1:0 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device 
intel-hda,id=sound0,bus=pci.0,addr=0x4 -device 
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
qemu-system-x86_64: -chardev pty,id=charserial0: Failed to create chardev
2014-07-15 12:02:56.494+: shutting down

With the kernel log showing:

Jul 15 13:02:56 hephaestion kernel: [48357.666272] audit: type=1400 
audit(1405425776.174:72): apparmor="STATUS" operation="profile_load" 
name="libvirt-7c06d584-db97-454c-c19d-a759f92b9572" pid=22796 
comm="apparmor_parser"
Jul 15 13:02:56 hephaestion kernel: [48357.744454] device vnet0 entered 
promiscuous mode
Jul 15 13:02:56 hephaestion kernel: [48357.752492] virbr0: port 1(vnet0) 
entered listening state
Jul 15 13:02:56 hephaestion kernel: [48357.752517] virbr0: port 1(vnet0) 
entered listening state
Jul 15 13:02:56 hephaestion kernel: [48357.811719] audit: type=1400 
audit(1405425776.318:73): apparmor="DENIED" operation="open" 
profile="libvirt-7c06d584-db97-454c-c19d-a759f92b9572" name="/proc/22815/fd/" 
pid=22815 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=121 
ouid=121
Jul 15 13:02:56 hephaestion kernel: [48357.811758] audit: type=1400 
audit(1405425776.318:74): apparmor="DENIED" operation="exec" 
profile="libvirt-7c06d584-db97-454c-c19d-a759f92b9572" name="/usr/lib/pt_chown" 
pid=22815 comm="qemu-system-x86" requested_mask="x" denied_mask="x" fsuid=121 
ouid=0
Jul 15 13:02:56 hephaestion kernel: [48357.815363] virbr0: port 1(vnet0) 
entered disabled state
Jul 15 13:02:56 hephaestion kernel: [48357.816733] device vnet0 left 
promiscuous mode
Jul 15 13:02:56 hephaestion kernel: [48357.816754] virbr0: port 1(vnet0) 
entered disabled state
Jul 15 13:02:56 hephaestion kernel: [48358.195004] audit: type=1400 
audit(1405425776.702:75): apparmor="STATUS" operation="profile_remove" 
name="libvirt-7c06d584-db97-454c-c19d-a759f92b9572" pid=22824 
comm="apparmor_parser"

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

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

Title:
  "Failed to create chardev" due to apparmor DENIED execute of
  "/usr/lib/pt_chown"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1342083/+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 1350643] [NEW] 6.2p1+ fails key-exchange with embedded SSH devices

2014-07-30 Thread TJ
Public bug reported:

I have various network devices with embedded SSH daemons, such as CDUs,
UPSs, managed Switches, DRAC, and so on. All devices have entries in the
ssh config file specifying an IdentityFile.

The particular embedded SSH daemon in this case is Mocana nanoSSH:

http://www.mocana.com/for-device-manufacturers/nanossh

Recently I had need to access a Server Technology Switched CDU via SSH
using 14.04 Trusty and its OpenSSH_6.6.1p1. Connections consistently
failed at:

$ ssh -vvv cdu-01
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/tj/.ssh/config
debug1: /home/tj/.ssh/config line 101: Applying options for cdu-01
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Hostname has changed; re-reading configuration
debug1: Reading configuration data /home/tj/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.254.0.3 [10.254.0.3] port 22.
debug1: Connection established.
...
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: setup hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_setup: setup hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug2: bits set: 531/1024
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
Received disconnect from 10.254.0.3: 11: Logged out.

Initially I thought the local configuration had been corrupted in some
way since the local /home/ was moved from a 13.04 to 14.04 installation.
Later I discovered a bug report of this issue affecting other embedded
network devices reported against versions of OpenSSH later than 6.1p1 on
the BSD operating system at:

https://bugzilla.mindrot.org/show_bug.cgi?id=2116

I then chroot-ed into the earlier 13.04 installation and tried again
with its OpenSSH_6.1p1 and it connected:

$ ssh -vvv hostmaster@10.254.0.3
OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.254.0.3 [10.254.0.3] port 22.
debug1: Connection established.
...
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug2: dh_gen_key: priv key bits set: 117/256
debug2: bits set: 521/1024
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: DSA 17:36:55:87:49:a5:a4:9f:02:42:8b:da:88:7c:bb:41
The authenticity of host '10.254.0.3 (10.254.0.3)' can't be established.
DSA key fingerprint is 17:36:55:87:49:a5:a4:9f:02:42:8b:da:88:7c:bb:41.
Are you sure you want to continue connecting (yes/no)?

The cause is apparently a buffer overflow in the embedded Mocana SSH
daemon with cipher/mac lists longer than ~287 bytes.

I fixed it by limiting the list of Ciphers and Macs sent, via the
ssh_config:

Host cdu-01
Hostname 10.254.0.3
User hostmaster
IdentityFile ~/.ssh/id_hostmaster
IdentitiesOnly yes
Protocol 2
Ciphers aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,arcfour
Macs hmac-sha1,hmac-md5


$ ssh -vvv cdu-01  
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/tj/.ssh/config
debug1: /home/tj/.ssh/config line 101: Applying options for cdu-01
debug3: ciphers ok: 
[aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,arcfour]
debug3: macs ok: [hmac-sha1,hmac-md5]
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Hostname has changed; re-reading configuration
debug1: Reading configuration data /home/tj/.ssh/config
debug3: ciphers ok: 
[aes256-cbc,aes192-cbc,aes128-cbc,blowfish-cbc,3des-cbc,arcfour]
debug3: macs ok: [hmac-sha1,hmac-md5]
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.254.0.3 [10.254.0.3] port 22.
debug1: Connection established.
...
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: DSA 17:36:55:87:49:a5:a4:9f:02:42:8b:da:88:7c:bb:41
debug3: load_hostkeys: loading entries for host "10.254.0.3" from file 
"/home/tj/.ssh/known_hosts"
debug3: load_hostkeys: loaded 0 keys
The authenticity of host '10.254.0.3 (10.254.0.3)' can't be established.
DSA key fingerprint is 17:36:55:87:49:a5:a4:9f:02:42:8b:da:88:7c:bb:41.
Are you sure you want to continue connecting (yes/no)?

** Affects: openssh (Ubuntu)
 Importance: Low
 Status: Triaged

** Changed in: openssh (Ubuntu)
   Status: New => Triaged

** Changed in: openssh (Ubuntu)
   Importance: Undecid

Re: [Bug 1350643] Re: 6.2p1+ fails key-exchange with embedded SSH devices

2014-07-31 Thread TJ
On 31/07/14 04:18, Seth Arnold wrote:
> It might be worth changing your ciphers to something like

Seth, that is terrible  OK, I'll try it later on, although I have no idea 
what CPU the embedded controller on the CDU uses. If I knew that I might be 
able to craft the buffer overflow to do 
something useful.

I've been explicit in describing the issue since it looks like the kind
of thing that many sys-admins could hit and not get to the bottom of.

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

Title:
  6.2p1+ fails key-exchange with embedded SSH devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1350643/+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 657385] Re: mysql failed to configure while upgrading to 10.04

2010-10-09 Thread TJ Kolev

** Attachment added: ".etc.apparmor.d.usr.sbin.mysqld.txt"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680408/+files/.etc.apparmor.d.usr.sbin.mysqld.txt

** Attachment added: "Dependencies.txt"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680409/+files/Dependencies.txt

** Attachment added: "Logs.var.log.daemon.log.txt"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680410/+files/Logs.var.log.daemon.log.txt

** Attachment added: "MySQLConf.etc.mysql.my.cnf.txt"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680411/+files/MySQLConf.etc.mysql.my.cnf.txt

** Attachment added: "VarLogDistupgradeAptlog.gz"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680412/+files/VarLogDistupgradeAptlog.gz

** Attachment added: "VarLogDistupgradeApttermlog.gz"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680413/+files/VarLogDistupgradeApttermlog.gz

** Attachment added: "VarLogDistupgradeLspcitxt.gz"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680414/+files/VarLogDistupgradeLspcitxt.gz

** Attachment added: "VarLogDistupgradeMainlog.gz"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680415/+files/VarLogDistupgradeMainlog.gz

** Attachment added: "VarLogDistupgradeSystemstatetargz.gz"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680416/+files/VarLogDistupgradeSystemstatetargz.gz

** Attachment added: "modified.conffile..etc.apparmor.d.usr.sbin.mysqld.txt"
   
https://bugs.launchpad.net/bugs/657385/+attachment/1680417/+files/modified.conffile..etc.apparmor.d.usr.sbin.mysqld.txt

-- 
mysql failed to configure while upgrading to 10.04
https://bugs.launchpad.net/bugs/657385
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 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 657385] [NEW] mysql failed to configure while upgrading to 10.04

2010-10-09 Thread TJ Kolev
Public bug reported:

I was upgrading from 9.10 to 10.04 LTS via console. Mysql server failed
to be configured because at one point I was asked to use an account
called debian-sys-maint, which I don't remember seeing ever. I tried it
by entering the password found in /etc/mysql/debian.cnf with no luck. I
also tried using root - no luck. Further into the upgrade, I was offered
to submit a report, and follow an url to here.

tjk :)

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12.6
ProcVersionSignature: Ubuntu 2.6.31-22.65-server
Uname: Linux 2.6.31-22-server x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Oct  9 10:04:32 2010
ErrorMessage:
 ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
Logs.var.log.kern.log:
 Oct  9 09:08:20 karma kernel: [59213.435050] type=1503 
audit(1286633300.173:25): operation="open" pid=22252 parent=22251 
profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 
ouid=0 name="/sys/devices/system/cpu/"
 Oct  9 09:08:24 karma kernel: [59217.499056] type=1503 
audit(1286633304.233:26): operation="open" pid=22269 parent=22268 
profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 
ouid=0 name="/sys/devices/system/cpu/"
 Oct  9 09:08:24 karma kernel: [59218.055767] type=1503 
audit(1286633304.793:27): operation="open" pid=22320 parent=22319 
profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 
ouid=0 name="/sys/devices/system/cpu/"
 Oct  9 09:08:24 karma kernel: [59218.072306] type=1503 
audit(1286633304.813:28): operation="open" pid=22329 parent=22328 
profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 
ouid=0 name="/sys/devices/system/cpu/"
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLConf.etc.mysql.conf.d.mythtv.cnf:
 [mysqld]
 bind-address=0.0.0.0
MySQLVarLibDirListing: False
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.41-3ubuntu12.6 failed to install/upgrade:
mtime.conffile..etc.apparmor.d.usr.sbin.mysqld: 2010-02-20T17:04:26.988584

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


** Tags: amd64 apport-package lucid

-- 
mysql failed to configure while upgrading to 10.04
https://bugs.launchpad.net/bugs/657385
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 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 657385] Re: mysql failed to configure while upgrading to 10.04

2010-10-14 Thread TJ Kolev
I think I have found the problem with my installation. /var/lib/mysql is
a link to a location on an iscsi target. I am fairly certain the iscsi
targets were not connected, because eth1, my iscsi interface wasn't
brought up. eth1 didn't come up when I rebooted after the upgrade, Now
eth1 and iscsi are fine, and I updated mysql successfully.

I'd consider this a non-issue at this point.

Thank you.
tjk :)

-- 
mysql failed to configure while upgrading to 10.04
https://bugs.launchpad.net/bugs/657385
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 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