[Bug 993179] Re: Dependency proken: ltsp-update-kernels needs restorecon from policycoreutils

Alkis Georgopoulos 993179 at bugs.launchpad.net
Wed May 2 11:13:54 UTC 2012


That line was added in 2008-02-26 by a Fedora developer:
http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/revision/573
(selinux isn't used by default in Ubuntu)

I've no idea about selinux, would it be OK to just check for restorecon
existence before running it?

if [ -f /selinux/enforce ] && [ -x /sbin/restorecon ]; then
    restorecon -R "$tftpdir" > /dev/null
fi

** Also affects: ltsp
   Importance: Undecided
       Status: New

** No longer affects: ltsp (Ubuntu)

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

Title:
  Dependency proken: ltsp-update-kernels needs restorecon from
  policycoreutils

Status in Linux Terminal Server Project:
  New

Bug description:
  The ltsp-update-kernels returns status 1 if /sbin/restorecon (package
  policycoreutils) doesn't exist. This causes ltsp-build-client to fail.

  Either ltsp-server should require policycoreutils, or ltsp-update-
  kernels should be fixed.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ltsp-server 5.3.7-0ubuntu2 [modified: usr/sbin/ltsp-update-kernels]
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
  Uname: Linux 3.2.0-24-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  Date: Wed May  2 12:36:05 2012
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=sv_SE.UTF-8
   TERM=xterm
   LANG=sv_SE.UTF-8
   SHELL=/bin/bash
  SourcePackage: ltsp
  UpgradeStatus: Upgraded to precise on 2012-04-30 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/993179/+subscriptions




More information about the foundations-bugs mailing list