[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-12-09 Thread Launchpad Bug Tracker
This bug was fixed in the package libsepol - 2.2-1ubuntu0.1

---
libsepol (2.2-1ubuntu0.1) trusty; urgency=medium

  [ Laurent Bigonville ]
  * Drop debian/libsepol1.postinst: Which had unguarded `telinit u' call,
which is not strictly needed and otherwise causes unwatned side
effects to the init process. (Closes: #753727) (LP: #1331555)
 -- Dimitri John Ledkov dimitri.j.led...@linux.intel.com   Wed, 26 Nov 2014 
00:26:53 +

** Changed in: libsepol (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in libsepol package in Ubuntu:
  Fix Released
Status in libsepol source package in Trusty:
  Fix Released
Status in libsepol source package in Utopic:
  Fix Released
Status in libsepol package in Debian:
  Fix Released

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

  
  accepted fix in debian packaging is to drop the postinst all together, since 
none of the libsepol symbols are used by neither upstart or systemd.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-12-06 Thread Dimitri John Ledkov
Confirmed in an lxc container, job status from initctl list and
processes preserved across upgrade from precise to (trusty + trusty-
updates + trusty-proposed) which pulled the new libsepol

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in libsepol package in Ubuntu:
  Fix Released
Status in libsepol source package in Trusty:
  Fix Committed
Status in libsepol source package in Utopic:
  Fix Released
Status in libsepol package in Debian:
  Fix Released

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

  
  accepted fix in debian packaging is to drop the postinst all together, since 
none of the libsepol symbols are used by neither upstart or systemd.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-12-02 Thread Chris J Arges
Hello Michael, or anyone else affected,

Accepted libsepol into trusty-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/libsepol/2.2-1ubuntu0.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: libsepol (Ubuntu Trusty)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in libsepol package in Ubuntu:
  Fix Released
Status in libsepol source package in Trusty:
  Fix Committed
Status in libsepol source package in Utopic:
  Fix Released
Status in libsepol package in Debian:
  Fix Released

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

  
  accepted fix in debian packaging is to drop the postinst all together, since 
none of the libsepol symbols are used by neither upstart or systemd.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-12-02 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/libsepol

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in libsepol package in Ubuntu:
  Fix Released
Status in libsepol source package in Trusty:
  Fix Committed
Status in libsepol source package in Utopic:
  Fix Released
Status in libsepol package in Debian:
  Fix Released

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

  
  accepted fix in debian packaging is to drop the postinst all together, since 
none of the libsepol symbols are used by neither upstart or systemd.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-11-25 Thread Dimitri John Ledkov
libsepol (2.3-2) unstable; urgency=medium


  * Drop debian/libsepol1.postinst: Reloading systemd during an upgrade in an
uncontroled way might endup with unwanted side effects (Closes: #753727)

 -- Laurent Bigonville bi...@debian.org  Sun, 31 Aug 2014 20:02:14
+0200

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

** Changed in: libsepol (Ubuntu Utopic)
   Status: Confirmed = Fix Released

** Bug watch added: Debian Bug tracker #753727
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753727

** Also affects: libsepol (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753727
   Importance: Unknown
   Status: Unknown

** Description changed:

  Trusty's libsepol1 (2.2-1) has no Upstart version check for the 'telinit
  u' call. During the dist-upgrade from Precise to Trusty this causes
  Upstart to loose its state. Because of this Upstart no longer knows
  which PIDs running services have and thus all service reloads fail.
  
  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.
  
  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi
  
  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi
+ 
+ 
+ accepted fix in debian packaging is to drop the postinst all together, since 
none of the libsepol symbols are used by neither upstart or systemd.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in “libsepol” package in Ubuntu:
  Fix Released
Status in “libsepol” source package in Trusty:
  Confirmed
Status in “libsepol” source package in Utopic:
  Fix Released
Status in “libsepol” package in Debian:
  Unknown

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

  
  accepted fix in debian packaging is to drop the postinst all together, since 
none of the libsepol symbols are used by neither upstart or systemd.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-11-25 Thread Dimitri John Ledkov
** Changed in: libsepol (Ubuntu Trusty)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in “libsepol” package in Ubuntu:
  Fix Released
Status in “libsepol” source package in Trusty:
  In Progress
Status in “libsepol” source package in Utopic:
  Fix Released
Status in “libsepol” package in Debian:
  Unknown

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

  
  accepted fix in debian packaging is to drop the postinst all together, since 
none of the libsepol symbols are used by neither upstart or systemd.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-11-25 Thread Bug Watch Updater
** Changed in: libsepol (Debian)
   Status: Unknown = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in “libsepol” package in Ubuntu:
  Fix Released
Status in “libsepol” source package in Trusty:
  In Progress
Status in “libsepol” source package in Utopic:
  Fix Released
Status in “libsepol” package in Debian:
  Fix Released

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

  
  accepted fix in debian packaging is to drop the postinst all together, since 
none of the libsepol symbols are used by neither upstart or systemd.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-08-31 Thread Laurent Bigonville
I've just dropped the postinst script that reload the init during the
upgrade of libsepol.

It was also causing issues with systemd actually. And anyway nor upstart
nor systemd was using any of it's symbols directly (libsepol is
statically linked in libselinux)

So this should be fixed in 2.3-2

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in “libsepol” package in Ubuntu:
  Confirmed
Status in “libsepol” source package in Trusty:
  Confirmed
Status in “libsepol” source package in Utopic:
  Confirmed

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-08-31 Thread Dimitri John Ledkov
** Changed in: libsepol (Ubuntu Trusty)
 Assignee: (unassigned) = Dimitri John Ledkov (xnox)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in “libsepol” package in Ubuntu:
  Confirmed
Status in “libsepol” source package in Trusty:
  Confirmed
Status in “libsepol” source package in Utopic:
  Confirmed

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1331555] Re: Trusty's libsepol1 causes issues with Precise's Upstart during dist-upgrade

2014-07-28 Thread Dimitri John Ledkov
** Also affects: libsepol (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Also affects: libsepol (Ubuntu Utopic)
   Importance: Undecided
   Status: Confirmed

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

** Changed in: libsepol (Ubuntu Utopic)
   Importance: Undecided = High

** Changed in: libsepol (Ubuntu Trusty)
   Importance: Undecided = High

** Changed in: libsepol (Ubuntu Trusty)
Milestone: None = ubuntu-14.04.2

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libsepol in Ubuntu.
https://bugs.launchpad.net/bugs/1331555

Title:
  Trusty's libsepol1 causes issues with Precise's Upstart during dist-
  upgrade

Status in “libsepol” package in Ubuntu:
  Confirmed
Status in “libsepol” source package in Trusty:
  Confirmed
Status in “libsepol” source package in Utopic:
  Confirmed

Bug description:
  Trusty's libsepol1 (2.2-1) has no Upstart version check for the
  'telinit u' call. During the dist-upgrade from Precise to Trusty this
  causes Upstart to loose its state. Because of this Upstart no longer
  knows which PIDs running services have and thus all service reloads
  fail.

  This bug is similarly to bug http://pad.lv/1313712 and the same fix
  applies.

  Faulty code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   telinit u 2/dev/null || true ; sleep 1
  fi

  Correct code:
  if [ $1 = configure ]; then
   # Restart init. If it fails, there is nothing we can do, so
   # just ignore the error (NOTE: Borrowed from libc6.postinst)
   if dpkg --compare-versions $UPSTART_VERSION_RUNNING ge 1.6.1; then
    telinit u 2/dev/null || true ; sleep 1
   fi
  fi

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp