Sponsored Content
Operating Systems Linux Difference in binary file sizes after deploying package via yum/rpm Post 302716401 by fpmurphy on Tuesday 16th of October 2012 09:57:27 AM
Old 10-16-2012
is the smaller binary a stripped binary?
 

10 More Discussions You Might Find Interesting

1. Linux

Converting source rpm to binary rpm

Hi, I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm. so I tried this rpm --rebuild somethin.src.rpm But I am gettin '--rebuild:Invalid option' as output Is there another way to rebuild source rpm.? Thanks in... (2 Replies)
Discussion started by: eamani_sun
2 Replies

2. Linux

how to restore original package after uninstalling the upgraded package using rpm

have following package installed rpm -qa |grep ADMIN It will give the following package installed: ADMIN-4.0.0.1 Now I will upgrade the ADMIN package using the following command. rpm --upgrade ADMIN-4.1.0.1 It will upgrade the ADMIN packagge to ADMIN-4.1.0.1 Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies

3. Red Hat

Remote installation of rpm package (Using YUM)

Hi, I have configured YUM repository on a server and we have 10 linux machine (clients). Is there any way we can install a package on all the 10 machines from YUM repository server? Please help me. (7 Replies)
Discussion started by: uday123
7 Replies

4. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

5. Red Hat

Creating rpm package file

Hi, I have a binary file ans some scripts which copy the binary file to a location and create some files and then add a entry to cron . I want to create a rpm package file for all these.So that if a user run: rpm -i my.rpm the binary is copied and scripts are run. Can anyone help me in... (1 Reply)
Discussion started by: kailash19
1 Replies

6. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

7. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

8. UNIX for Advanced & Expert Users

How to install .rpm file from a directory using yum?

Hello Everybody, I am having a cluster which is not connected to internet. I want to check its performance do I downloaded required packages from the internet and copied them in a particular folder. As per the instructions given at http:... (6 Replies)
Discussion started by: albertspade
6 Replies

9. Red Hat

Difference in file sizes being copied by scp. HELP!

Hello All, I am transfering a gzipped file from LINUX to LINUX using scp -C comand. It is a nightly job, called by crontab. After copy finishes, the file sizes are different between source and destination. Say .gz file is 14782805941 bytes on source and 13496172544 bytes on destination. When I... (20 Replies)
Discussion started by: NotALinuxGirl
20 Replies

10. Red Hat

Difference in conflict resolving between yum and rpm installs

Hi Guys, I am trying to test installation of a local rpm to my RHEL5 server. I am expecting it to fail as a previous version of the same package name exists. On using rpm -i this behaves as expected but yum install does not pick up the conflict. Here is the element of my SPEC file with the... (5 Replies)
Discussion started by: gazza-o
5 Replies
sepol_genusers(3)				     SE Linux binary policy API documentation					 sepol_genusers(3)

NAME
sepol_genusers - Generate a new binary policy image with a customized user configuration SYNOPSIS
#include <sepol/sepol.h> int sepol_genusers(void *data, size_t len, const char *usersdir, void *newdata, size_t *newlen); void sepol_set_delusers(int on); DESCRIPTION
sepol_genusers generates a new binary policy image from an existing binary policy image stored in the memory region described by the start- ing address data and the length len and a pair of user configuration files named system.users and local.users from the directory specified by usersdir. The resulting binary policy is placed into dynamically allocated memory and the variables newdata and newlen are set to refer to the new binary image's starting address and length. The original binary policy image is not modified. By default, sepol_genusers will preserve user entries that are defined in the original binary policy image but not defined in the user con- figuration files. If such user entries should instead by omitted entirely from the new binary policy image, then the sepol_set_delusers function may be called with on set to 1 prior to calling sepol_genusers in order to enable deletion of such users. RETURN VALUE
Returns 0 on success or -1 otherwise, with errno set appropriately. An errno of ENOENT indicates that one or both of the user configura- tion files did not exist. An errno of EINVAL indicates that either the original binary policy image or the generated one were invalid. An errno of ENOMEM indicates that insufficient memory was available to process the original binary policy image or to generate the new policy image. Invalid entries in the user configuration files are skipped with a warning. sds@tycho.nsa.gov 15 March 2005 sepol_genusers(3)
All times are GMT -4. The time now is 01:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy