Bug 211904

Summary: bin/domainname - call setlocale so tool adheres to support localisation
Product: Base System Reporter: Sevan Janiyan <venture37>
Component: binAssignee: Sevan Janiyan <sevan>
Status: New ---    
Severity: Affects Some People CC: bdrewery
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
call setlocale() none

Description Sevan Janiyan 2016-08-16 13:47:41 UTC
Created attachment 173739 [details]
call setlocale()

setenv LC_ALL de_DE.ISO8859-1


With patch
% /usr/obj/usr/src/bin/domainname/domainname foo
domainname: setdomainname: Operation nicht erlaubt


Without patch
% domainname foo
domainname: setdomainname: Operation not permitted