Hi, I'm new to the list and to opensolaris ips pkg creation and have a couple of questions about setting filesystem permissions using the IPS manifest. I'm trying to create an IPS package of tripwire on opensolaris 2009.06 using this procedure:

http://opensolaris.org/os/community/sw-porters/contributing/indiana-ips/

Everything in that process worked for me, I've been able to compile the software, create a working manifest, send it to my pkg.depotd service, and even install the pkg on a different opensolaris client on my network. That said, I still have a question about the dir section in the manifest. Do I need to specify all parent directories when creating a manifest, or just the ones that the software will need to use?

For example, since I have /etc/tripwire, do I need

dir mode=0755 owner=root group=sys path=/etc
dir mode=0750 owner=root group=sys path=/etc/tripwire

or will a single line like this be fine?

dir mode=0750 owner=root group=sys path=/etc/tripwire

Here's the manifest that I created for this pkg, as you can see there are other places like /var/lib/tripwire/report that would be affected by this.

Any help is greatly appreciated.

Thanks,
Tom

---
set name=pkg.name value="tripwire"
set name=pkg.description value="Tripwire Intrusion Detection System"
set name=pkg.detailed_url value=http://www.tripwire.org
#
# directories
#
dir mode=0750 owner=root group=sys path=/etc/tripwire
dir mode=0755 owner=root group=root path=/var/lib/tripwire/report
dir mode=0755 owner=root group=bin path=/usr/share/doc/tripwire-2.4.1.2
#
# files
#
file /home/build/tmp/doc/tripwire/COPYING mode=0444 owner=root group=bin path=/usr/share/doc/tripwire-2.4.1.2/COPYING file /home/build/tmp/doc/tripwire/TRADEMARK mode=0444 owner=root group=bin path=/usr/share/doc/tripwire-2.4.1.2/TRADEMARK file /home/build/tmp/doc/tripwire/policyguide.txt mode=0444 owner=root group=sys path=/usr/share/doc/tripwire-2.4.1.2/policyguide.txt file /home/build/tmp/sbin/siggen mode=0555 owner=root group=bin path=/usr/sbin/siggen file /home/build/tmp/sbin/tripwire mode=0555 owner=root group=bin path=/usr/sbin/tripwire file /home/build/tmp/sbin/twadmin mode=0555 owner=root group=bin path=/usr/sbin/twadmin file /home/build/tmp/sbin/twprint mode=0555 owner=root group=bin path=/usr/sbin/twprint file /home/build/tmp/share/man/man4/twconfig.4 mode=0444 owner=root group=bin path=/usr/share/man/man4/twconfig.4 file /home/build/tmp/share/man/man4/twpolicy.4 mode=0444 owner=root group=bin path=/usr/share/man/man4/twpolicy.4 file /home/build/tmp/share/man/man5/twfiles.5 mode=0444 owner=root group=bin path=/usr/share/man/man5/twfiles.5 file /home/build/tmp/share/man/man8/siggen.8 mode=0444 owner=root group=bin path=/usr/share/man/man8/siggen.8 file /home/build/tmp/share/man/man8/tripwire.8 mode=0444 owner=root group=bin path=/usr/share/man/man8/tripwire.8 file /home/build/tmp/share/man/man8/twadmin.8 mode=0444 owner=root group=bin path=//usr/share/man/man8/twadmin.8 file /home/build/tmp/share/man/man8/twintro.8 mode=0444 owner=root group=bin path=/usr/share/man/man8/twintro.8 file /home/build/tmp/share/man/man8/twprint.8 mode=0444 owner=root group=bin path=/usr/share/man/man8/twprint.8
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to