| Summary: | sys-libs/timezone-data-2008c: /etc/conf.d/clock is missing | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Martin Mokrejš
2008-06-02 14:16:12 UTC
I have baselayout-2 /openrc and also have problems with the timezone correctly being set for for non-root users. It seems they are just using UTC(which my hardware clock is set to) And I think I just got the problem today after updating I would say my HW clock is local because I have MS windows dual-boot machine, but maybe my setup is screwed up at the moment. :( Basically, I had a look into my history(1) when did I remove /etc/conf.d/clock but couldn't find a hint. I think it got removed automagically in the past. I just have /etc/conf.d/hwclock. The soft-link for localtimezone it existing and for more info I need feedback from ebuild maintainers. I suspect something is wrong on their side but you never know. ;-) if you're running openrc, you should have /etc/timezone. if you dont, you need to fix that. ive updated the warning accordingly in the timezone-data ebuild. http://sources.gentoo.org/sys-libs/timezone-data/timezone-data-2008c.ebuild?r1=1.1&r2=1.2 # equery files =sys-apps/openrc-0.2.4-r1 | grep timezone # After upgrading to 0.2.5 I still do not have it: [cut] >>> Original instance of package unmerged safely. * You should now update all files in /etc, using etc-update * or equivalent before restarting any services or this host. * * Please read the migration guide available at: * http://www.gentoo.org/doc/en/openrc-migration.xml >>> Regenerating /etc/ld.so.cache... >>> sys-apps/openrc-0.2.5 merged. >>> Recording sys-apps/openrc in "world" favorites file... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * Messages for package sys-apps/openrc-0.2.5: * You should now update all files in /etc, using etc-update * or equivalent before restarting any services or this host. * * Please read the migration guide available at: * http://www.gentoo.org/doc/en/openrc-migration.xml * GNU info directory index is up-to-date. * IMPORTANT: 2 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. # etc-update Scanning Configuration files... The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. 1) /etc/init.d/bootmisc (1) 2) /etc/init.d/fsck (1) Please select a file to edit by entering the corresponding number. (don't use -3, -5, -7 or -9 if you're unsure what to do) (-1 to exit) (-3 to auto merge all remaining files) (-5 to auto-merge AND not use 'mv -i') (-7 to discard all updates) (-9 to discard all updates AND not use 'rm -i'): -5 Replacing /etc/init.d/bootmisc with /etc/init.d/._cfg0000_bootmisc Replacing /etc/init.d/fsck with /etc/init.d/._cfg0000_fsck Exiting: Nothing left to do; exiting. :) # # equery files =sys-apps/openrc-0.2.5 | grep timezone # I got something mixed up during my transition in the past: # ls -la /etc/*time* -rw-r--r-- 1 root root 47 Apr 17 16:35 /etc/adjtime -rw-r--r-- 1 root root 2074 Mar 27 18:08 /etc/localtime # ls -la /etc/conf.d/*clock* -rw-r--r-- 1 root root 605 Apr 18 00:28 /etc/conf.d/hwclock # It would be nice if the openrc would run some extra check and warn about missing files and files to be deleted since baselayout-1. # ls -la /etc/timezone ls: cannot access /etc/timezone: No such file or directory # emerge -pv baselayout WARNING: repository at /usr/local/portage is missing a repo_name entry These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/baselayout-2.0.0 USE="-build" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB # Seems I can love without it. Re-emergeing baselayout doesn't complain and nobody else does. So what? ;) (In reply to comment #5) > Seems I can love without it. Re-emergeing baselayout doesn't complain and ---------------^ i ;-) |