04-02-2010
VxVM vxmend ERROR V-5-1-975 Subdisk myapp-dg03-01 in plex myapp-vxvol-01 is locked by another utility
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can anybody provide me Pointers to Practice tests or any Material to prepare for Brainbench certification in Unix Shell Scripting? Also how good is this Certification for UNIX programmers. Is it worth it? I'm planning to take this certification in 2 weeks. Kindly let me know all the pros... (0 Replies)
Discussion started by: pavan_emani
0 Replies
2. Programming
Dear Gurus,
I have encountered a C question, which I thought of sharing with you.
This question was asked by one of my technical training staff...Though my training was over I'm still thinking of a solution for this..
Write a C program to do a small task(lets say just simply printing a "Hello... (34 Replies)
Discussion started by: vrk1219
34 Replies
3. Programming
Hi Gurus,
To the Brain Teaser, if I add another condition, say the executable should not be altered, how the program should be altered? (no perl please, purely C). I forgot to mention this condition my staff had mentioned. ( forgot then and got now :D )
The program executed the first time... (4 Replies)
Discussion started by: vrk1219
4 Replies
4. Ubuntu
Hello!
I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies
5. What is on Your Mind?
A global group of scientists are spending the next ten years and a billion dollars to try and develop a computer simulation of the brain:
https://www.humanbrainproject.eu/
I always found it fascinating that the brain can understand itself. This almost sounds like in a few years the computer... (0 Replies)
Discussion started by: figaro
0 Replies
LEARN ABOUT DEBIAN
policygentool
POLICYGENTOOL(1) Debian GNU/Linux manual POLICYGENTOOL(1)
NAME
policygentool - Interactive SELinux policy generation tool
SYNOPSIS
policygentool [options] <Module Name> <full path for application binary file>
DESCRIPTION
This tool generate three files for policy development, A Type Enforcement (te) file, a File Context (fc), and a Interface File(if). Most
of the policy rules will be written in the te file. Use the File Context file to associate file paths with security context. Use the
interface rules to allow other protected domains to interact with the newly defined domains.
The tool prompts for locations of pidfiles, any logfiles, files in /var/lib, and any init scripts, and whether any network access is desir-
able for the application. The tool then generates the appropriate policy rules for the module. After these files have been generated, the
make files for the appropriate SELinux policy, namely, /usr/share/selinux/refpolicy-targeted/include/Makefile or /usr/share/selinux/refpol-
icy-strict/include/Makefile can be used to compile the SELinux policy policy package. The resulting policy package can be loaded using
semodule.
# /usr/bin/policygentool myapp /usr/bin/myapp
# cat >Makefile
> HEADERDIR:=/usr/share/selinux/refpolicy-targeted/include
> include $(HEADERDIR)/Makefile
> ^D
# make
# semodule -l myapp.pp
# restorecon -R -v /usr/bin/myapp "all files defined in myapp.fc"
# setenforce 0
# /etc/init.d/myapp start
# audit2allow -R -i /var/log/audit/audit.log
OPTIONS
-h, --help
Print a short usage message.
FILES
myapp.te, myapp.if, myapp.fc.
SEE ALSO
semodule(8), check_policy(8), load_policy(8).
BUGS
None known.
AUTHOR
This manual page was written by Manoj Srivastava <srivasta@debian.org>, for the Debian GNU/Linux system.
Debian Feb 27 2007 POLICYGENTOOL(1)