[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 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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 to install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 report.
https://bugs.launchpad.net/bugs/1518440

Title:
  tgt fails to install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 fails to install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 
aligned), maybe you could fix that?

-- 
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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 no longer use upstart (except on Touch, where tgt
  isn't used).  Isn't worth a delta.
  * debian/watch:
- Drop merge conflict markers accidentally left in.
  * debian/tests/*:
- Drop delta with Debian here, they imported our tests and improved
  them a while back.
  * debian/tgt.service:
- Drop delta here, Debian made the same change.
  * debian/bash-completion:
- Dropped, Debian has the same thing, just as tgt.bash-completion.

 -- Michael Terry   Mon, 21 Dec 2015 14:20:23 -0500

** Changed in: tgt (Ubuntu)
   Status: Triaged => 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 this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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"
   
https://bugs.launchpad.net/ubuntu/+source/tgt/+bug/1518440/+attachment/4532054/+files/tgt_fix_lp1518440.diff

-- 
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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 tgt with the attached debdiff

1. lxc delete x1
2. lxc launch ubuntu-xenial x1
3. lxc push tgt_1.0.57-1ubuntu3_amd64.deb x1/tmp/
4. lxc exec x1 /bin/bash
# Inside xenail LXD container
5. apt-get install libibverbs1 librdmacm1 libsystemd0 init-system-helpers 
lsb-base libconfig-general-perl sg3-utils
6. dpkg --install /tmp/tgt_1.0.57-1ubuntu3_amd64.deb

This successfully installs and runs tgt.

No further validation of tgt was performed in this test.

-- 
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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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.
https://bugs.launchpad.net/bugs/1518440

Title:
  tgt fails to install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 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 notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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

Title:
  tgt fails to install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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

Title:
  tgt fails to install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 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 go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 subscribed to the bug report.
https://bugs.launchpad.net/bugs/1518440

Title:
  tgt fails to install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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

Title:
  tgt fails to install in LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1518440/+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 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 in an LXD
- container.
+ 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 in an LXD container.
+ /system.slice/tgt.service)
  
  
- # apt-get install -f
+ root@maas-dev:~# apt-get install -f
  Reading package lists... Done
- Building dependency tree
+ Building dependency tree   
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Setting up tgt (1:1.0.57-1ubuntu2) ...
  Job for tgt.service failed because the control process exited with error 
code. See "systemctl status tgt.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript tgt, action "start" failed.
  dpkg: error processing package tgt (--configure):
-  subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
-  tgt
+  subprocess installed post-installation script returned error exit status 1
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
  
  # systemctl status tgt.service
  ● tgt.service - (i)SCSI target daemon
-    Loaded: loaded (/lib/systemd/system/tgt.service; enabled; vendor preset: 
enabled)
-    Active: failed (Result: start-limit) since Fri 2015-11-20 19:29:28 UTC; 
14s ago
-  Docs: man:tgtd(8)
-   Process: 24536 ExecStop=/usr/sbin/tgtadm --op update --mode sys --name 
State -v offline (code=exited, status=107)
-   Process: 24521 ExecStart=/usr/sbin/tgtd -f (code=exited, status=1/FAILURE)
-  Main PID: 24521 (code=exited, status=1/FAILURE)
+Loaded: loaded (/lib/systemd/system/tgt.service; enabled; vendor preset: 
enabled)
+Active: failed (Result: start-limit) since Fri 2015-11-20 19:51:45 UTC; 
2min 25s ago
+  Docs: man:tgtd(8)
+   Process: 31872 ExecStop=/usr/sbin/tgtadm --op update --mode sys --name 
State -v offline (code=exited, status=107)
+   Process: 31857 ExecStart=/usr/sbin/tgtd -f (code=exited, status=1/FAILURE)
+  Main PID: 31857 (code=exited, status=1/FAILURE)
  
- Nov 20 19:29:28 maas-dev systemd[1]: Failed to start (i)SCSI target daemon.
- Nov 20 19:29:28 maas-dev systemd[1]: tgt.service: Unit entered failed state.
- Nov 20 19:29:28 maas-dev systemd[1]: tgt.service: Failed with result 
'exit-code'.
- Nov 20 19:29:28 maas-dev systemd[1]: tgt.service: Service hold-off time over, 
scheduling restart.
- Nov 20 19:29:28 maas-dev systemd[1]: Stopped (i)SCSI target daemon.
- Nov 20 19:29:28 maas-dev systemd[1]: tgt.service: Start request repeated too 
quickly.
- Nov 20 19:29:28 maas-dev systemd[1]: Failed to start (i)SCSI target daemon.
- Nov 20 19:29:28 maas-dev systemd[1]: tgt.service: Unit entered failed state.
- Nov 20 19:29:28 maas-dev systemd[1]: tgt.service: Failed with result 
'start-limit'.
+ Nov 20 19:51:45 maas-dev systemd[1]: Failed to start (i)SCSI target daemon.
+ Nov 20 19:51:45 maas-dev systemd[1]: tgt.service: Unit entered failed state.
+ Nov 20 19:51:45 maas-dev systemd[1]: tgt.service: Failed with result 
'exit-code'.
+ Nov 20 19:51:45 maas-dev systemd[1]: tgt.service: Service hold-off time over, 
scheduling restart.
+ Nov 20 19:51:45 maas-dev systemd[1]: Stopped (i)SCSI target daemon.
+ Nov 20 19:51:45 maas-dev systemd[1]: tgt.service: Start request repeated too 
quickly.
+ Nov 20 19:51:45 maas-dev systemd[1]: Failed to start (i)SCSI target daemon.
+ Nov 20 19:51:45 maas-dev systemd[1]: tgt.service: Unit entered failed state.
+ Nov 20 19:51:45 maas-dev systemd[1]: tgt.service: Failed with result 
'start-limit'.
  
  
- # journalctl -f # while running apt-get install tgt
- Nov 20 19:39:29 maas-dev polkitd(authority=local)[1828]: Registered 
Authentication Agent for unix-process:24816:14005113 (system bus name :1.78 
[/usr/bin/pkttyagent --notify-fd 4 --fallback], object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
- Nov 20 19:39:29 maas-dev systemd[1]: Reloading.
- Nov 20 19:39:29 maas-dev polkitd(authority=local)[1828]: Unregistered 
Authentication Agent for unix-process:24816:14005113 (system bus name :1.78, 
object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale 
en_US.UTF-8) (disconnected from bus)
- Nov 20 19:39:29 maas-dev polkitd(authority=local)[1828]: Registered 
Authentication Agent for unix-process:24894:14005139 (system bus name :1.79 
[/usr/bin/pkttyagent --notify-fd 4 --fallback], object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
- Nov 20 19:39:29 maas-dev