--- On Mon, 2/25/13, James Relph <[email protected]> wrote:

> From: James Relph <[email protected]>
> Subject: [OpenIndiana-discuss] idmap timeout
> To: "Discussion list for OpenIndiana" <[email protected]>
> Date: Monday, February 25, 2013, 7:44 AM
> Hi all,
> 
> Another idmap issue!  Just trying a new VM for some
> troubleshooting and I can't seem to get the
> name_cache_timeout and id_cache_timeout settings to work on
> here.  I've run:
> 
> svccfg -s svc:/system/idmap setprop
> config/name_cache_timeout=count: 31536000
> svccfg -s svc:/system/idmap setprop
> config/id_cache_timeout=count: 31536000
> 
> but I'm still seeing UIDs changing every 10 minutes (cron
> job here running an id to a file every minute):
> 
> 13:05:00   uid=2147491845
> gid=2147483650(Domain [email protected])
> 13:06:00   uid=2147491845
> gid=2147483650(Domain [email protected])
> 13:07:00   uid=2147491845
> gid=2147483650(Domain [email protected])
> 13:08:00   uid=2147491845
> gid=2147483650(Domain [email protected])
> 13:09:00   uid=2147491845
> gid=2147483650(Domain [email protected])
> 13:10:00   uid=2147491845
> gid=2147483650(Domain [email protected])
> 13:11:00   uid=2147491846([email protected])
> gid=2147483650(Domain [email protected])
> 13:12:00   uid=2147491846([email protected])
> gid=2147483650(Domain [email protected])
> 13:13:00   uid=2147491846
> gid=2147483650(Domain [email protected])
> 13:14:00   uid=2147491846
> gid=2147483650(Domain [email protected])
> 13:15:00   uid=2147491846
> gid=2147483650(Domain [email protected])
> 13:16:00   uid=2147491846
> gid=2147483650(Domain [email protected])
> 13:17:00   uid=2147491846
> gid=2147483650(Domain [email protected])
> 
> Does anyone know if this is a bug, or expected
> behaviour?  Obviously doesn't affect CIFS at all, but
> I'm trying to do some troubleshooting against another
> service.  What also seems a bit weird is the output
> format of id changes when the id ticks over (adds the
> username into brackets)?
> 

What does

svccfg -s svc:/system/idmap listprop "config/*" 

show after making the settings?  Also, did you "svcadm restart idmap" after 
setting the timeouts?

What are you using to make the query in the cron job?  Checking idmap.db per 
the notes in feature #677 shows the expiration time being set properly in the 
database in oi_151a7.  

Have Fun!
Reg

_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to