You build as a non-root user so that you don't accidentally overwrite the real files in the real locations on your system! If configured correctly rpmbuild builds the files in locations under ... [by TrevorH]
I'm trying to build my own rpm package and have a couple of doubts.
First of all, in several places I've red that one shouldn't build rpms as root. Why is that? During the building process, rpmbuild has to go through the install stage where it installs files to the system. As far as I understand I can't do that if I'm not root. rpmbuild prrocess finishes with error.
I am trying to compare two files (separted by a pipe) using 2 fields (field 1,3 from fileA and 1,2 from fileB) if the two files match i want the whole record of fileA adding the extra fields left from fileB.
Hello - This is making me crazy. I am trying to teach myself the apparent black art of building RPM files. I've been over and over and over the examples describing the sample eject package and I've followed the detailed steps to the best of my ability, but I am having trouble getting past one obstacle.
I have not attempted a project on this scale until now. I have a number of clients/locations each has two linux computers.
Client A has 4 locations Mom and Pop stores
Client B has 200 locations
Client C has 200 locations
Client D has 300 locations
Each of them is responsible to local backups(yea right) of all machines(local) to be stored externally.
I have a service which insists on keeping it's log files in terrible locations. After all efforts to change where it keeps them failed, my next idea was to create hardlinks to those files somewhere cleaner. This led me to a concern:
If I configure logrotate to manage these log files, will it work as intended (rotate logs, keep my links working)?