09-10-2013
Thanks again Scott. Was the firewall.
selinux was set at enforcing.
Much appreciated.
10 More Discussions You Might Find Interesting
1. SuSE
I've made a few attempts at an OpenSuse10.1 clean install using a boot.iso and network repository install dir.
I've succesfully done a few network installs before and know what I'm doing with the procedure, however I seem to be getting problems with the connection to the remote repository. It's... (0 Replies)
Discussion started by: Mark Ward
0 Replies
2. Red Hat
Hi Friends,
I have succesfully configured a local yum repository using ios image.
Please let me know how i can synchronize the local repository with RHN.
Is it possible, so that i can update the local repository with latest updates.
Regards,
Arumon (1 Reply)
Discussion started by: arumon
1 Replies
3. Red Hat
Hi
I following the tutorial to install boost 1.4.1 in centos 5.6 32 bit
But without success maybe it doesn't find it in my repository in yum , but also when I compile the lib
It doesn't find the libs .
The tutorial link:
Compiling gearman on CentOS 5.6 - gearman | Google Groups
the error... (1 Reply)
Discussion started by: umen
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
working on CentOS 5.7 64 bit. I need to install syslog-ng. First I downloaded syslog-ng RPM. When I install I get many dependencies error messages.
rpm -ivh syslog-ng-3.3.3-1.mga2.x86_64.rpm
warning: syslog-ng-3.3.3-1.mga2.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID... (2 Replies)
Discussion started by: samnyc
2 Replies
5. Red Hat
how to configure yum server to get rpms from any repository or redhat repo. (4 Replies)
Discussion started by: leganti
4 Replies
6. Red Hat
I have a query that does Redhat have the link to the yum repository on its FTP site. In my environment, I have the file rhel-debuginfo.repo which has -
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo.
I hope, my question is clear that is there a... (5 Replies)
Discussion started by: RHCE
5 Replies
7. What is on Your Mind?
Hey Guys,
This week I installed Solaris for the first time, (trying to fix my ZFS array with some movies on it) and I noticed that unlike Linux or FreeBSD, their package management application almost encourages installing whole categories of software at a time. Theirs even a keyboard shortcut for... (3 Replies)
Discussion started by: Danneskjold
3 Replies
8. Fedora
Hi,
while installing/updating package using yum I am getting (repomd.xml) error
# yum list
Loaded plugins: langpacks, presto, refresh-packagekit
http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: HTTP Error 404 -... (12 Replies)
Discussion started by: muzaffar.k
12 Replies
9. Linux
Hello,
I need to know regarding setting up of Local repositories so that I can update or install packages on other RHEL servers.
In our environment we have many servers with different RHEL versions.
Like RHEL 7.2, RHEL 7.3, RHEL 7.4, RHEL 7.5
Arch = x86_64
I have setup one Repo server;... (0 Replies)
Discussion started by: SunshineMLinux
0 Replies
10. UNIX for Beginners Questions & Answers
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
LEARN ABOUT DEBIAN
selinux_set_callback
selinux_set_callback(3) SELinux API documentation selinux_set_callback(3)
NAME
selinux_set_callback - userspace SELinux callback facilities.
SYNOPSIS
#include <selinux/selinux.h>
void selinux_set_callback(int type, union selinux_callback callback);
DESCRIPTION
selinux_set_callback sets the callback indicated by type to the value of callback, which should be passed as a function pointer cast to
type union selinux_callback.
All callback functions should return a negative value with errno set appropriately on error.
The available values for type are:
SELINUX_CB_LOG
int (*func_log) (int type, const char *fmt, ...);
This callback is used for logging and should process the printf(3) style fmt string and arguments as appropriate. The type argument
indicates the type of message and will be set to one of the following:
SELINUX_ERROR
SELINUX_WARNING
SELINUX_INFO
SELINUX_AVC
SELINUX_CB_AUDIT
int (*func_audit) (void *auditdata, security_class_t cls,
char *msgbuf, size_t msgbufsize);
This callback is used for supplemental auditing in AVC messages. The auditdata and cls arguments are the values passed to
avc_has_perm(3). A human-readable interpretation should be printed to msgbuf using no more than msgbufsize characters.
SELINUX_CB_VALIDATE
int (*func_validate) (security_context_t *ctx);
This callback is used for context validation. The callback may optionally modify the input context by setting the target of the ctx
pointer to a new context. In this case, the old value should be freed with freecon(3). The value of errno should be set to EINVAL
to indicate an invalid context.
SELINUX_CB_SETENFORCE
int (*func_setenforce) (int enforcing);
This callback is invoked when the system enforcing state changes. The enforcing argument indicates the new value and is set to 1
for enforcing mode, and 0 for permissive mode.
SELINUX_CB_POLICYLOAD
int (*func_policyload) (int seqno);
This callback is invoked when the system security policy is reloaded. The seqno argument is the current sequential number of the
policy generation in the system.
RETURN VALUE
None.
ERRORS
None.
AUTHOR
Eamon Walsh <ewalsh@tycho.nsa.gov>
SEE ALSO
selabel_open(3), avc_init(3), avc_netlink_open(3), selinux(8)
20 Jun 2007 selinux_set_callback(3)