Found my answer!!

If you are using HP C compiler and have the proper release,
You need to add: -D_HPUX_API_LEVEL=20040821 to your compiler options.

Then compile and the long names work!

Louis Francoeur

From: Francoeur, Louis
Sent: Wednesday, March 09, 2011 1:38 PM
To: 'Help-cfengine@cfengine.org'
Subject: Hostname truncated to 8 char

Hi!

We just introduced some HPUX servers and the hostname is 10 char long.

Sendmail is ok but when sent from cfengine, it is truncated to 8 char.

I validated with the printout of sys.uqhost and it is truncated to 8.

Is there a setting in the source that I could change to more than 8?

Thanks
Louis Francoeur
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to