[Bug 1414887] Re: dns query from localnetwork ignored

2015-01-30 Thread Tong Sun
** Summary changed:

- dns query from localnetwork are blocked
+ dns query from localnetwork ignored

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

Title:
  dns query from localnetwork ignored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1414887/+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 1414887] Re: dns query from localnetwork ignored

2015-01-30 Thread Tong Sun
Ah, thanks Thomas. You lead me to the right direction.

As Simon Kelley, the author of dnsmasq said in the new dnsmasq manpag,
`local-service` is intended to be set as a default on installation, to
allow unconfigured installations to be useful...  it will have no
effect, but for otherwise-unconfigured installations, it stops dnsmasq
from being vulnerable to DNS-reflection attacks, I'm changing this bug
report to bear the purpose to have dnsmasq better configured out of box
for Ubuntu (14.10+).

- First, as suggested by the author of dnsmasq, the  `local-service`
should be in the default configuration. However, Ubuntu 14.10 doesn't
have that:

% cat /etc/dnsmasq.conf /etc/dnsmasq.d/network-manager | sed '/^$/d; /^#/d'
bind-interfaces

- Second, unlike its previous version, Ubuntu 14.10 now starts dnsmasq
in a very restricted way. Here is what I found out how dnsmasq is
started in Ubuntu 14.10:

 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-
interfaces --pid-file=/run/sendsigs.omit.d/network-manager.dnsmasq.pid
--listen-address=127.0.1.1 --conf-
file=/var/run/NetworkManager/dnsmasq.conf --cache-size=0 --proxy-dnssec
--enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-
dir=/etc/NetworkManager/dnsmasq.d

I.e., that ` --listen-address=127.0.1.1` will willfully ignore any dns
queries from localnetwork. This is the exact reason causing the symptom
that I reported.

I believe this setting should not be there, because

1. for people that need the setting, it is very easy to put it into a conf file 
under /etc/dnsmasq.d/; 
2. however, it will make it very very difficult for people who don't need it to 
get rid of it unless altering the package installation.
3. Ubuntu should really ship the default setting of `local-service` instead of 
`listen-address`, because it is a safer default and not invasive in the 
meantime.  it will have no effect but for an otherwise-unconfigured 
installation. 

Please consider.

Meanwhile, is there any better way to get rid of  that ` --listen-
address=127.0.1.1`? The least that I want is to altering the package
installation.

Thanks


** Changed in: dnsmasq (Ubuntu)
   Status: Incomplete = New

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

Title:
  dns query from localnetwork ignored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1414887/+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 1414887] [NEW] dns query from localnetwork are blocked

2015-01-26 Thread Tong Sun
Public bug reported:

Hi,

I followed the following to config dnsmasq as DHCP and DNS server
http://sfxpt.wordpress.com/2013/11/30/dnsmasq-installation-
configuration-5/

It works well till Ubuntu 13.10. However, with Ubuntu 14.10, the dns
query from localnetwork will always timeout. The configurations are
exactly the same, What could be the problem?

From within localnetwork:

~~~
$ dig google.ca

;  DiG 9.9.5-4.3-Ubuntu  google.ca
;; global options: +cmd
;; connection timed out; no servers could be reached

dig @192.168.2.100 maroon

;  DiG 9.9.5-4.3-Ubuntu  @192.168.2.100 maroon
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
~~~

On the DNS sever itself:

~~~
$ dig google.ca @127.0.0.1
...
;; ANSWER SECTION:
google.ca.  299 IN  A   173.194.43.111
...
;; Query time: 50 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)

$ dig @192.168.2.100 maroon
...
;; ANSWER SECTION:
maroon. 0   IN  A   192.168.2.100

;; Query time: 1 msec
;; SERVER: 192.168.2.100#53(192.168.2.100)
...
~~~

This is the debug output from dnsmasq log:

~~~
Jan  1 13:26:10 maroon dnsmasq[2833]: reply google.ca is 173.194.43.119
Jan  1 13:26:10 maroon dnsmasq[2833]: reply google.ca is 173.194.43.120
*** DEBUG 2015-01-01 13:26:21-05:00 DEBUG ***
Jan  1 13:27:42 maroon dnsmasq[2833]: query[A] maroon from 192.168.2.100
Jan  1 13:27:42 maroon dnsmasq[2833]: /etc/dnsmasq.hosts maroon is
192.168.2.100
*** DEBUG 2015-01-01 13:28:19-05:00 DEBUG ***
~~~

All other dns queries from localnetwork did not generate any log entries.
So, because the local dns query work, I think something is blocking the dnsmasq
 from sending the dns query results back to localnetwork. What could it
be?

I didn't limit the dnsmasq listen address:

~~~
$ grep listen-address /etc/dnsmasq.conf /etc/dnsmasq.d/*
/etc/dnsmasq.conf:#listen-address=
~~~

My /etc/hosts.deny and hosts.allow files are untouched either, and I can
ping my DNS server, and ssh into its IP address as well. So I think the
blocking is only at the DNS level since other access are just fine. It is
not because of iptables rules either:

$ sudo iptables-save | wc
  0   0   0

I've installed dnsmasq on two different machines, one being freshly
installed today, and both of them are showing exactly the  same symptom.
Again, it only happens to Ubuntu 14.10. It was working well till Ubuntu
13.10 before.

I've run out of all the possibilities.
What could be the problem?

Thanks

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.10
Release:14.10
Codename:   utopic

$ apt-cache policy dnsmasq
dnsmasq:
  Installed: 2.71-1
  Candidate: 2.71-1
  Version table:
 *** 2.71-1 0
500 http://us.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
100 /var/lib/dpkg/status

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

** Description changed:

  Hi,
  
- I following the following to config dnsmasq as DHCP and DNS server
+ I followed the following to config dnsmasq as DHCP and DNS server
  http://sfxpt.wordpress.com/2013/11/30/dnsmasq-installation-
  configuration-5/
  
- It works well till Ubuntu 13.10. However, with Ubuntu 14.10, the dns 
- query from localnetwork will always timeout. The configurations are 
- exactly the same, What could be the problem? 
+ It works well till Ubuntu 13.10. However, with Ubuntu 14.10, the dns
+ query from localnetwork will always timeout. The configurations are
+ exactly the same, What could be the problem?
  
  From within localnetwork:
  
  ~~~
  $ dig google.ca
  
  ;  DiG 9.9.5-4.3-Ubuntu  google.ca
  ;; global options: +cmd
  ;; connection timed out; no servers could be reached
  
  dig @192.168.2.100 maroon
  
  ;  DiG 9.9.5-4.3-Ubuntu  @192.168.2.100 maroon
  ; (1 server found)
  ;; global options: +cmd
  ;; connection timed out; no servers could be reached
  ~~~
  
  On the DNS sever itself:
  
  ~~~
  $ dig google.ca @127.0.0.1
  ...
  ;; ANSWER SECTION:
  google.ca.  299 IN  A   173.194.43.111
  ...
  ;; Query time: 50 msec
  ;; SERVER: 127.0.0.1#53(127.0.0.1)
  
  $ dig @192.168.2.100 maroon
  ...
  ;; ANSWER SECTION:
  maroon. 0   IN  A   192.168.2.100
  
  ;; Query time: 1 msec
  ;; SERVER: 192.168.2.100#53(192.168.2.100)
  ...
  ~~~
  
  This is the debug output from dnsmasq log:
  
  ~~~
  Jan  1 13:26:10 maroon dnsmasq[2833]: reply google.ca is 173.194.43.119
  Jan  1 13:26:10 maroon dnsmasq[2833]: reply google.ca is 173.194.43.120
- *** DEBUG 2015-01-01 13:26:21-05:00 DEBUG *** 
+ *** DEBUG 2015-01-01 13:26:21-05:00 DEBUG ***
  Jan  1 13:27:42 maroon dnsmasq[2833]: query[A] maroon from 192.168.2.100
- Jan  1 13:27:42 maroon dnsmasq[2833]: /etc/dnsmasq.hosts maroon is 
+ Jan  1 13:27:42 maroon dnsmasq[2833]: /etc/dnsmasq.hosts maroon is
  192.168.2.100
- *** DEBUG 2015-01-01 13:28:19-05:00 DEBUG *** 

[Bug 1395343] Re: Ubuntu 14.10 Utopic suspend/resume not working for my Laptop

2014-11-23 Thread Tong Sun
This is a rarely used computer. I'm sure it is not disk errors, as it
never gave any problem before, but failed to wake up the HD instead,
each and every time that I tried. I got disk errors on other machines
before, so I know what it means. I.e., if it is disk errors, the the
error sequence reported above will be entirely different.

No I can't use apport-collect, as it's function is to automatically
generate crash reports for debugging. However my machine/SW does not
crash, but freeze up entirely.

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

Title:
  Ubuntu 14.10 Utopic suspend/resume not working for my Laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1395343/+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 1395343] [NEW] Ubuntu 14.10 Utopic suspend/resume not working for my Laptop

2014-11-22 Thread Tong Sun
Public bug reported:

The Ubuntu 14.10 Utopic suspend/resume is not working for my Laptop. I
first tried with the Live CD, on failing that, and thinking that suspend
might need some disk to write to for the suspend info, I did a HD
installation. But still, suspend/resume is still not working.

On second attempt (after HD installation), I switched to console and
close my Laptop lid. It suspended well, as it has always been. On
resume, I see the repeating errors of `sda1` soft reset failure (or
something like that). Minutes later, I start to see all kinds of disk
related errors, disk sector writing error, ext4 journal error, etc.

I thus think the reason of `resume` not working is that the HD is not
waken up.

This is Acer Aspire AS5536, with XUbuntu 14.10 Utopic.

Any more info that I can provide?

Thanks

** Affects: pm-utils (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  Ubuntu 14.10 Utopic suspend/resume not working for my Laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1395343/+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 1395343] Re: Ubuntu 14.10 Utopic suspend/resume not working for my Laptop

2014-11-22 Thread Tong Sun
Is there any workaround at the moment?

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

Title:
  Ubuntu 14.10 Utopic suspend/resume not working for my Laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1395343/+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


Re: [Bug 706706] Re: Can't use Norton Ghost under Ubuntu KVM

2011-01-24 Thread Tong Sun
On Mon, Jan 24, 2011 at 11:22 AM, Serge Hallyn
706...@bugs.launchpad.netwrote:

 What is Hiren's boot cd?


 http://www.google.com/search?q=Hiren.BootCD.8.6

See the first 2 hits, one for the info, and other for the dl.

Can you try booting both 32-bit and 64-boot Ubuntu maverick or Fedora
 installs?  Complete the installation and make sure you can reboot - the
 fact that the cd successfully boots is not sufficient.


Sorry you lost me. I was talking about booting Norton Ghost CD from kvm from
within Ubuntu maverick.

PS, my Ubuntu maverick was installed from Ubuntu maverick CD and is
rebootable.

thanks

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

Title:
  Can't use Norton Ghost under Ubuntu KVM

-- 
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 706706] Re: Can't use Norton Ghost under Ubuntu KVM

2011-01-24 Thread Tong Sun
** Changed in: qemu-kvm (Ubuntu)
   Status: Incomplete = Opinion

** Changed in: qemu-kvm (Ubuntu)
   Status: Opinion = 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/706706

Title:
  Can't use Norton Ghost under Ubuntu KVM

-- 
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 706706] Re: Can't use Norton Ghost under Ubuntu KVM

2011-01-24 Thread Tong Sun
Thanks a lot for your replies and help, Serge.

On Mon, Jan 24, 2011 at 12:22 PM, Serge Hallyn
706...@bugs.launchpad.netwrote:

 Can you try to reproduce with the latest daily-upstream package?


Done:

$ apt-cache policy qemu-common qemu-kvm
qemu-kvm:
  Installed: 1.0+201101212012
  Candidate: 1.0+201101212012
  Version table:
 *** 1.0+201101212012 0
500
http://ppa.launchpad.net/ubuntu-server-edgers/server-edgers-qemu-kvm/ubuntu/maverick/main
amd64 Packages
100 /var/lib/dpkg/status
 0.12.5+noroms-0ubuntu7.1 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64
Packages
 0.12.5+noroms-0ubuntu7 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64
Packages
qemu-common:
  Installed: 1.0+201101212012
  Candidate: 1.0+201101212012
  Version table:
 *** 1.0+201101212012 0
500
http://ppa.launchpad.net/ubuntu-server-edgers/server-edgers-qemu-kvm/ubuntu/maverick/main
amd64 Packages
100 /var/lib/dpkg/status
 0.12.5+noroms-0ubuntu7.1 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64
Packages
 0.12.5+noroms-0ubuntu7 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64
Packages

but the proble remains. Same symptom.

Yes, I was hoping to avoid downloading an iso I'd never heard of.


Yep, me neither. But it's OK for this case, 'cause we are only using it in a
guest on the virtual machine.


 It will be helpful if you can reproduce this bug with a more common iso.


Problem is, the bug is especially regards Norton Ghost, the most well-known,
and widely-used disk cloning tools for windows. Check out:

http://en.wikipedia.org/wiki/Norton_Ghost

My question about 32-bit and 64-bit maverick was in a guest, not on the
 host.


Ok, now I know what you meant.

Actually, we are not even there yet.

Please do the following.

- create a brand new kvm disk image,

kvm-img create -f qcow hda 6G

- without doing anything else, try to boot Norton Ghost from within kvm:

kvm -hda hda -cdrom /path/to/Hiren.BootCD.8.6.iso -boot d

and see if you can boot into Norton Ghost yourself.

Thanks


** Changed in: qemu-kvm (Ubuntu)
   Status: Incomplete = 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/706706

Title:
  Can't use Norton Ghost under Ubuntu KVM

-- 
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 706706] Re: Can't use Norton Ghost under Ubuntu KVM

2011-01-24 Thread Tong Sun
On Mon, Jan 24, 2011 at 2:27 PM, Serge Hallyn
706...@bugs.launchpad.netwrote:

 Will try tonight.


thanks a lot!

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

Title:
  Can't use Norton Ghost under Ubuntu KVM

-- 
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 706706] [NEW] Can't use Norton Ghost under Ubuntu KVM

2011-01-23 Thread Tong Sun
Public bug reported:

Binary package hint: qemu-kvm

Hi,

I can't use Norton Ghost under Ubuntu KVM, whereas the same version of
kvm under Debian launches Norton Ghost just fine.

Info of kvm under Debian:

$ dpkg -l | grep kvm
ii  qemu-kvm   0.12.5+dfsg-3  Full virtualization on x86 hardware

$ cat /etc/issue 
Debian GNU/Linux squeeze/sid \n \l

$ uname -rm 
2.6.33-grml64 x86_64

Info of kvm under Ubuntu:

$ apt-cache policy qemu-kvm
qemu-kvm:
  Installed: 0.12.5+noroms-0ubuntu7.1
  Candidate: 0.12.5+noroms-0ubuntu7.1
  Version table:
 *** 0.12.5+noroms-0ubuntu7.1 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64 
Packages
100 /var/lib/dpkg/status
 0.12.5+noroms-0ubuntu7 0
500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages

(I've just upgraded it to the latest version and tried again, same
problem)

The symptom is while kvm was lauching NG, it failed, and rebooted all
over again. I've tried many times and I've also tried both Norton Ghost
2003 and Norton Ghost 8.3. Same symptom.

Actual command used is,

 kvm -m 1024 -smp 2 -usbdevice tablet -hda hda -cdrom /path/to
/NortonGhost-Version.iso -boot d

The same command, using the same hda  cdrom, works just fine under
Debian.

Please investigate

Thanks

PS. if you don't have a Norton Ghost iso file, you can try
Hiren.BootCD.8.6.iso. Works the same.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: qemu-kvm 0.12.5+noroms-0ubuntu7
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Sun Jan 23 16:43:30 2011
InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release amd64 (20101007)
KvmCmdLine:
 UIDPID  PPID  CSZ   RSS PSR STIME TTY  TIME CMD
 tong  3425  3349 98 308004 19044  1 16:43 pts/400:00:09 kvm -m 1024 
-smp
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: BIOSTAR Group N61PC-M2S
ProcCmdLine: root=/dev/sdb6 ro text
ProcEnviron:
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
SourcePackage: qemu-kvm
dmi.bios.date: 11/25/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: N61PC-M2S
dmi.board.vendor: BIOSTAR Group
dmi.chassis.type: 3
dmi.chassis.vendor: BIOSTAR Group
dmi.chassis.version: N61PC-M2S
dmi.modalias: 
dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd11/25/2008:svnBIOSTARGroup:pnN61PC-M2S:pvr:rvnBIOSTARGroup:rnN61PC-M2S:rvr:cvnBIOSTARGroup:ct3:cvrN61PC-M2S:
dmi.product.name: N61PC-M2S
dmi.sys.vendor: BIOSTAR Group

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


** Tags: amd64 apport-bug maverick

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

Title:
  Can't use Norton Ghost under Ubuntu KVM

-- 
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 706706] Re: Can't use Norton Ghost under Ubuntu KVM

2011-01-23 Thread Tong Sun


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

Title:
  Can't use Norton Ghost under Ubuntu KVM

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