From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: ALT Devel discussion list Subject: Re: [devel] /etc/timezone Organization: Tyumen's University, Institute of Distance Education References: <20050923112012.GB29296@basalt.office.altlinux.org> <20050926103358.GB27562@basalt.office.altlinux.org> From: "Vladimir V. Kamarzin" Date: Tue, 27 Sep 2005 11:38:35 +0600 In-Reply-To: <20050926103358.GB27562@basalt.office.altlinux.org> (Dmitry V. Levin's message of "Mon, 26 Sep 2005 14:33:58 +0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 05:38:37 -0000 Archived-At: List-Archive: List-Post: >>>>> On 26 Sep 2005 at 16:33 "DVL" == Dmitry V Levin writes: >> root@vvk ~ # perl -MDate::Manip -le 'print ParseDate `date --date "1 >> hour ago" "+%Y-%m-%d %H:00"`' ERROR: Date::Manip unable to determine >> TimeZone. DVL> Попробуйте установить пакет glibc-timezones. Установлен... DVL> $ LANG=C strace -e trace=file date 2>&1 >/dev/null |fgrep '"/etc/' DVL> access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or DVL> directory) open("/etc/ld.so.cache", O_RDONLY) = 3 DVL> open("/etc/localtime", O_RDONLY) = 3 stat64("/etc/localtime", DVL> {st_mode=S_IFREG|0644, st_size=815, ...}) = 0 stat64("/etc/localtime", DVL> {st_mode=S_IFREG|0644, st_size=815, ...}) = 0 DVL> Как видите, date ничего подобного не использует. Наверное, это DVL> какая-то отсебятина модуля Date::Manip. Ну, собственно да. Date::Manip лазит в /etc/timezone... Меня смутило то, что на соседнем тазике с debian этот файл есть, а у нас нет... -- WBR, Vladimir V. Kamarzin.