Dependency proken: ltsp-update-kernels needs restorecon from policycoreutils
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Low
|
Alkis Georgopoulos |
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/
ProcVersionSign
Uname: Linux 3.2.0-24-
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Wed May 2 12:36:05 2012
PackageArchitec
ProcEnviron:
LANGUAGE=
TERM=xterm
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: ltsp
UpgradeStatus: Upgraded to precise on 2012-04-30 (1 days ago)
That line was added in 2008-02-26 by a Fedora developer: bazaar. launchpad. net/~ltsp- upstream/ ltsp/ltsp- trunk/revision/ 573
http://
(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