[Bug 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-14 Thread eric.desrochers
Unfortunately, I can't reproduce the behaviour on my side.
I'm providing a hotfix[1] based on the upstream commit[2] that addressed the 
issue.

If you can reproduce the problem, please test the hotfix and provide
feedbacks.

[1] https://launchpad.net/~eric-desrochers-z/+archive/ubuntu/lp1481388/+packages
[2] d6df9d3 [Bug 2224] Use-after-free in routing socket code after dropping root

Thanks !

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1481388

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-14 Thread eric.desrochers
Unfortunately, I can't reproduce the behaviour on my side.
I'm providing a hotfix[1] based on the upstream commit[2] that addressed the 
issue.

If you can reproduce the problem, please test the hotfix and provide
feedbacks.

[1] https://launchpad.net/~eric-desrochers-z/+archive/ubuntu/lp1481388/+packages
[2] d6df9d3 [Bug 2224] Use-after-free in routing socket code after dropping root

Thanks !

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

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+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 1449131] Re: sosreport does not collect logs for Landscape Dedicated Server 15.01 and newer

2015-08-13 Thread eric.desrochers
Hi Sebastien,

Yes, I will make sure the package stay in sync with the Debian one by
forwarding the change to the Debian BTS as well.

Regards,


** Changed in: sosreport (Ubuntu Trusty)
 Assignee: (unassigned) = eric.desrochers (eric-desrochers-z)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1449131

Title:
  sosreport does not collect logs for Landscape Dedicated Server 15.01
  and newer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1449131/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1326854] Re: ambiguous error message sh: echo: I/O error

2015-08-12 Thread eric.desrochers
Yes, it need to be fixed in Vivid as well.

Will start the sru process for Vivid soon.

** Changed in: ifenslave-2.6 (Ubuntu Vivid)
 Assignee: (unassigned) = eric.desrochers (eric-desrochers-z)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1326854

Title:
  ambiguous error message sh: echo: I/O error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1326854] Re: ambiguous error message sh: echo: I/O error

2015-08-12 Thread eric.desrochers
** Changed in: ifenslave-2.6 (Ubuntu Vivid)
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1326854

Title:
  ambiguous error message sh: echo: I/O error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1326854] Re: ambiguous error message sh: echo: I/O error

2015-08-12 Thread eric.desrochers
debdiff for Vivid


** Patch added: debdiff for Vivid
   
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+attachment/4443596/+files/fix_c4ce52_vivid.debdiff

** Changed in: ifenslave-2.6 (Ubuntu Vivid)
   Status: New = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1326854

Title:
  ambiguous error message sh: echo: I/O error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-08 Thread eric.desrochers
** Changed in: ntp (Ubuntu Trusty)
 Assignee: (unassigned) = eric.desrochers (eric-desrochers-z)

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

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+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 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-08 Thread eric.desrochers
** Changed in: ntp (Ubuntu Trusty)
 Assignee: (unassigned) = eric.desrochers (eric-desrochers-z)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1481388

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1326854] Re: ambiguous error message sh: echo: I/O error

2015-08-06 Thread eric.desrochers
** Tags removed: sts

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1326854

Title:
  ambiguous error message sh: echo: I/O error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1449131] Re: sosreport does not collect logs for Landscape Dedicated Server 15.01 and newer

2015-08-06 Thread eric.desrochers
** Description changed:

+ [Impact]
+ 
+  * Sosreport does not collect logs (/var/log/landscape-server/*.log) 
+for Landscape Dedicated Server 15.01 and newer.
+ 
+Description : 
+Landscape Dedicated Server (LDS) 15.01 and newer logs are not located 
+in /var/log/landscape-server.  They were previously in only 
+/var/log /landscape.
+ 
+  * This will help to avoid Landscape customer to collect sosreport and 
/var/log/landscape-server/*.log separately.
+ 
+ [Test Case]
+ 
+  * To reproduce the bug you need to run sosreport =3.2-2 on a system running 
LDS 15.01 or newer..
+
+$ sudo /usr/bin/sosreport -a
+ 
+sosreport will generate a .tar.xz file in /tmp directory.
+If you look at this sosreport, /var/log/landscape will exist but 
/var/log/landscape-server won't be taken into account.
+ 
+ 
+ [Regression Potential] 
+ 
+  * None expected as the same commit is already in upstream
+ [https://github.com/sosreport/sos]
+ 
+  * The new patch has been well-tested in Wily system by different persons 
within Canonical support team and the sosreport/sos.html (attached to the bug) 
provided by the sosreport doesn't report any problem.
+The sosreport/sos.html also prove the patch works for the rest of the 
sosreport functionnalities.
+ 
+ [Other Info]
+ 
+ The patch detect if there is presence of /var/log/landscape/*.log files
+ and/or /var/log/landscape-server/*.log files and collect the logs
+ accordingly. This way the patch allow LDS 15.01 to collect the log from
+ /var/log/landscape and 15.01 from /var/log/landscape-server.
+ 
+ 
+ [Original Description]
+ 
  Landscape Dedicated Server (LDS) 15.01 and newer logs are now located in
  /var/log/landscape-server. This is part of the move towards using
  rsyslog[0]
- 
  
  1) The release of Ubuntu you are using, via 'lsb_release -rd' or System
  Only Trusty and newer as that is all LDS is built to run on.
  
  2) The version of the package you are using, via 'apt-cache policy pkgname' 
or by checking in Software Center
  PPA version of sosreport
  
  3) What you expected to happen
  The expectation is that this log location be added(not replace) as there are 
other supported Landscape Dedicated Servers still using the old location 
(/var/log/landscape)
  
  4) What happened instead
  Logs are not collected from the new location.
  
- 
  Related:
  
  [0] https://help.landscape.canonical.com/LDS/ReleaseNotes15.01

** Tags removed: patch
** Tags added: verification-done

** Changed in: sosreport (Ubuntu Wily)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1449131

Title:
  sosreport does not collect logs for Landscape Dedicated Server 15.01
  and newer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1449131/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1326854] Re: ambiguous error message sh: echo: I/O error

2015-08-06 Thread eric.desrochers
Here is a new copy of my .debdiff with the adjustment suggested by the
SRU Team.

Thanks !

** Patch added: NEW_fix_c4ce52.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+attachment/4440581/+files/NEW_fix_c4ce52.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1326854

Title:
  ambiguous error message sh: echo: I/O error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1449131] Re: sosreport does not collect logs for Landscape Dedicated Server 15.01 and newer

2015-08-06 Thread eric.desrochers
I have cherry-picked the upstream commits[1] into the sosreport version
3.2.-2 for Wily[2]


[1] cbc968b and b54a0f1
[2] sosreport | 3.2-2   | wily   | source, 
amd64, arm64, armhf, i386, powerpc, ppc64el

The .deb works as expected by collecting log files from either
/var/log/landscape and/or /var/log/landscape-server

===
Confirmation :
===
||/ Name Version   Architecture 
 Description
ii  sosreport   3.2-2ubuntu1amd64
Set of tools to gather troubleshooting data from a system

root@lds-sosreport:/tmp/sosreport-lds-sosreport-20150806112843# ls -altr 
var/log/landscape*
var/log/landscape-server:
total 8
drwxrwxr-x 7 root   root  4096 Aug  6 10:57 ..
-rw-r--r-- 1 syslog landscape0 Aug  6 11:26 appserver.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:26 usn-script.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:26 update-alerts.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:26 landscape-profiles.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:27 process-alerts.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:27 pingserver.log
drwxr-xr-x 2 root   root  4096 Aug  6 11:27 .

var/log/landscape:
total 8
-rw-r--r-- 1 syslog landscape0 Aug  6 10:06 sysinfo.log
drwxrwxr-x 7 root   root  4096 Aug  6 10:57 ..
-rw-r--r-- 1 syslog landscape0 Aug  6 11:27 appserver.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:27 usn-script.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:28 update-alerts.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:28 landscape-profiles.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:28 process-alerts.log
-rw-r--r-- 1 syslog landscape0 Aug  6 11:28 pingserver.log
drwxr-xr-x 2 root   root  4096 Aug  6 11:28 .

I'm also attachement the sosreport/sos.html proving the landscape plugin works 
as expected :
Plugin landscape

Files copied:

/var/log/landscape/process-alerts.log
/var/log/landscape/pingserver.log
/var/log/landscape/usn-script.log
/etc/landscape/service.conf
/etc/landscape/service.conf.old
/var/log/landscape-server/appserver.log
/etc/default/landscape-server
/var/log/landscape-server/update-alerts.log
/var/log/landscape/appserver.log
/var/log/landscape-server/landscape-profiles.log
/var/log/landscape-server/process-alerts.log
/var/log/landscape/landscape-profiles.log
/etc/default/landscape-client
/var/log/landscape-server/pingserver.log
/var/log/landscape-server/usn-script.log
/etc/landscape/client.conf
/var/log/landscape/sysinfo.log
/var/log/landscape/update-alerts.log

Commands Executed:

gpg --verify /etc/landscape/license.txt
head -n 5 /etc/landscape/license.txt


** Attachment added: sosreport/sos.html
   
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1449131/+attachment/4440522/+files/sos.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1449131

Title:
  sosreport does not collect logs for Landscape Dedicated Server 15.01
  and newer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1449131/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1449131] Re: sosreport does not collect logs for Landscape Dedicated Server 15.01 and newer

2015-08-06 Thread eric.desrochers
debdiff for Wily


** Patch added: debdiff for wily (sosreport_3.2-2ubuntu1)
   
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1449131/+attachment/4440525/+files/fix_cbc968b_b54a0f1.debdiff

** Changed in: sosreport (Ubuntu Trusty)
   Status: New = Confirmed

** Changed in: sosreport (Ubuntu Trusty)
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1449131

Title:
  sosreport does not collect logs for Landscape Dedicated Server 15.01
  and newer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1449131/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-05 Thread eric.desrochers
** Changed in: ntp (Ubuntu)
Milestone: ubuntu-12.04.5 = trusty-updates

** Changed in: ntp (Ubuntu)
Milestone: trusty-updates = None

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

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+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 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-05 Thread eric.desrochers
** Changed in: ntp (Ubuntu)
Milestone: ubuntu-12.04.5 = trusty-updates

** Changed in: ntp (Ubuntu)
Milestone: trusty-updates = None

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1481388

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1449131] Re: sosreport does not collect logs for Landscape Dedicated Server 15.01 and newer

2015-08-05 Thread eric.desrochers
Here is the two commits that addressed this bug :

cbc968b [landscape] 15.01 moves logs files to landscape-server
b54a0f1 [landscape] Move landscape logs, add server support


** Changed in: sosreport (Ubuntu)
   Importance: Undecided = Low

** Changed in: sosreport (Ubuntu)
 Assignee: (unassigned) = eric.desrochers (eric-desrochers-z)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1449131

Title:
  sosreport does not collect logs for Landscape Dedicated Server 15.01
  and newer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1449131/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1326854] Re: ambiguous error message sh: echo: I/O error

2015-08-05 Thread eric.desrochers
** Tags added: verification-neede

** Tags removed: sts verification-neede
** Tags added: verification-needed

** Tags added: sts

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1326854

Title:
  ambiguous error message sh: echo: I/O error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1481388] [NEW] NTP : Use-after-free in routing socket code after dropping root

2015-08-04 Thread eric.desrochers
Public bug reported:

We have 1 server (among hundreds) that its ntp service is crashing.

A few minute/seconds after a start attempts we can see the following in syslog:
Jul 1 05:33:28 svpr-stk67 ntpd[2729]: peers refreshed
Jul 1 05:33:28 svpr-stk67 ntpd[2729]: Listening on routing socket on fd #49 for 
interface updates
Jul 1 05:36:32 svpr-stk67 ntpd[2729]: i/o error on routing socket No buffer 
space available - disabling
Jul 1 05:36:32 svpr-stk67 kernel: [157516.495224] ntpd[2729]: segfault at 31 ip 
0031 sp 79f11788 error 14 in 
libpthread-2.15.so[7f967a5d9000+18000]

OS: Ubuntu 12.04.4 LTS
Kernel: 3.11.0-19-generic

I tried to compare it to other servers, and the only thing I could find that is 
different is that while it's up (before it crashes) I can see the following 
when running lsof | grep ntp:
ntpd 2729 ntp 49u sock 0,7 0t0 2473952565 can't identify protocol.

** Affects: ntp (Ubuntu)
 Importance: Undecided
 Assignee: eric.desrochers (eric-desrochers-z)
 Status: New

** Changed in: ntp (Ubuntu)
 Assignee: (unassigned) = eric.desrochers (eric-desrochers-z)

** Summary changed:

- Use-after-free in routing socket code after dropping root
+ NTP : Use-after-free in routing socket code after dropping root

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

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+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 1481388] [NEW] NTP : Use-after-free in routing socket code after dropping root

2015-08-04 Thread eric.desrochers
Public bug reported:

We have 1 server (among hundreds) that its ntp service is crashing.

A few minute/seconds after a start attempts we can see the following in syslog:
Jul 1 05:33:28 svpr-stk67 ntpd[2729]: peers refreshed
Jul 1 05:33:28 svpr-stk67 ntpd[2729]: Listening on routing socket on fd #49 for 
interface updates
Jul 1 05:36:32 svpr-stk67 ntpd[2729]: i/o error on routing socket No buffer 
space available - disabling
Jul 1 05:36:32 svpr-stk67 kernel: [157516.495224] ntpd[2729]: segfault at 31 ip 
0031 sp 79f11788 error 14 in 
libpthread-2.15.so[7f967a5d9000+18000]

OS: Ubuntu 12.04.4 LTS
Kernel: 3.11.0-19-generic

I tried to compare it to other servers, and the only thing I could find that is 
different is that while it's up (before it crashes) I can see the following 
when running lsof | grep ntp:
ntpd 2729 ntp 49u sock 0,7 0t0 2473952565 can't identify protocol.

** Affects: ntp (Ubuntu)
 Importance: Undecided
 Assignee: eric.desrochers (eric-desrochers-z)
 Status: New

** Changed in: ntp (Ubuntu)
 Assignee: (unassigned) = eric.desrochers (eric-desrochers-z)

** Summary changed:

- Use-after-free in routing socket code after dropping root
+ NTP : Use-after-free in routing socket code after dropping root

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1481388

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-04 Thread eric.desrochers
** Changed in: ntp (Ubuntu)
   Importance: Undecided = Low

** Changed in: ntp (Ubuntu)
Milestone: None = ubuntu-12.04.5

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1481388

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-04 Thread eric.desrochers
** Changed in: ntp (Ubuntu)
   Importance: Undecided = Low

** Changed in: ntp (Ubuntu)
Milestone: None = ubuntu-12.04.5

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

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+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 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-04 Thread eric.desrochers
The remove_ and delete_ functions remove the current element from the
asyncio_reader_list, and free it, respectively.

We then return back to the loop at the top, wherein the asyncio_reader variable 
still points at the now-freed element,
whose contents are now scrambled by having link pointers, etc, from internal 
malloc state overlaying the data.

This loop should probably extract the -link pointer prior to calling
-receiver(), as that function can free the asyncio_reader object in
question. (LP: #1481388)

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

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+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 1481388] Re: NTP : Use-after-free in routing socket code after dropping root

2015-08-04 Thread eric.desrochers
The remove_ and delete_ functions remove the current element from the
asyncio_reader_list, and free it, respectively.

We then return back to the loop at the top, wherein the asyncio_reader variable 
still points at the now-freed element,
whose contents are now scrambled by having link pointers, etc, from internal 
malloc state overlaying the data.

This loop should probably extract the -link pointer prior to calling
-receiver(), as that function can free the asyncio_reader object in
question. (LP: #1481388)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1481388

Title:
  NTP : Use-after-free in routing socket code after dropping root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1481388/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1326854] Re: ambiguous error message sh: echo: I/O error

2015-08-03 Thread eric.desrochers
debdiff from the fix in Wily

** Changed in: ifenslave-2.6 (Ubuntu Trusty)
 Assignee: (unassigned) = eric.desrochers (eric-desrochers-z)

** Changed in: ifenslave-2.6 (Ubuntu Trusty)
   Status: Confirmed = In Progress

** Description changed:

+ [SRU justification]
+ 
+ [Impact]
+ 
+ Without this patch, trying to add a bond when this one is already
+ defined leads to the following error :
+ 
+ Example :
+ 
+ # ifenslave bond0 eth1 eth2
+ sh: echo: I/O error
+ eth1: could not add interface
+ 
+ [Test Case]
+ 
+ For info, the ambiguous message only appears when using ifenslave on a
+ bond that is already configured :
+ 
+ # ifconfig eth1 up
+ # ifconfig eth2 up
+ # ifconfig bond0 up
+ # ifenslave bond0 eth1 eth2  No error on the first execution
+ # ifenslave bond0 eth1 eth2
+ sh: echo: I/O error
+ eth1: could not add interface
+ 
+ [Regression Potential]
+ 
+ None expected as the same commit is already in use in the ifenslave
+ package for Wily and in the upstream debian package.
+ 
+ [Original description of the problem]
+ 
  adding an interface to a bonding interface can result in the error
  message sh: echo: I/O error which is highly ambiguous (did the I/O
  error occur in sh, echo or is it an I/O error realted to the
  command/driver? - at least change this to I/O error occured which is
  still not helpful (I/O occured in the kernel driver, please make sure
  it supports XY, check with Z would be nice), but at least not
  confusing.
  
  reproduction:
  /etc/wpa_supplicant/wpa_supplicant.conf
  code
  network={
- ssid=assid
- key_mgmt=WPA-EAP
- eap=TTLS
- proto=WPA RSN
- identity=anident...@adomain.com
- anonymous_identity=anonym...@adomain.de
- ca_cert=/etc/wpa_supplicant/deutsche-telekom-root-ca-2.crt
- phase2=auth=PAP
+ ssid=assid
+ key_mgmt=WPA-EAP
+ eap=TTLS
+ proto=WPA RSN
+ identity=anident...@adomain.com
+ anonymous_identity=anonym...@adomain.de
+ ca_cert=/etc/wpa_supplicant/deutsche-telekom-root-ca-2.crt
+ phase2=auth=PAP
  }
  /code
  /etc/network/interfaces
  code
  iface main inet dhcp
- wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
+ wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  
  iface bond0 inet manual
- down ifenslave -d bond0 wlan0 wlan1
- bond-mode active-backup
- bond-miimon 100
- bond-slaves wlan0 wlan1
+ down ifenslave -d bond0 wlan0 wlan1
+ bond-mode active-backup
+ bond-miimon 100
+ bond-slaves wlan0 wlan1
  
  allow-bond0 wlan0
  iface wlan0 inet manual
- wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
- bond-master bond0
+ wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
+ bond-master bond0
  
  allow-bond0 wlan1
  iface wlan1 inet manual
- wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
- bond-master bond0
+ wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
+ bond-master bond0
  
  iface eth1 inet dhcp
  /code
  my commands
  code
  sudo modprobe bonding
  sudo ifup wlan0
  sudo ifup wlan1
  sudo ifconfig bond0 # no DHCP example, so I've not idea how to get this 
running :( just providing a way to reproduce the error message (which should in 
no case be shown with its current content)
  sudo ifenslave bond0 wlan0 wlan1
  /code
  
  I'm not requesting support here, just to fix the bug which should make
  the former unnecessary anyway :)

** Patch added: fix_c4ce52.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+attachment/4438404/+files/fix_c4ce52.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1326854

Title:
  ambiguous error message sh: echo: I/O error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1326854/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs