Slashdot Mirror


Ximian Testing Red Carpet Daemon

rainmanjag writes "GNOMEdesktop.org noted a new page on Ximian's site announcing the testing release of Red Carpet Daemon which would allow administrators to do automatic software updates on workstations within the enterprise. You can also get a command line copy of Red Carpet." Hopefully this works out better than the time I cronned apt-get upgrade under Debian's unstable tree. Whoops.

13 of 80 comments (clear)

  1. autoupdate by guacamole · · Score: 3, Informative

    For the last eight months, we have been using autoupdate at our site to keep about 50 RedHat Linux boxes up-to-date. It seems to work pretty well. Though, this red carpet stuff looks pretty interesting too.

  2. Been cronning apt-get upgrade for years now... by Jon+Abbott · · Score: 2

    ...under unstable and it has only let me down once or twice. Luckily it never hosed my machine beyond repair.

  3. Re:So open a daemon on all networked machines? by guacamole · · Score: 2

    Sounds like a clueless poster.

  4. Re:Good news, but ... by guacamole · · Score: 2

    Northon ghost only solves the problem of -installing- the identically configured machines, not for maintaining them. I also would recommend to do scripted installs rather than using ghost. Ghost is a windowsism. We have much better scripting tools on Linux (including many tools specifically for system administration), we can do better than Ghost.

  5. Not sure I'd trust this... by wowbagger · · Score: 4, Insightful

    I'm not sure I'd trust Ximian to auto-update my system - while they try pretty hard, I've had just too many dependancy conflicts updating RPMS from them to feel really warm and fuzzy about having it happen automatically.

    Also, one thing I like about RedHat's up2date vs. RedCarpet is that I can tell up2date to leave my damn X server alone!. Neither RedHat 7.2 nor Ximian have XFree 4.2, but at least I can tell up2date "hands off any package with XFree in the title" and not worry about it downgrading me to 4.1. Every time I run RedCarpet I have to tell it "No, I DON'T want you updating my X server, yes I know this is a "security release", but I don't need it!"

    Unless redcarpetd has the ability to prevent upgrades on selected packages I wouldn't trust it.

    And until the packages get vetted better for conflicts I would be careful. That's what ALL RPM based distro's need - a standard base of packages and libraries that released packages are not allowed to deviate from. Any RPM that call for "foo-1.4.2-unreleased-unstable-pl1.4-thursday.rpm" should be uncerimoniously bounced from any stable release. That's one area I will give the Debian folks credit - they maintain their packages.

  6. No, I agree - what are Ximian smoking? by marm · · Score: 5, Interesting

    Sounds like a clueless poster.

    No, not at all. This is a very genuine concern. Personally, I think having a separate daemon to do this job is a very dumb idea. Existing, well tested tools like ssh and cron could do this, and the less new, untested code that runs on the network, the better for security.

    For a start, it's going to have a port open on the network in order for a master computer to contact it and tell it to update. This in itself is a major security risk - any open port is. Now also remember that, because it will be updating packages system-wide, part of the update process is going to have to run as root - I hope at least the network-facing daemon doesn't. If it does - instant remote root when the first stack-smashing or format string exploit comes along - and it will, have no doubt about that. Even if the daemon itself has limited privileges, it is going to have to talk to something setuid root in order to perform the package upgrades, so a remote root shell is only two exploits away, one for the daemon and then another for the setuid program that does the updating.

    Remember, this is new code, untested in the wild for any length of time, unexamined yet by anyone external. ssh would do the job fine instead, and, although ssh has had security problems, it has had a lot of pounding on it for a long time now. The Red Carpet daemon - hasn't.

    In short, wtf aren't Ximian using ssh instead of their own potentially hokey code?

    Second, there is a big problem with automatic updating generally. If I can get root on a machine within a network - or in fact, just plug my laptop into this network - then with a bit of spoofing trickery I can convince any other machine within that network that I am the update server, and next time they update, they will download packages from me, which I could easily trojan - and then I've got control of every single box on the network, and almost all the work was done for me. Signed packages are supposed to alleviate this problem, but past incidents with both OpenSSL and ssh suggest that certificate checking is not always up to scratch, and there may still be other ways to convince the Red Carpet daemon to install unsigned packages. If you have an insecure wireless network attached, then you're going to have even larger problems as an attacker who wants to get in this way doesn't even have to be physically connected to your network.

    This sounds like a very convenient way to automatically update software - although nothing that ssh/apt doesn't already offer - but it also sounds like a potentially gaping security hole that will bite people hard in the future.

  7. Cautious: Burnt by Ximian. :( by AtariDatacenter · · Score: 2

    I really liked the concept of the Ximian desktop and their easy installer and what not. I really appealed to me because I was using the *Solaris* distro that Ximian generates.

    However, after a few magic rides on the Red Carpet, I decided that I wasn't all that trusting of full service. Everything worked great until I started doing the red carpet updates. Then Red Carpet would break. The icons on my desktop would break. The Evolution mailer would break.

    I stopped doing updates in order to preserve something which passes as a workstation. Mind you, my case probably is extreme (but only because I tried to use Ximian for a reliable Solaris desktop), but I hope it illustrates a point.

    Care to be responsible for a slew of desktops when you don't do your own quality control and bless updates which are placed onto systems you support?

    1. Re:Cautious: Burnt by Ximian. :( by pbowen · · Score: 2, Informative

      RCD gives the administrator full control over their system. It does not require Ximian Desktop to be installed, nor will it auto-update the Desktop. RCD can be used to simply install vendor updates on to servers, if that is what you are interested in.

      Granted, some operating systems handle updates differently than others, but, using Red Hat Linux 7.3 as an example, this month alone there have 58 packages released as errata. RCD will tell you which of these apply to your system, and can, optionally, install them for you. However it will not ever install something unless a user directly tells it to.

      As the original post says "Can you be responsible for a slew of deesktops when you don't ... bless updates which are placed on to systems?" Of course not, and this is exactly why RCD requires explicit direction to make changes to the system software.

    2. Re:Cautious: Burnt by Ximian. :( by stefanlasiewski · · Score: 2

      Everything worked great until I started doing the red carpet updates. Then Red Carpet would break. The icons on my desktop would break. The Evolution mailer would break.

      I have to somewhat agree.

      Occasionally, due to a bug, or more often due to me running out of HD space, the install for a core RPM like 'red-carpet' or 'rpm' would die. Then I'd be stuck without red-carpet or rpm, and would have to restore these programms by grabbing a bootstrap install from Ximian or elsewhere.

      But there is a reson for this: Ximian only has one person in charge of repackaging/testing the Solaris RPMs. This is in large part due to the fact that Solaris users make up a very small percentage of the Ximian and Gnome market (Heck, less then 1% of the visitors to Gnomedesktop.com use Solaris)

      This may improve as Gnome2.0 matures, after Ximian reduces their support for Gnome1.4 in favor of Gnome2.x, and after Sun releases their Gnome2.0 distro.

      --
      "Can of worms? The can is open... the worms are everywhere."
  8. Unfair: Ximian are now a lot better by anonymous+cupboard · · Score: 3, Informative
    I have one machine still on up2date and one on Red Carpet. The Red Carpet updater has been going for all of this year and in the beginning, it was dependency hell (reminded me of DLLs under Win). However since about Easter, it has been very stable. The only issue is if I trigger so many dependencies that /var is filled up with incomming rpms.

    If you don't want beta, just don't subscribe to the beta releases. The other stuff seems fine. This particular system is an RH7.1ish 2.4.19 kernel with Ximian Gnome.

  9. Re:Would autoupdate does installation too ? by kableh · · Score: 2

    I dont know about the normal version, but Symantec's Ghost Enterprise version allows you to install a small console on each machine, allowing you to simply reboot and reimage the machine. The downside is that you have to purchase a license for each client machine you want to run the console on. IMHO the price is reasonable, if you are talking about an enterprise size installation.

    And since Ghost supports Linux, you could use it to reimage your linux boxen as well.

    More on-topic, I just installed apt4rpm the other day, and it is hella cool. I always thought apt was the best feature of Debian, but I have been using RedHat for a while and feel familiar with it. There are server packages available, so you can run your own repository internally. I am preparing to do so for my company. We are primarily a RedHat shop, so this tool should prove invaluable, or at least will save me having to run around with 20 Linux CD-Rs =). I'd love to pay RedHat $20 or whatever a month per machine, but, um, no.

  10. Re:simples scripts and ssh, or reinventing the whe by guacamole · · Score: 2

    > for i in host1 host2 host3 ; do
    > ssh $i "apt-get update ; apt-get install [package...]"
    > done

    Been there, done that.
    You are badly mistaken if you think a simple script like this is enough to keep a large site up to date. Imagine that you have nearly 300 hosts. Imagine that although you're trying to keep the host database up-to-date there it will always not fully correspond to reality. Finally for this command to complete all of those have to be up. What if a machine crashed? What if a user shut it down? What if I machine down for whatever reason? And how long will you have to wait until this command completes? Pushing updates and such does not scale well beyond a couple of dozen boxes. No matter what toos you use for system administration, it is much better to use the pull model (where clients request updates and other configuration changes) on their own from the server instead of trying to run some command on all of them.

  11. Re:Nothing like an overloaded program name... by FooBarWidget · · Score: 2

    Maybe they will actually listen to you if you don't insult them all the time.