Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How often do you sync?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
progo
n00b
n00b


Joined: 22 May 2006
Posts: 31

PostPosted: Wed Jul 05, 2006 11:45 am    Post subject: Reply with quote

I have eix-sync in my server's cron.daily.

On my lappy (which isn't up for 24/7 unlike the server) I sync whenever I'm going to do some updating or to install some big.
Back to top
View user's profile Send private message
eirkeim
n00b
n00b


Joined: 21 Apr 2005
Posts: 14

PostPosted: Wed Jul 05, 2006 1:34 pm    Post subject: Reply with quote

I sync my server about once a week, and will probably sync my laptop once every day (installing as I speak).
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Wed Jul 05, 2006 1:46 pm    Post subject: Reply with quote

about once a week during the academic year. During the summer, not even once.
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
Gidzz0r
n00b
n00b


Joined: 30 Jan 2005
Posts: 3
Location: Lycksele

PostPosted: Wed Jul 05, 2006 3:14 pm    Post subject: hmm.. Reply with quote

I sync every day! :oops:
_________________
enter http://wootgnu.org or http://gidzz0r.se for crap.. :)
Back to top
View user's profile Send private message
wizkid
n00b
n00b


Joined: 23 Sep 2004
Posts: 54

PostPosted: Wed Jul 05, 2006 7:10 pm    Post subject: Which Box? Reply with quote

I have 5 gentoo boxes, 5 vservers, and a baseline vserver. Which one?

I try to do updates on 2-3 boxes a week, or when an important security fix comes out. I try not to sync more then once a day, per box. But when someting don't emerge, well, so much for once a day. When an ebuild is bad, it's usually fixed in an hour or two, so re-syncing fixes it most the time.
_________________
Linux Rules --- NT (And XP) Drools
Back to top
View user's profile Send private message
garlik42
n00b
n00b


Joined: 17 Dec 2002
Posts: 57
Location: Connecticut USA by the water ...

PostPosted: Thu Jul 06, 2006 2:05 am    Post subject: Re: hmm.. Reply with quote

I have 4 gentoo boxes with different sync schedules,
2 Xboxes running gentoo (not gentoox) these guys don't get synced too often, maybe 3 or 4 times a year when I need a bunch of boxes
for something. Most of the time they are turned of.
1 Home pc 5 - 10 times a year, when I remember or need the box for something.
1 Work pc, done in cron.daily once a day, the sync and the update with logs mailed.

I have had no problems with any of the machines, with any of the sync schedules.
Back to top
View user's profile Send private message
gagern
n00b
n00b


Joined: 26 Nov 2003
Posts: 54

PostPosted: Thu Jul 06, 2006 9:01 am    Post subject: Reply with quote

I sync my desktop computer every day, or more accurately every night using a cron job that runs update-eix directly afterwards.

Main reason is that sync takes time, so I want to avoid syncing just before I look for some cutting edge package that might fix a bug I'm experiencing or some such. I want to know my package information is fairly up to date whenever I access it.

It is different with my notebook. I sync that usually before I run an update world, which is when I have it placed somwewhere with power and network connection and won't need it for some time, when this is a good way to keep it occupied. Might be twice a week, might be a month in between, very irregular.
Back to top
View user's profile Send private message
MxxCon
n00b
n00b


Joined: 01 Apr 2005
Posts: 31

PostPosted: Thu Jul 06, 2006 3:03 pm    Post subject: Reply with quote

every day first thing every morning i do 'esync -v'. it does 'emerge sync'(it should really be updated for --sync) and then 'eupdatedb' which at the end shows difference between current and previous sync. that way i can see what's U, N, MN, and I.
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1118
Location: Rep. of Ireland

PostPosted: Thu Jul 06, 2006 5:48 pm    Post subject: Reply with quote

I just do a manual sync (eix-sync :) on my server when I need to install something or bother to check for updates, i could just do a daily cron on eix-sync and mail the update listing to myself, but meh, it's not important enough, i run an rsync mirror and http-replicator on the server to propigate portage updates and distfiles to clients. That way I don't waste bandwidth (my own, and gentoo infra) syncing 4+ machines a day, my server is a little slower than gentoos, but it wont kill me.
Back to top
View user's profile Send private message
Babali
Apprentice
Apprentice


Joined: 01 Jan 2004
Posts: 211
Location: France, Paris

PostPosted: Thu Jul 06, 2006 10:21 pm    Post subject: Reply with quote

I --sync every 2 or 3 days
Back to top
View user's profile Send private message
thesnowman
Guru
Guru


Joined: 08 May 2003
Posts: 365
Location: Sydney, Australia

PostPosted: Thu Jul 06, 2006 10:59 pm    Post subject: Reply with quote

Code:
# crontab -l
# sync portage tree every day of the week
00      06      *       *       *       /usr/bin/emerge --sync 1>/root/synclog 2>&1


This is on my slooow PII server. I then sync my myth box and laptop from this one whenever I feel the need.
Back to top
View user's profile Send private message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Thu Jul 06, 2006 11:14 pm    Post subject: Reply with quote

I do my laptop and my gf's desktop every three months. I recently installed gentoo on my gf's laptop, and I'm going to help her update when the times come.

Bandwidth isn't free nor very fast here. I originally used to do it once a week, but I couldn't justify

1. Having to update large packages like openoffice for no real difference/advantage
2. Having to fix broken programs that I do use regularly for no advantage.
3. Having to update programs that I rarely use. Once a week.


I've been doing this for maybe 2 years. Have things changed? Do things just not up and break at random anymore?
Back to top
View user's profile Send private message
BillyBoy
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2003
Posts: 101
Location: USA

PostPosted: Thu Jul 06, 2006 11:29 pm    Post subject: Reply with quote

AidanJT wrote:
I just do a manual sync (eix-sync :) on my server when I need to install something or bother to check for updates, i could just do a daily cron on eix-sync and mail the update listing to myself, but meh, it's not important enough, i run an rsync mirror and http-replicator on the server to propigate portage updates and distfiles to clients. That way I don't waste bandwidth (my own, and gentoo infra) syncing 4+ machines a day, my server is a little slower than gentoos, but it wont kill me.

Same thing here. Every morning my server at work syncs with the Gentoo mirrors and then it's up to the clients on my LAN to sync against that server as they see fit. I have several Gentoo servers and workstations on the LAN, so it's a service I provide internally. If clients need a fresh sync, they can do it manually to the Gentoo servers, but all our "typically deployed" boxes point their rsync, http_proxy and distcc to my internal server. That way, I can provide Gentoo services for my whole company while taking the load off the real Gentoo mirrors.

From home, I port forward to this box, too, for the same services. My server at home then provides the same set of rsync, http_proxy and distcc, so the other machines at home can get the same benefits. I only update my home systems once a week at most, except if there's a security hole that troubles me, then I sync and update that night.
Back to top
View user's profile Send private message
stobbsm
Guru
Guru


Joined: 23 May 2004
Posts: 452

PostPosted: Fri Jul 07, 2006 12:00 am    Post subject: Reply with quote

Sync my desktop once a week, and sync my laptop off my desktop.

Gotta love local mirror (with everything I use on it).
_________________
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
Back to top
View user's profile Send private message
bunkacid
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2005
Posts: 111
Location: Laguna Hills, CA

PostPosted: Fri Jul 07, 2006 12:14 am    Post subject: easy updating Reply with quote

I on average will sync once a week, usualy on a friday just to keep up to date. Even if you have only two Gentoo boxes, you should make one of them a http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror for the other machine. It will make things quicker.

If I have issues with some software, I'll sync on a more frequent basis. I try not to sync more than once a day. Although there has been a couple times, when I have sync'd and then later in the day noticed a package that I wanted has been updated, or added to the tree.

Instead of typing out a big long emerge command, I setup an alias in my .bash_aliases
Code:

alias qwerty='emerge --deep --newuse --update --verbose world --tree --ask '


Having this alias makes it a big easier/quicker to do a world update. Also with aliases in general, you can add other command switches to it from the command line. ex.
Code:

 $ qwerty --pretend
Back to top
View user's profile Send private message
deanpence
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 158
Location: Earth

PostPosted: Fri Jul 07, 2006 12:19 am    Post subject: Reply with quote

<3 wrote:
Why do people feel the need to sync everyday? It just causes unnecessary strain on the servers.


Oh, the poor, poor servers! The strain! Are we talking about people here or machines? Or are you talking about the authoritative portage rsync servers? In that case, okay, I get it.

That being said, as a sysadmin of both a small home network and a very-high-availability, worldwide cluster of nearly a thousand gentoo machines, there are definitely arguments on both ends.

For my home network (of three machines), I sync every day, and I upgrade anything that can every day. There's no good reason to do this except that I can. While I may only do security upgrades at work (which are really not that often), at home I keep up with the latest packages and kernels (for both x86 and amd64), keep my portage chops up, and encounter problems with portage and/or ebuilds long before I would have to deal with them at work.

At work, however, with nearly 1,000 servers (and growing fast) that can never, ever go down for maintenance unless they're actually broken and that need every bit of CPU, RAM, and disk that they can get at all times--and that really should be running the exact same versions of all software--I can't afford the overhead of keeping all of my machines up-to-date with the latest and greatest in portage. However, I must make sure that I have the latest security releases. So, in this case, I sync my production image (not an HA part of the network) every day and have a cron job that sends me a list of every GLSA that applies to my production gentoo image.

However, there are two problems with this: Profiles get deprecated and removed, and when they do, unless I upgrade to a newer profile, portage becomes useless. I encountered this on some machines running the 2004.3 (I think) profile a while back. I had no reason whatsoever to upgrade to a newer profile. The image and all the software in it was stable. However, because I was synchronizing portage quite often, that profile disappeared, and that image became unusable without a profile upgrade (and potential toolchain upgrades I could not afford to make). Furthermore, maintainers often remove older ebuilds for no good reason. So while I may be running an older but perfectly secure and stable version of something, after every portage sync I run the risk of running into missing ebuilds (which really only affect me when installing binary packages on client machines, at which portage whines and complains).

My conclusion is this: Synchronizing every day is fine, but don't waste it. Get GLSA and available upgrade reports from it every time you sync. But for very large networks of gentoo machines, especially HA networks, it has its perils. Beware the deprecated profile. Further still, beware the disappearing ebuilds. Gentoo is definitely built for the cutting-edge and has yet to account for the stabilized HA network type of situation. Sysadmins like me who are required to have stability but despise the Debian older-than-dirt software route find themselves in a bit of a pickle.
Back to top
View user's profile Send private message
deanpence
Apprentice
Apprentice


Joined: 08 Nov 2004
Posts: 158
Location: Earth

PostPosted: Fri Jul 07, 2006 12:20 am    Post subject: Reply with quote

MxxCon wrote:
every day first thing every morning i do 'esync -v'. it does 'emerge sync'(it should really be updated for --sync) and then 'eupdatedb' which at the end shows difference between current and previous sync. that way i can see what's U, N, MN, and I.


Aren't the esearch/eupdatedb utilities broken with the newest version of portage?
Back to top
View user's profile Send private message
bunkacid
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2005
Posts: 111
Location: Laguna Hills, CA

PostPosted: Fri Jul 07, 2006 12:31 am    Post subject: Reply with quote

deanpence wrote:
Aren't the esearch/eupdatedb utilities broken with the newest version of portage?


Yea, I started using the app-portage/eix utility for searching/syncing.
It's also a lot faster than eupdatedb when updating it's database, and showing you the new/changed packages.
Code:

$ eix-sync -v
Back to top
View user's profile Send private message
zuesse
n00b
n00b


Joined: 07 Jul 2006
Posts: 1

PostPosted: Fri Jul 07, 2006 1:09 am    Post subject: Reply with quote

'Tis not the sync that matters! Neigh, 'tis the world that matters most!!!

sync daily if it floats your boat. This can give a nice view/contrast of where you are and where you'll be.
But the rubber hits the road when "emerge -uDv world."

I tend to emerge -uDv world or emerge -Dv world monthly

I also try to emerge -ev world quarterly (gets the kinks out).

doing --fetchonly before any update also helps

chiao
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1118
Location: Rep. of Ireland

PostPosted: Fri Jul 07, 2006 2:18 am    Post subject: Reply with quote

zuesse wrote:
'Tis not the sync that matters! Neigh, 'tis the world that matters most!!!

sync daily if it floats your boat. This can give a nice view/contrast of where you are and where you'll be.
But the rubber hits the road when "emerge -uDv world."

I tend to emerge -uDv world or emerge -Dv world monthly

I also try to emerge -ev world quarterly (gets the kinks out).

doing --fetchonly before any update also helps

chiao

I tend to update packages as I see them, a month (or even a quater!) of not updating leaves you with an insane list of configs to compair/check/fix.
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Fri Jul 07, 2006 3:02 am    Post subject: Reply with quote

I like to sync every morning in the shower... oh, wait... cron job at night, everyday.
Back to top
View user's profile Send private message
geniux
Veteran
Veteran


Joined: 19 Feb 2004
Posts: 1400
Location: /home

PostPosted: Fri Jul 07, 2006 3:11 am    Post subject: Reply with quote

Mostly once a week :wink:
_________________
AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20
Back to top
View user's profile Send private message
dice
Guru
Guru


Joined: 21 Apr 2002
Posts: 577

PostPosted: Fri Jul 07, 2006 4:53 am    Post subject: Reply with quote

I --sync and -auDv world every day, and I run ~amd64. Part of the reason I do this is because I'm mildly neurotic, but another part is that it allows me to help out in spotting and fixing bugs.

I'm relatively active on bugs.gentoo.org, there are many bug reports which I have either created, posted diagnostic info in, or posted fixes for. Reporting, diagnosing, or fixing bugs is part of how I try to contribute back to Gentoo and the OSS community in general. It helps me to feel like less of a leech for using all of this great software and not paying a dime for it ;)
Back to top
View user's profile Send private message
shinadul
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2003
Posts: 90
Location: Netherlands

PostPosted: Fri Jul 07, 2006 5:39 am    Post subject: Reply with quote

My firewall never syncs, its still running gentoo 1.4 quite happily.

My webserver syncs bout 1ce a month and my other computers only when I spot something I really want/need.
Which mostly is once every 3-4 months.
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Fri Jul 07, 2006 6:06 am    Post subject: Reply with quote

shinadul wrote:
My firewall never syncs, its still running gentoo 1.4 quite happily.


Insane. If you were to update that.... oh man. You'd definitely have troubles. But, I have to ask, what about security updates? And kernels?
_________________
Desktop: ABit AN8, Athlon64 X2 4400+ 939 2.75GHz, 2x1GB Corsair XMS DDR400, 2x160GB SATA RAID-0, 2x20"W, Vista Ultimate x64
Laptop: 15.4" MacBook Pro 2.4Ghz, 2x1GB RAM, 160GB, Mac OS X 10.5.1
Server: PIII 550Mhz, 3x128MB RAM, 160GB, Ubuntu Server 7.10
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 5 of 9

 
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