[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Package File Question



Brian,

> I made a small rpm that I want to turn into a Package File.  It is Cistron
> RADIUS.
That's ok.

> I have NO problems with the RPM installation, but when I go to run the
> upgrade_me script, I need to run a file as root.
> the file is: /etc/rc.d/init.d/radius start.
Every pkg installation runs the upgrade_me script as root. If you want to
try it on the commandline, package your pkg and run
/usr/local/sbin/cobalt_upgrade PkgName.pkg (be root first)

> I tried to run it as admin.
You should not.

>  I could change all of the executable to be
> world executable, but that is a stupid idea, considering it is a service.
Exactly.

> It also creates a lock file that I is in a directory that is only
writeable
> by root.
Like it should.

> I tried to change the sticky bit (chmod 4750 radius), but it (radiusd
start
> script) does NOT want to run as root.
Well, it does if you install the pkg through the UI....

>  Anyone have any suggestions?
Hope this helped...

With regards,

Taco Scargo
Product Manager, EMEA

Sun Microsystems
Sun Cobalt Server Appliances