Hi.

Some quick notes.

1. Using /tmp under Solaris for tempfiles can be problematic. I recommend
   to override this in /opkg/etc/rc.conf. This may be good for the wiki,
   i would prefer a README.openpkg in $prefix/share/pkg/doc for such things,
   though. Also for the hints/recommendations that are displayed after
   building/installing some commands (the text boxes after installing e.g.
   openpkg or mysql etc., you know ?). I prefer to have such things
   "local".

2. "updatdb" in the commandline works, "openpkg rc findutils daily" hangs,
   the nightly cron job generates an empty database.
   This is caused by the options "--localuser/--netuser". When they are
   used, "updatedb" runs the command "su user -s $SHELL -c ...". Under
   Solaris, the su-command does not know an "-s"-option. But instead to
   complain, it just fires up the command "$SHELL". This hangs, when called
   with stdin from a terminal and terminates immediately when there is no
   valid stdin (or is it /dev/null in cron jobs ?).
   I do not use those options in the commandline, so a "plain" updatedb from
   the commandline just works.
   So, because the jobs are started in the root crontab, and the default
   user for the mentioned options is root, i just also override
   findutils_localuser and findutils_netuser in rc.conf with an empty string.
   But there should be a better solution. Which is hopefully _not_ to
   install the GNU su :)


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
  >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to