[Bug 1518440] Re: tgt fails to install in LXD

2018-03-27 Thread Andres Rodriguez
Hi! **This is an automated message** We believe this is may no longer be an issue in the latest MAAS release. Due to the report date of this, we are currently marking it as Invalid. If you believe this bug report still valid against the latest release of MAAS, or if you are still interested in

[Bug 1518440] Re: tgt fails to install in LXD

2016-06-01 Thread Launchpad Bug Tracker
This bug was fixed in the package tgt - 1:1.0.43-0ubuntu4.1~14.04.3 --- tgt (1:1.0.43-0ubuntu4.1~14.04.3) trusty; urgency=low * debian/patches/tgtd_allow_oom_adjust_failures_for_non_root.patch, debian/patches/tgtd_dont_fail_on_eacces.patch: - Fix non-root and

[Bug 1518440] Re: tgt fails to install in LXD

2016-05-31 Thread Simon Déziel
Reproduced with: lxc launch ubuntu-daily:14.04 tgt -c raw.lxc="lxc.aa_profile=unconfined" The proposed package fixes the issue, thanks. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1518440] Re: tgt fails to install in LXD

2016-05-16 Thread Koaps
The proposed package installed cleanly for me, and is running, I haven't tested installing MAAS but tgt seems good. Setting up tgt (1:1.0.43-0ubuntu4.1~14.04.3) ... tgt start/running, process 3044 root@test:~# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty

[Bug 1518440] Re: tgt fails to install in LXD

2016-05-12 Thread Brian Murray
Hello Lee, or anyone else affected, Accepted tgt into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tgt/1:1.0.43-0ubuntu4.1~14.04.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1518440] Re: tgt fails to install in LXD

2016-05-12 Thread Mathew Hodson
It's in the Trusty queue. ** Changed in: tgt (Ubuntu Trusty) Importance: Undecided => High ** Changed in: tgt (Ubuntu Trusty) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1518440] Re: tgt fails to install in LXD

2016-05-11 Thread Michael Terry
Good point. I just now uploaded the patch from comment #7 (with changelog tweaks) to trusty-proposed. Now it just has to get approved and go through the SRU process. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1518440] Re: tgt fails to install in LXD

2016-05-11 Thread Michael Terry
** Also affects: tgt (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage notifications

[Bug 1518440] Re: tgt fails to install in LXD

2016-05-11 Thread Koaps
I wanted to see if this is going to be back ported to trusty or wily like Andrew asked? I'm currently hitting this problem and Xenial MAAS is still beta so I need to use MAAS 1.9.0 but it fails to install on wily or trusty because of the issue in this bug. -- You received this bug notification

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-22 Thread Ryan Harper
This fix has been released in Xenial, as tgt 1:1.0.62-1ubuntu2 ** Changed in: tgt (Ubuntu) Status: In Progress => Fix Released ** Changed in: tgt (Ubuntu) Assignee: Mathieu Trudel-Lapierre (mathieu-tl) => (unassigned) -- You received this bug notification because you are a member

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-22 Thread Ryan Harper
This fix has been released in Xenial, as tgt 1:1.0.62-1ubuntu2 ** Changed in: tgt (Ubuntu) Status: In Progress => Fix Released ** Changed in: tgt (Ubuntu) Assignee: Mathieu Trudel-Lapierre (mathieu-tl) => (unassigned) -- You received this bug notification because you are a member

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-22 Thread Andrew McDermott
I think this fix should be back ported to trusty so that we can eventually install MAAS in a LXD environment. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-22 Thread Andrew McDermott
I think this fix should be back ported to trusty so that we can eventually install MAAS in a LXD environment. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-10 Thread Bug Watch Updater
** Changed in: tgt (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage notifications about this bug go

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-10 Thread Bug Watch Updater
** Changed in: tgt (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage notifications about

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-03 Thread Bug Watch Updater
** Changed in: tgt (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage notifications about this

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-03 Thread Bug Watch Updater
** Changed in: tgt (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage notifications about this bug go to:

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-01 Thread Ryan Harper
Forwarded patch to upstream via: https://github.com/fujita/tgt/pull/17 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage notifications about this

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-01 Thread Ryan Harper
Forwarded patch to upstream via: https://github.com/fujita/tgt/pull/17 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-01 Thread Ryan Harper
Updated debdiff: - Fix spelling of attempt - replace spaces with tabs in patch. ** Patch added: "tgt_fix_lp1518440_v3.debdiff" https://bugs.launchpad.net/ubuntu/+source/tgt/+bug/1518440/+attachment/4560974/+files/tgt_fix_lp1518440_v3.debdiff -- You received this bug notification because

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-01 Thread Ryan Harper
Updated debdiff: - Fix spelling of attempt - replace spaces with tabs in patch. ** Patch added: "tgt_fix_lp1518440_v3.debdiff" https://bugs.launchpad.net/ubuntu/+source/tgt/+bug/1518440/+attachment/4560974/+files/tgt_fix_lp1518440_v3.debdiff -- You received this bug notification because

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-01 Thread Ryan Harper
** Bug watch added: Debian Bug tracker #813368 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813368 ** Also affects: tgt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813368 Importance: Unknown Status: Unknown -- You received this bug notification because you

[Bug 1518440] Re: tgt fails to install in LXD

2016-02-01 Thread Ryan Harper
** Bug watch added: Debian Bug tracker #813368 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813368 ** Also affects: tgt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813368 Importance: Unknown Status: Unknown -- You received this bug notification because you

[Bug 1518440] Re: tgt fails to install in LXD

2016-01-19 Thread Mathieu Trudel-Lapierre
** Changed in: tgt (Ubuntu) Status: Triaged => In Progress ** Changed in: tgt (Ubuntu) Assignee: Ryan Harper (raharper) => Mathieu Trudel-Lapierre (mathieu-tl) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug

[Bug 1518440] Re: tgt fails to install in LXD

2016-01-19 Thread Mathieu Trudel-Lapierre
** Changed in: tgt (Ubuntu) Status: Triaged => In Progress ** Changed in: tgt (Ubuntu) Assignee: Ryan Harper (raharper) => Mathieu Trudel-Lapierre (mathieu-tl) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1518440] Re: tgt fails to install in LXD

2016-01-15 Thread Ryan Harper
No; it should go upstream AFAICT. I can regen with tabs; my fault for not checking what the source file used. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1518440 Title: tgt

[Bug 1518440] Re: tgt fails to install in LXD

2016-01-15 Thread Ryan Harper
No; it should go upstream AFAICT. I can regen with tabs; my fault for not checking what the source file used. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in

[Bug 1518440] Re: tgt fails to install in LXD

2016-01-15 Thread Sebastien Bacher
@Ryan, thanks for the patch. Is there any reason the change should be Ubuntu specific? If not having a Debian/upstream bug reference would be nice. Other minor nitput otherwise, you used spaces instead of tab for identation (it's visible when looking at the diff e.g in firefox, the lines are not

[Bug 1518440] Re: tgt fails to install in LXD

2016-01-15 Thread Sebastien Bacher
@Ryan, thanks for the patch. Is there any reason the change should be Ubuntu specific? If not having a Debian/upstream bug reference would be nice. Other minor nitput otherwise, you used spaces instead of tab for identation (it's visible when looking at the diff e.g in firefox, the lines are not

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-21 Thread Launchpad Bug Tracker
This bug was fixed in the package tgt - 1:1.0.62-1ubuntu1 --- tgt (1:1.0.62-1ubuntu1) xenial; urgency=low * Merge from Debian unstable (LP: #1524982, LP: #1518440). Remaining changes: - Drop glusterfs support, since it is not in main. * debian/upstart: - Dropped, we

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-21 Thread Michael Terry
I just uploaded 1.0.62-1ubuntu1 to xenial for merge bug 1524982. That should fix this issue as well. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-21 Thread Michael Terry
I just uploaded 1.0.62-1ubuntu1 to xenial for merge bug 1524982. That should fix this issue as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-21 Thread Michael Terry
Thanks Ryan for patch from upstream and testing though -- gave better confidence for updating to latest upstream version. Please test new version when it lands too, to make sure that I and/or upstream didn't mess anything up. -- You received this bug notification because you are a member of

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-21 Thread Michael Terry
Thanks Ryan for patch from upstream and testing though -- gave better confidence for updating to latest upstream version. Please test new version when it lands too, to make sure that I and/or upstream didn't mess anything up. -- You received this bug notification because you are a member of

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-21 Thread Launchpad Bug Tracker
This bug was fixed in the package tgt - 1:1.0.62-1ubuntu1 --- tgt (1:1.0.62-1ubuntu1) xenial; urgency=low * Merge from Debian unstable (LP: #1524982, LP: #1518440). Remaining changes: - Drop glusterfs support, since it is not in main. * debian/upstart: - Dropped, we

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-09 Thread Jon Grimm
** Changed in: tgt (Ubuntu) Assignee: Kick In (kick-d) => Ryan Harper (raharper) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-09 Thread Jon Grimm
** Changed in: tgt (Ubuntu) Assignee: Kick In (kick-d) => Ryan Harper (raharper) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-09 Thread Ryan Harper
Resolving this by cherry picking check on uid, and also allowing EACCES failure due to username space. The cherry pick could be dropped if we were to rebase on debian dev version (tgt_1.0.61). ** Patch added: "tgt_fix_lp1518440.diff"

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-09 Thread Ryan Harper
Tested on Xenial/amd64 1. sudo apt-get install lxd 2. lxd-images import ubuntu xenial amd64 --alias ubuntu-xenial --alias ubuntu/xenial 3. lxd launch ubuntu-xenial x1 4. lxc exec x1 /bin/bash # Inside xenial LXD container 5. apt-get install tgt ... fails as per comment #2 After rebuilding

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-09 Thread Ubuntu Foundations Team Bug Bot
The attachment "tgt_fix_lp1518440.diff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag,

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-09 Thread Ryan Harper
Tested on Xenial/amd64 1. sudo apt-get install lxd 2. lxd-images import ubuntu xenial amd64 --alias ubuntu-xenial --alias ubuntu/xenial 3. lxd launch ubuntu-xenial x1 4. lxc exec x1 /bin/bash # Inside xenial LXD container 5. apt-get install tgt ... fails as per comment #2 After rebuilding

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-09 Thread Ubuntu Foundations Team Bug Bot
The attachment "tgt_fix_lp1518440.diff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag,

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-09 Thread Ryan Harper
Resolving this by cherry picking check on uid, and also allowing EACCES failure due to username space. The cherry pick could be dropped if we were to rebase on debian dev version (tgt_1.0.61). ** Patch added: "tgt_fix_lp1518440.diff"

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-07 Thread Robie Basak
Pierre, can you have a look at this after the exim4 merge please? ** Changed in: tgt (Ubuntu) Assignee: (unassigned) => Kick In (kick-d) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-07 Thread Robie Basak
Pierre, can you have a look at this after the exim4 merge please? ** Changed in: tgt (Ubuntu) Assignee: (unassigned) => Kick In (kick-d) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Stéphane Graber
** Also affects: lxd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage notifications about

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Stéphane Graber
** Also affects: lxd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tgt in Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails to install in LXD To manage

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Stéphane Graber
Oh, yeah, it definitely shouldn't fail on oom_adjust. I remember we had to patch a few things because of that kind of stuff before. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Serge Hallyn
The key error appear to be: Dec 04 15:54:29 x1 tgtd[3741]: can't adjust oom-killer's pardon /proc/self/oom_score_adj, Permission denied tgt insists on being able to change that file, err = oom_adjust(); if (err) exit(1); -- You received this bug notification

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Stéphane Graber
Oh, yeah, it definitely shouldn't fail on oom_adjust. I remember we had to patch a few things because of that kind of stuff before. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tgt in Ubuntu. https://bugs.launchpad.net/bugs/1518440

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Serge Hallyn
The key error appear to be: Dec 04 15:54:29 x1 tgtd[3741]: can't adjust oom-killer's pardon /proc/self/oom_score_adj, Permission denied tgt insists on being able to change that file, err = oom_adjust(); if (err) exit(1); -- You received this bug notification

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Robie Basak
** Changed in: tgt (Ubuntu) Status: Confirmed => Triaged ** Changed in: tgt (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tgt in Ubuntu. https://bugs.launchpad.net/bugs/1518440

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Robie Basak
** Changed in: tgt (Ubuntu) Status: Confirmed => Triaged ** Changed in: tgt (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt fails

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Stéphane Graber
So the right thing to do when writing to oom_score is: - Try oom_score_adj first if it doesn't exist, silently fallback to oom_adj - Don't fail if the file doesn't exist - Don't fail if write gets you EACCESS - Fail for all other return values ** No longer affects: lxd (Ubuntu) -- You

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Stéphane Graber
So the right thing to do when writing to oom_score is: - Try oom_score_adj first if it doesn't exist, silently fallback to oom_adj - Don't fail if the file doesn't exist - Don't fail if write gets you EACCESS - Fail for all other return values ** No longer affects: lxd (Ubuntu) -- You

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Jon Grimm
FWIW, Upstream https://github.com/fujita/tgt/commit/7e45d5615ac29b2175858591d18ba98c40234990 Also possibly useful: https://github.com/fujita/tgt/commit/556410556f6c471982d6106209b61b15d823c065 -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1518440] Re: tgt fails to install in LXD

2015-12-04 Thread Jon Grimm
FWIW, Upstream https://github.com/fujita/tgt/commit/7e45d5615ac29b2175858591d18ba98c40234990 Also possibly useful: https://github.com/fujita/tgt/commit/556410556f6c471982d6106209b61b15d823c065 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1518440] Re: tgt fails to install in LXD

2015-11-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: tgt (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1518440 Title: tgt

[Bug 1518440] Re: tgt fails to install in LXD

2015-11-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: tgt (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tgt in Ubuntu. https://bugs.launchpad.net/bugs/1518440

[Bug 1518440] Re: tgt fails to install in LXD

2015-11-20 Thread Lee Trager
** Description changed: - When trying to install tgt in an LXD container the post install script - fails. I've tried setting the container profile as uncontained as per - https://help.ubuntu.com/lts/serverguide/lxc.html#lxc-apparmor to no - avail. This is preventing MAAS from being able to be run

[Bug 1518440] Re: tgt fails to install in LXD

2015-11-20 Thread Lee Trager
** Description changed: - When trying to install tgt in an LXD container the post install script - fails. I've tried setting the container profile as uncontained as per - https://help.ubuntu.com/lts/serverguide/lxc.html#lxc-apparmor to no - avail. This is preventing MAAS from being able to be run