freeipmi-devel
[Top][All Lists]
Advanced

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

Re: [Freeipmi-devel] one major bug, several minor issues


From: Albert Chu
Subject: Re: [Freeipmi-devel] one major bug, several minor issues
Date: Wed, 31 Mar 2004 17:05:40 -0800

> This has to be a *fixed path*. 

Hmmm.  The problem is that when you build an rpm, the rpm build
temporarily installs everything in some temporary directory like:

/var/tmp/libfreeipmi-0.0.0/var/lib/libfreeipmi

If the install of the ipckey is put into the real /var/lib/libfreeipmi
directory, it will be subsequently absent from the RPM.

Hmmmm.  I dunno.  I suppose the best thing to do would be to create an
autoconf option "--rpm-install" or something, and this is just a very
special case??

Al

--
Albert Chu
address@hidden
Lawrence Livermore National Laboratory

----- Original Message -----
From: Anand Babu <address@hidden>
Date: Wednesday, March 31, 2004 4:48 pm
Subject: Re: [Freeipmi-devel] one major bug, several minor issues

> ,----
> | Hey everyone,
> | 
> | 1) One major bug.  Files in:
> | 
> | /var/lock/*
> | 
> | are commonly removed on boot.  So /var/lock/libfreeipmi/ipckey is
> | commonly removed by many bootup scripts, including the default 
> redhat| one.  I am going to change to /var/lib/libfreeipmi/ipckey.  
> I think this
> | makes far more sense.
> `----
> Please go ahead and make that change. Even I didn't like /var/lock 
> path.FHS suggests only to keep only lock files there, while ipckey is
> handle.
> 
> ,----
> | 2) When I created the 
> | 
> | IPMI_DEFAULT_SDR_REPO_CACHE_FILENAME
> | 
> | macro.  I stupidly set the default path to
> | "/var/lib/fish/sdr-repo-cache".  It should instead by
> | /var/lib/libfreeipmi/sdr-repo-cache" ... 
> `----
> OK
> 
> ,----
> | 3) make install of /var/lock/libfreeipmi/ipckey (to be renamed 
> soon),| doesn't install correctly when bulding RPMs.  I think we 
> need to put
> | some prefix on the line:
> | 
> | Ipckeydir     = /var/lock/$(PACKAGE)
> | 
> | like
> | 
> | Ipckeydir     = ($FOO)/var/lock/$(PACKAGE)
> | 
> | I remember hitting this issue before, but I can't remember what the
> | variable prefix name is.  I'll figure it out.
> | 
> | After these changes, I'm going to tag as Alpha5-Qa1A.
> `----
> This has to be a *fixed path*. 
> 
> ftok uses inode of this file and 8 bits from PROJ_ID to make a unique
> (somewhat) handle for IPC. All apps using libfreeipmi should refer to
> same IPCKEY in order to use the mutex device.
> 
> /var/lib/libfreeipmi/ipckey sounds better.
> 
> -- 
> _.|_ 
> (_||_)
> Free as in Freedom <www.gnu.org>
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]