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

[LDM #SWB-825395]: LDM question: sticky bit



James,

> We are running the LDM in non-traditional ways here. Let me cover the salient
> points:
> 
> First, our old version was 6.6.5 but my question arose as I separately tested 
> the
> new version 6.13.6.
> 
> Second, we run different LDMs on different ports here. For example, the two I 
> am
> testing are running on ports 3880 & 3883.
> 
> Third, the LDMs are run by scripts in a real-time system. Thus, we run ldmd
> directly.

The ldmadmin(1) script is responsible for initial creation of the LDM log file 
-- so if its not being used and that's not done, then the log file will be 
owned by root if logging is through the system logging daemon. If that's the 
case, then I suggest modifying your scripts so that they touch(1) the log file 
before executing the LDM.

> Fourth, we set up log files either by adding '-l logfile' to the ldmd 
> execution
> line or simply leaving '-l' off completely. This depends upon the context. I 
> have
> tried testing it both ways and we end up with root-owned log files each way. 
> (In
> the first case, the log file is under our control and in the second, syslog
> manages it.)
> 
> Finally, our Administrators installed the LDM from a homemade RPM (they prefer
> RPMs for third-party software). So ldmd was installed as follows:
> 
> address@hidden ~]$ ls -l /opt/ldm/bin/ldmd
> -rwsr-xr-x. 1 root root 56976 Sep 19 15:05 /opt/ldm/bin/ldmd
> 
> Perhaps we're getting into trouble due to the non-standard installation?

Quite likely.

> One of
> our Administrators reported finding evidence that the LDM was once available 
> as an
> RPM, but could not find a recent one. So he made his own somehow--apparently, 
> he
> found everything that was required in the download package.

Yeah. That's a perennial problem. RPM-s are good for Red Hat based systems, but 
not for all others; hence the lack of support for binary installations.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: SWB-825395
Department: Support LDM
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.



NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.