*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: FreeBSD,Debian, RH, ok well most of em...
Posts: 238
Rep:
Linux emulation and FreeBSD file ownership
Here is the deal....
I have a program in RPM format only that I would like to see if I can get it to run on FreeBSD using linux emulation. The installation "seems" to work for the most part except for the default user the program tries to create and install with.
Think of it as though you were installing Apache and it tried to create a user and group which were required by the httpd process to run and install properly. In linux emulation mode this fails because the user and group can not be created via the standard linux commands the RPM is trying to use. Everything else seems to install ok except for this user and group. I tried "pre-creating" the user and group thinking if it did a check first it might be ok. That didn't work.
And no, I can not get a tarball and no this is not nor will ever be ported to BSD. It is Red Hat RPM format only.
Do you have Midnight Commander available? If so you can go into the rpm with mc and edit the script so it uses the proper commands to create the user. Or like you said create them yourself and then change the script so it uses the existing user.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.