- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: can we remove following HP-UX files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 04:28 AM
тАО05-08-2007 04:28 AM
Re: can we remove following HP-UX files
If you find some "strange files" it could be advicable to check out which software installation they came with.
If the files was installed with swinstall, you can use swlist to identify them.
example:
swlist -l file | grep /usr/lib/hpux32/libCsup.so
OS-Core.CORE2-SHLIBS: /usr/lib/hpux32/libCsup.so
OS-Core.CORE2-SHLIBS: /usr/lib/hpux32/libCsup.so.1
PHSS_35055.CORE2-SHLIBS: /usr/lib/hpux32/libCsup.so.1
Checked which packages the files came with...
find /usr/lib /usr/include -xdev -type l -user 103 -group 191 -print |\
while read FNAME;do
swlist -l file | grep $FNAME
done| cut -d: -f1 | sort -u &
OS-Core.CMDS2-AUX
OS-Core.CORE2-64SLIB
OS-Core.CORE2-SHLIBS
OS-Core.LINKER-PAOBJ
PHSS_34853.CORE2-64SLIB
PHSS_34853.CORE2-SHLIBS
PHSS_34859.CORE2-64SLIB
PHSS_34859.CORE2-SHLIBS
PHSS_34860.CORE2-64SLIB
PHSS_34860.CORE2-SHLIBS
PHSS_35055.CORE2-64SLIB
PHSS_35055.CORE2-SHLIBS
ProgSupport.CXX-INC
/Tor-Arne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 01:47 PM
тАО05-08-2007 01:47 PM
Re: can we remove following HP-UX files
>Should all files be owned by bin:bin?
Yes. The ownership should be set to bin:bin before we package it.
Thanks for the fileset list. Though I doubt they are in any patches. You need to anchor your grep: grep " $FNAME "
(space at beginning, tab at end.)
(Your script to find them is very slow and not using vector methods. You should find all of the files, then when you do swlist, you should grep -f the previous list.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 09:19 PM
тАО05-08-2007 09:19 PM
Re: can we remove following HP-UX files
You're right about the patches.
A file which already exist and have the wrong ownership will normally maintain the ownership when it is overwritten.
As such when a new version of /usr/lib/hpux32/libcl.so is copied into the system, and this file already existed - the ownership is maintained...
When I do the new search - and include the space and tab, the list of packages is thus reduced.
It does not change the ownership, only reports like shown below:
# /tmp/findit.sh
Reporting files with wrong ownership
and which install packages they came with
Packages:
OS-Core.CMDS2-AUX
OS-Core.CORE2-64SLIB
OS-Core.CORE2-SHLIBS
ProgSupport.CXX-INC
Files in /usr/lib /usr/include owned by uid=103, gid=191:
/usr/lib/hpux32/libcl.so
/usr/lib/hpux32/libm.so
....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2007 09:21 PM
тАО05-08-2007 09:21 PM
Re: can we remove following HP-UX files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2007 11:29 AM
тАО05-30-2007 11:29 AM
Re: can we remove following HP-UX files
- « Previous
-
- 1
- 2
- Next »