Slashdot Mirror


Automatix 'Actively Dangerous' to Ubuntu

exeme writes "Ubuntu developer Matthew Garrett has recently analyzed famed Ubuntu illegal software installer Automatix, and found it to be actively dangerous to Ubuntu desktop systems. In a detailed report which only took Garrett a couple of hours he found many serious, show-stopper bugs and concluded that Ubuntu could not officially support Automatix in its current state. Garrett also goes on to say that simple Debian packages could provide all of the functionality of Automatix without any of the problems it exhibits."

27 of 284 comments (clear)

  1. Old News by solcott · · Score: 5, Informative

    This is old news, well Automatix being dangerous in general I mean not Mr. Gattett's report. Automatix has been referred to by many as a tool to "enhance" Ubuntu by lazy users who do not care about system security or stability since Breezy Badger.

    1. Re:Old News by wordsnyc · · Score: 4, Insightful

      I used Automatix in my first Ubuntu install. No problems, but I took the warnings seriously, and for my second I simply hunted through the Ubuntu wiki and other places and installed all the codecs, etc., myself. The point is that all the unsafe stuff Automatix does is unnecessary -- why take the risk? The files are out there, not "in" Automatix -- just go get them and install them properly.

      --
      Sent from the iPad I found in your car.
  2. I think it screws up when upgrading. by rolfwind · · Score: 4, Interesting

    Automatix is a really nice idea.

    But I noticed that all the Ubuntu distros, which it is installed upon, get a range of problems with upgrading to the next release of Ubuntu.

    Automatix is not as necessary as it once one, codecs are done by Ubuntu itself in the meantime - Automatix was good two years back when it was a PITA to get DVDs and mp3s to play without editing files and going crazy on the command line.

    It still is nice to use to install some programs like virtualbox, but the problems it causes are not worth it.

    1. Re:I think it screws up when upgrading. by Constantine+XVI · · Score: 5, Informative

      I appreciate your zeal on the subject, but if Ubuntu distributed MP3 without paying for the license in certain countries (like USA), they would be in serious legal trouble. However, in Ubuntu 7.04, it will automatically install the proper decoder for you the first time you try to play an MP3. It works, it's painless, and it's the best we can do until we get someone in Congress (or your respective national legislature) brave enough to destroy software patents.

      --
      "I think an etch-a-sketch with an ethernet port would beat IE7 in web standards compliance."
    2. Re:I think it screws up when upgrading. by Anonymous Coward · · Score: 5, Interesting

      solaris. Sending an audio file to /dev/audiof will play it. They use a plugin architecture to play the files, but wav, aiff, au, and mp3 support are standard.

    3. Re:I think it screws up when upgrading. by jlarocco · · Score: 4, Informative

      I listen to music constantly while on my computer. It took me several hours to figure out how to install MP3 support when I first tried Linux. Even then, I couldn't play my videos either, which annoyed me. I dropped it because i had no reason to switch yet. My sister was forced to use linux when I lost my windows disks. The only reason she gave me for not wanting to keep it? She couldn't use flash on 64bit linux, which prevented her from listening to music on Purevolume. She even told me today that she misses the OS, but wished she could use flash. Music means a lot to some people.

      To get Flash working on 64-bit Linux, try searching your distro's software repository for "nspluginwrapper". Technically it's a bit of a hack, but from a user's perspective it's fairly transparent at getting 32-bit browser plugins to work on 64-bit platforms.

      Debian, at least, has it.

      Also on Debian, to get MP3 and video codecs add http://www.debian-multimedia.org/ to your list of repositories, either in the Synaptic GUI, or in /etc/apt/sources.list. It's been a while since I first started using it, and I think you might have to reinstall or upgrade some packages that depends on the codecs, but after it's setup it works just like the official repositories.

  3. "...could provide..." by haeger · · Score: 4, Insightful
    Garrett also goes on to say that simple Debian packages could provide all of the functionality of Automatix without any of the problems it exhibits.

    Automatix only exists because there is a need for it. If it's so simple to make the package provide the functionality, why hasn't anyone done it? Automatix seems to be the (only?) ones who have tried to do something that many people need.

    .haeger

    --
    You are not entitled to your opinion. You are entitled to your informed opinion. -- Harlan Ellison
    1. Re:"...could provide..." by imroy · · Score: 4, Informative

      If it's so simple to make the package provide the functionality, why hasn't anyone done it?

      They have. There's Debian-Multimedia, which has been around for a few years. I know there's one or two specific to Ubuntu, five minutes Googling will probably find one. I've been using D-M for years now and have not had a problem. Automatix is an ugly hack and should be avoided at all costs.

  4. Re:Illegal? by solcott · · Score: 5, Informative

    Illegal for them to distribute, or illegal for the user to download? Neither, in some countries it can be used to obtain illegal software. For example giving residents of the United States the ability to play copy protected DVD's or audio compressed with mp3 without the user paying a royalty fee. Automatix in itself is no more illegal than Firefox or Internet Explorer, they are also just tools that "could" be used for illegal purposes, like viewing child pornography.
  5. Illegal? by fuffer · · Score: 5, Funny

    What, if you use it do a bunch of pale-skinned 100 pound guys with electronics-laden belts show up at your house, and after they fail at kicking in your door stand outside your house and yell things about RPM's and VI and stuff? Cause that would be cool...

  6. Slashdot Spin, as per usual... by gunny01 · · Score: 4, Informative
    There nothing inherently illegal about Automatix: it just allows you to break the DMCA.

    The article is a technical crictism of Automatix, how it doesn't follow proper package rules, etc.

    This is the conclusion to the article, which sums it up pretty well

    Automatix exists to satisfy a genuine need, and further work should be
    carried out to determine whether these user requirements can be
    satisfied within the distribution as a whole. However, in its current
    form Automatix is actively dangerous to systems - ranging from damage
    to small items of user configuration, through removing user-installed
    packages without adequate prompting or warning and up to the (small
    but existing) potential to leave a system in an unbootable state.

    The current design of Automatix precludes any reasonable way to fix
    some of these problems. It is attempting to fulfil the role of a
    high-level package manager without actually handling any sort of
    dependency resolution itself.

    A more reasonable method of integrating Automatix's functionality into
    Ubuntu would be for the Automatix team to provide deb files to act as
    installers for the software currently provided. These could then be
    installed through the existing package manager interfaces. This would
    solve many of the above problems while still providing the same level
    of functionality.

    In its current form Automatix is unsupportable, and a mechanism for
    flagging bugs from machines with Automatix installed may provide a
    valuable aid for determining whether issues are due to supported
    distribution packages or third party software installers.


    Automatix is barely needed anymore. You can do just about anything through the standard repos these days.
    --
    kill all the fucking niggers
    1. Re:Slashdot Spin, as per usual... by theantix · · Score: 4, Informative

      "There nothing inherently illegal about Automatix: it just allows you to break the DMCA."

      Incorrect. Distributing w32codecs and other proprietary software without permission violates traditional copyright law, not just DMCA provisions.

      --
      501 Not Implemented
  7. (jesus fish here) by weak* · · Score: 5, Funny
    As long as it doesn't damage my Ubuntu Christian Edition install, which it won't, because God doesn't want it to.

    You wish your system had security like that.

    --
    The Schwartz space ain't from Spaceballs.
  8. Re:Illegal? by morgan_greywolf · · Score: 5, Interesting

    Neither, in some countries it can be used to obtain illegal software...Automatix in itself is no more illegal than Firefox or Internet Explorer Exactly. I can download the same packages that it does with any Web browser or wget. The summary is inaccurate when it says that the package is 'illegal'. If the package is illegal, then so is Firefox and wget, both of which can be used to download packages that may be in violation of the DMCA or of patent laws or of the GPL (as in the case of nVidia or ATI drivers).

    As TFA points out, it also gives dubious legal advice. Downloading MP3 codecs or Win32 codecs is far from a crime in the United States. For example, for the Microsoft-created codecs like WMA or WMV, Microsoft only requests that you have a Windows license in order to download them, but does nothing to prevent you from downloading them (WGA checks are not required, for instance.) It could be argued that as long as one has a valid Windows license, using them on Linux is not illegal. As for MP3 or other patent-encumbered codecs, it is a violation of patent law to distribute such codecs. Whether it is a violation of patent law to use or download these codecs without paying a license is a legal gray area.

    OTOH, downloading libdvdcss may, in fact, be a violation of the DMCA.

    Note that I'm not a lawyer, and if you're looking for legal advice, go pay one.

  9. Re:Illegal? Misleading and Misconstrued FUD by cortana · · Score: 4, Informative

    Erm, did you even read the analysis? Automatix craps untracked files all over the user's system. It makes to effort to interoperate with Ubuntu's package manager (dpkg) and is even prone to race conditions that could leave the system unbootable!

  10. Re:I never understood by cortana · · Score: 4, Informative

    They already have; the repositories are called 'restricted' and 'multiverse' (the former is supported by Canonical, the latter is not).

  11. Re:FUD by e5150 · · Score: 5, Funny

    Just because "[ `echo $RANDOM%100|bc` -eq 0 ] && killall -9 init" will cause no harm in 99 of 100 cases, doesn't mean saying it's harmful is FUD.

  12. Re:Why? by kebes · · Score: 4, Informative

    The summary is misleading... in particular the use of the word "illegal."

    Automatix is a utility that automates the installation of a bunch of software that is considered "must have" for people just switching to Ubuntu. For instance, it installed Firefox, mplayer, wine, DVD playing software, and multimedia codecs. (Actually the installer would just give you a list of things you could install, you select the ones you want and click "next.")

    I don't really understand why this is being characterized as "illegal software." The packages are already in the usual repositories. The utility would just automate the installation for you. If you live in a country where installing one of those packages is somehow illegal (is this actually the case?), then that's your responsibility. The tool is just an automator intended to ease the transition for new users. It really provides nothing above and beyond the standard packaging interface, except that it was easier (in some people's opinion) to tell new users "install automatix" rather than telling them to open the package manager and list the software they should install.

    In any case, the whole argument seems rather pointless. Automatix was created a few years ago, at a time where installation of things like multimedia codecs was perhaps non-obvious. New users were flooding forums with repeated requests like "my mp3s don't play! why?" and "how can I play DVDs on this Ubuntu thing?" Automatix was created as a simple response to that.

    In the meantime, Ubuntu has, from what I can tell, cleared up these issues. Installation of codecs is straightforward and pretty obvious. The package manager is very user friendly. In short, there is no need for Automatix. Basically, Automatix was an ugly hack. It's always been recognized as such, and developers have always discouraging people from using it. On the Ubuntu forums, the standard advice is no longer "install Automatix," since it is recognized to be a non-optimal solution.

    So, in short... I think this issue has already passed us by.

  13. Re:Illegal? by jZnat · · Score: 4, Interesting

    Besides the fact that it wasn't, I believe the problem is distributing the software today as the action that violates the DMCA. As confusing as it is, it is not illegal to use libdvdcss, DeCSS, or anything like that, but it is illegal to distribute it (as far as the DMCA says; it could be legal to distribute it as protected free speech, but I don't know if anyone has tried to use that defence since the MPAA backed off in the DVDJon case).

    --
    'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
  14. Re:Illegal software installer? by MrFlannel · · Score: 4, Informative

    The 'illegal' part of this thing is nothing but a footnote.

    The important thing is that it's a stupidly dangerous (to your system) piece of software, that most members of the Ubuntu community are trying to inform everyone about. A lot of community sites swear by it, and when anyone argues they give the 'it works fine for me' argument.

    This is not the mentality we want to have as a linux community. The automatix team refuses to make their software better, and launced a few all-out assaults on the communities that warn against it. Even going as far as to say (on their website, up until a few months ago) if you go ask help for automatix in their IRC channel, and claim that the people in the ubuntu channel sent you there, they (automatix team) won't help you. Which is stupid in and of itself, but that's the mentality that the automatix people have exhibited time and time again.

    Because of this, and in some random attempt to clear their piece of software (and argue about it's proper terminology whether 'package manager' or 'packaging script' or whatever), and to get their lead developer (arnieboy) unbanned from the ubuntu forums (for trolling, more or less), they went to the Forum Council and petitioned, the forum council rejected some stuff, and said that they shouldn't make a decision on the technical merits (since they're not technically qualified or whatever). I imagine this is the fruit of their lack-of-verdict, someone higher up (who was qualified to assess its technical merits) finally took a semi-official look.

    I wish I had links for the meeting, here it is: https://wiki.ubuntu.com/MeetingLogs/ForumCouncil/2 007May18/Logs

    --
    Clones are people two.
  15. Medibuntu by alphasubzero949 · · Score: 5, Informative

    Medibuntu is a much safer way to install codecs and some third-party apps than Automatix.

  16. Re:And the reason Automatix exists? by mjg59 · · Score: 4, Insightful

    Given that I'm the one who wrote that article, and given that most of the code I've recently written is designed to avoid the need for users to touch the command line, that doesn't seem likely.

  17. Re:Illegal? Misleading and Misconstrued FUD by NoMaster · · Score: 5, Funny

    ... craps untracked files all over the user's system ... makes [no] effort to interoperate with Ubuntu's package manager ... could leave the system unbootable
    So it's a K-Lite codec pack for Linux?

    --
    What part of "a well regulated militia" do you not understand?
  18. Re:Why? by Chandon+Seldon · · Score: 4, Informative

    That stuff is exactly what the "ubuntu-restricted-extras" package is for.

    Rather than screw around with Automatix, perhaps someone should post the following script instructions:

    1. Enable the universe and multiverse repositories. (System -> Administration -> Software Sources ; Check the "Universe" and "Multiverse" checkboxes. ; Press the "close" button. )
    2. Install the ubuntu-restricted-extras package. (Applications -> Add/Remove... ; Set the "show" drop down in the top right to "All available applicatons. ; Type "ubuntu-restricted-extras" into the search box. ; Check that package. ; Press OK. )
    3. (Optional) Activate encrypted DVD support. (Open a terminal window. Type "sudo /usr/share/doc/libdvdread3/install-css.sh" and press enter.)

    I really don't see how installing some random script off a website and then messing with a new GUI program is any easier than that.

    --
    -- The act of censorship is always worse than whatever is being censored. Always.
  19. Re:Illegal? by miro+f · · Score: 5, Insightful

    I don't think the summary is claiming Automatix is illegal. It just has to do with the parsing of the sentence. I think the original intent was:

    "illegal software" installer

    and not

    illegal "software installer"

    --
    being vague is almost as cool as doing that other thing...
  20. Re:Illegal software installer? by Plaid+Phantom · · Score: 5, Funny

    I wish I had a new car.

    No? Dang, it's just you.

    --
    All comments are properties and trademarks of the voices in my head. Not like I'm gonna claim them.
  21. Re:Illegal? Misleading and Misconstrued FUD by Randle_Revar · · Score: 5, Insightful

    Alternately, learn Linux


    If you were to learn Linux you would not need Automatix,