Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 13:14
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Something about rc.update
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
ozboomer


Joined: 04 May 2005
Posts: 93
Location: Melbourne, Australia

PostPosted: Tue 04 Oct 2005, 09:22    Post subject:  Something about rc.update  

Well, it's that lil' bugbear file again...

When I startup Puppy, rc.update executes a few lines of code, viz:

Code:
  #must keep rc.packages pristine...
  cp -f $SOURCEROOT/.etc/rc.d/rc.packages $DESTROOT/.etc/rc.d/rc.packages
  #rc.sysinit always pristine, but overwrite this anyway...
  cp -f $SOURCEROOT/.etc/rc.d/rc.sysinit $DESTROOT/.etc/rc.d/rc.sysinit
  cp -f $SOURCEROOT/.etc/rc.d/rc.sysinit-cd $DESTROOT/.etc/rc.d/rc.sysinit-cd
  cp -f $SOURCEROOT/.etc/rc.d/rc.sysinit-hd $DESTROOT/.etc/rc.d/rc.sysinit-hd

  [...]

  # always update...
  rm -rf $DESTROOT/puppy-reference
  cp -a $SOURCEROOT/puppy-reference $DESTROOT/

...but there's something funny going on.

After I did the upgrade to 1.0.5, one o fthe first things I did was to update the timezone and check the date/time. My current /etc/TZ file contains the string 'PUP-10' (as I'm in eastern Australia). I couldn't find any further reference to time zone information in the /etc/rc.d files.

...but have a look at the timestamps on these files for a boot that took place at 10:16pm local time (see file 1016.jpg)... ...and another boot at 10:19pm local time (see file 1019.jpg)

I only found out about this as one of my scripts that extracts data from a backup reported some strange messages. For example, a backup that was done at 10:33pm local time has some dodgy timestamps:

Code:
Re-build /mnt/home/pupbac_105_10042233.tgz into /mnt/home/pupbld_105_10042233 ...
tar: ./.etc/modules.conf: time stamp 2005-10-05 08:18:30 is 35093 s in the future
tar: ./.etc/ramdiskfssize: time stamp 2005-10-05 08:18:30 is 35093 s in the future
tar: ./.etc/ramdisksize: time stamp 2005-10-05 08:18:30 is 35093 s in the future
tar: ./.etc/rc.d/rc.sysinit: time stamp 2005-10-05 08:18:30 is 35093 s in the future
tar: ./.etc/rc.d/rc.modules: time stamp 2005-10-05 08:18:30 is 35093 s in the future
tar: ./.etc/rc.d/rc.packages: time stamp 2005-10-05 08:18:30 is 35093 s in the future
tar: ./.etc/rc.d/rc.reboot: time stamp 2005-10-05 08:18:30 is 35093 s in the future

...and the timestamps are, indeed a bit silly (capture done at 10:40pm local time - see file 1040.jpg)

Just reporting the problems...
1016.jpg
 Description   The files at 10:16pm
 Filesize   64.7 KB
 Viewed   404 Time(s)

1016.jpg

1019.jpg
 Description   The files at 10:19pm
 Filesize   67.44 KB
 Viewed   403 Time(s)

1019.jpg

1040.jpg
 Description   The files at 10:40pm
 Filesize   94.53 KB
 Viewed   407 Time(s)

1040.jpg

Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Tue 04 Oct 2005, 09:33    Post subject:  

Okay, I haven't tried to strain my brain by looking to closely
at the images, but a quick question.
You should have /etc/localtime pointing to /usr/share/zoneinfo/GMT-10.
Back to top
View user's profile Send private message Visit poster's website 
ozboomer


Joined: 04 May 2005
Posts: 93
Location: Melbourne, Australia

PostPosted: Tue 04 Oct 2005, 09:55    Post subject:  

BarryK wrote:
You should have /etc/localtime pointing to /usr/share/zoneinfo/GMT-10.

Yup, tha's where the file currently points.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0548s ][ Queries: 12 (0.0106s) ][ GZIP on ]