I'm new to this forum and got a question which may be quite uncommon. I created a custom IPS package (using this How to) with some software I have to install frequently to different Solaris 11 zones (MongoDB to be precise).
This software will be installed under "/opt/mongodb" and has to be run by a user called "mongo". So I created a manifest like below and as I wanted to install the package the command told me that "mongo" is an unknown user.
As a little background. My zones are using LDAP to authenticate users and function users (like "mongo"). So "mongo" is not present in the "/etc/passwd" file. I don't know why but the "pkg install"-command wants to have the user to be present in "/etc/passwd" and fails because of this LDAP thing.
I'm able to create directories and files and "chown" them to "mongo" but apparently unable to install packages which refer to the user directly.
Manifest (excerpt)
Thanks and regards,
Daniel Heitepriem
Last edited by dheitepriem; 05-27-2016 at 05:29 AM..
Reason: Added link to How to
I created an install script which
1) adds the corresponding user temporarely
2) installs the package from the local IPS
3) deletes the user it created earlier
4) "chowns" the files/directories to the final user (user information are now retrieved via LDAP)
5) uninstalls itself
Hi,
I am creating "LSOF" solaris package from solaris "source" files. I have compiled the source file and with that i created prototype file also. Then using pkgmk command i can make the package .
In the package i am having (pkginfo pkgmap reloc) two file and one directory respectively
But... (3 Replies)
Hi all,
we are starting to build some basic infrastructure for using solaris 11.
I have built an IPS of solaris packages from the DVD images.
what I want to do next is create a repository of custom packages.
so in that case I want a publisher of "my-company-name" and not solaris.
can... (1 Reply)
Hey everyone,
I'm using a SPARC based Solaris 10 5/09 machine and want to install PHP support to it. I already have mysql and apache( came with OS, just started the proccess) installed, so this is the last thing before I can get to learning development :) However, there's something I'm not sure... (1 Reply)
Hi there,
I've started playing around with Linux a few days back, as part of my intenship. I was wondering if there is anyway I can install custom packages (non RPM packages...say like Oracle) as a part of Kickstart. My machines are running RHEL 4.
Thanks a lot :) (1 Reply)
I have created a .bff package for an app to tbe installed on AIX servers across regions. I am pretty new to the AIX mode of packaging using mkinstallp but I have been able to get the same done. I installed the same on the server in which i created the package and the application was deployed... (9 Replies)
Hi,
I am doing some testing with creation of depots on HP-UX systems (11.11).
Want to display some echo statements based on the processing during checkinstall, pre & postinstall scripts on the terminal.
The echo statements are getting directed to /var/adm/sw/swagent.log
I want to display... (7 Replies)