Study on Upstart

Total Page:16

File Type:pdf, Size:1020Kb

Study on Upstart ISSN 2319-8885 Vol.03,Issue.02, February-2014, Pages:0197-0199 www.semargroup.org, www.ijsetr.com STUDY ON UPSTART 1 2 ARCHANA JS , NARASIMHAN 1Research Scholar, Dept of CSE, Mohandas College of Engineering, Anad, Nedumangad, India, E-mail: [email protected]. 2Asst Prof, Dept of CSE, Mohandas College of Engineering, Anad, Nedumangad, India. Abstract: The traditional ‘ Init’ is the parent of all the processes. It is the first process which is started during booting of the computer system. It is a daemon process responsible for bringing the computer into running state after power on or gracefully shutting down services prior to shutdown. The design is strictly synchronous; as a result a blocking future task will occur until the completion of current task. This paper introduces an event based system which is a replacement for traditional init daemon, called ‘upstart’. Upstart operates asynchronously so it can overcome the blocking nature of ‘init’ and so it is faster. Keywords: Upstart, Job, Events, Init, SystemV. I. INTRODUCTION happened on 14 November 2013. The upstart is written in C When Linux boots up the first process that runs is language for Linux operating system. It is an Init daemon. called ‘init’. From there ‘init’ takes the task of starting up The license is GPLv2[6]. the system processes.[1] Init is a daemon process. It will continue running until the system is shut down. It is the III. EXISTING SYSTEM direct or indirect ancestor of all other processes. It will To overcome the fundamental limitations in the existing automatically adopt all orphaned processes. Using a systems upstart was introduced. The existing systems can be hard-coded file name kernel will start Init. In case if the classified into two types: kernel is unable to start the init, a kernel panic will result. 1. System V init system Typically Init’s process identifier is 1.The design of Init 2. Dependency-based init systems is strictly synchronous as a result blocking of future tasks A. System V init system will occur until the current one has completed. Its tasks 1. Benefits must also be defined in advance. This leaves it unable to i. Simplicity handle various non-start-ups –tasks on a modern desktop Creating the service files is very easy since SystemV is computer elegantly, including. simple shell script. To enable/disable a service in a particular run level, we only need to create/remove a symbolic link in a The addition or removal of USB pen drives and other particular directory or set of directories. portable storage / network devices while the machine is running. The discovery and scanning of new storage ii. Guaranteed Ordering of Services devices, without locking the system, especially when a The ordering of the services is done by init with the help disk may not even power on until it is scanned. The of symbolic links. The relative order in which init invokes loading of firmware for a device, which may need to the scripts is determined by a numeric element in the name: occur after it is detected but before it is usable. Upstart is lower numbered services run before higher numbered an event-based replacement for the traditional init services. daemon the method by which several UNIX-like computer operating systems perform tasks when the 2. Limitations computer is started. Upstart's event-driven model allows 1. Non-Optimal Performance it to respond to events asynchronously as they are The traditional sequence boot system is slow in the sense generated. Upstart will provide the same facilities as the that it is not using parallelism. This model does not use the traditional "init" system, but surpasses it in many ways. full resources available, particularly once it is recognized that multiple services can often be run simultaneously. A II. HISTORY common "hack" used by Administrators is to circumvent the The upstart is developed by Canonical Ltd. The initial serialization by running their service in the background, such release was on 24 August 2006. The stable release that some degree of parallelism is possible. Copyright @ 2014 SEMAR GROUPS TECHNICAL SOCIETY. All rights reserved. ARCHANA JS, NARASIMHAN 2. Server-Centric those events being emitted, starts and stops processes when If we want to replace hardware, in traditional boot required. It is fast, efficient, reliable, and flexible. system we have to do shutdown and install the new one and then reboot the system. In olden days replacement of A. Performance hardware is rare so rebooting is also rare. But now most Performance was the main aim to design Upstart. The NIH of the users run the desktop edition on portable devices Utility Library which is optimized one for efficient early where they have to reboot multiple times in a day. boot environments is used by upstart. In addition to this, the design of upstart is efficient, lightweight, and elegant. The 3. Assumes Static Hardware at all Times core advantage of upstart is its event-based mechanism SysV init system itself is incapable of handling a which has the ability to control and monitor processes. It is dynamically changing system. But modern Linux designed to manage the services which run in parallel.[2] systems are hot plug type, where new hardware can be add and remove dynamically. V. CONCEPTS AND TERMINOLOGY ‘Events’ and ‘jobs’ are the main concepts of upstart. 4. Every Service Does Heavy Lifting A. Jobs Most service files will: Job is a unit of work, either it can be a task or can be a • Initial checks perform are: service. The job configuration file contains the definitions of 1. Ensuring that no other instance of a daemon is all jobs. running. 1. Job Types 2. The existence of a directory or file. 1.1 Task Job 3. Old cache files removal. A Task Job is the one which runs a short-running process, • Ensuring dependent daemons are running. i.e., a program which may take a long time to run, but has a • Spawning of the main service. fixed lifetime and end state E.g.: Deleting a file Which are not necessary always. 1.2 Service Job It is opposite to task Job, because it may never end of its B. Dependency-based init systems own. It is a long-running process 1. Benefits E.g.: data base applications i. Recognises Services Require Other Services 1.3 Abstract Job The important improvement of dependency based init The kind of job which has no exec or script sections. It has system over SystemV init system is the recognition that no corresponding child process (PID) also, but can start and services may often need to make use of other services. stop. In fact, starting such a job will result in it "running" ever lastingly if not stopped by the Administrator. Only 2. Limitations within Upstart itself abstract jobs are exist but it is very i. Does not recognize dynamic nature of Linux useful. If we want to start an application in dependency based init system, it will first resolve all the dependent services 2. Job States needed. But if we want to connect a new monitor States of a job can be viewed by the users via the status field combined with existing one we have to choose either in the output of the initctl status command. Different states • Do nothing. Which shows the inability to handle this of a job are as follow: scenario. Waiting:- the initial state • Have a daemon that polls for new hardware being Starting:- the state of the job which is about to start plugged or not, which is inefficient and wasteful. Pre-start:- running pre-start section Spawned:- about to run script IV. UPSTART Post-start:- running post-start section Upstart is a system which detects asynchronous events Running:- the state set after post-start section processed. and it will start a service when the conditions for that Pre-stop:- running pre-stop section. service are met. In short Upstart is as follow: Stopping:- the state set after pre-stop section executed. When it’s required conditions are met upstart Killed: - job is about to stop. will start the corresponding service. Post-stop:- running post-stop section. In upstart for the dependent events, a brute- Pre-start means prepare the environment for job. Pre-stop force approach is done, which is a mechanism section means the things should execute before stopping a of forcing all the dependent events to start. job. Cancellation of stopping job can also be done here. The Upstart will start the jobs in parallel who has the same job is stopped by sending SIGTERM signal. Post-start ‘start on’ condition. Upstart can be considered as an means script to run once after the main process has been event engine: it creates events, handles the after effect of spawned. Post-stop includes cleanup operations. International Journal of Scientific Engineering and Technology Research Volume.03, IssueNo.02, February-2014, Pages:0197-0199 STUDY ON UPSTART 3. Job Environment 4. The mountall job in turn emits a number of events[2] A very restrictive environment is provided by Upstart B. Shut down when it starts a job. The environment will contain only Upstart never shuts down itself. Upstart will "die" when two system variables, TERM and PATH. Upstart will set the system is powered off, but if it ever exits, that is a bug. some standard environment variables which can be used Steps of shut down after clicking shutdown button or typing by the job. the shutdown command: 1. The run level will be decreased to 0 4. Job Configuration file 2. The job /etc/init/rc.conf will be run.
Recommended publications
  • What Are the Problems with Embedded Linux?
    What Are the Problems with Embedded Linux? Every Operating System Has Benefits and Drawbacks Linux is ubiquitous. It runs most internet servers, is inside Android* smartphones, and is used on millions of embedded systems that, in the past, ran Real-Time Operating Systems (RTOSes). Linux can (and should) be used were possible for embedded projects, but while it gives you extreme choice, it also presents the risk of extreme complexity. What, then, are the trade-offs between embedded Linux and an RTOS? In this article, we cover some key considerations when evaluating Linux for a new development: ■ Design your system architecture first ■ What is Linux? ■ Linux vs. RTOSes ■ Free software is about liberty—not price ■ How much does Embedded Linux cost? ■ Why pay for Embedded Linux? ■ Should you buy Embedded Linux or roll-your-own (RYO)? ■ To fork or not to fork? ■ Software patching ■ Open source licensing ■ Making an informed decision The important thing is not whether Linux or an RTOS is “the best,” but whether either operating system—or both together—makes the most technical and financial sense for your project. We hope this article helps you make an informed decision. Design Your System Architecture First It is important to design your system architecture first—before choosing either Linux or an RTOS—because both choices can limit architectural freedom. You may discover that aspects of your design require neither Linux nor an RTOS, making your design a strong candidate for a heterogeneous approach that includes one or more bare-metal environments (with possibly a Linux and/or RTOS environment as well).
    [Show full text]
  • Openprinting Plenary
    OpenPrinting Plenary Till Kamppeter, OpenPrinting IPP Everywhere under Linux – Driverless Printing · Support completely implemented: cups-filters: gstoraster/pdftoraster turns PDF into PWG Raster to send to IPP Everywhere printer, rastertopdf accepts PWG Raster as input for CUPS queue to emulate IPP Everywhere printer cups-browsed: If activated IPP Everywhere printers are discovered and a queue auto-generated, even with PPD file (PPD generator taken from CUPS 2.1.x, experimental) Ghostscript: PWG Raster format can be generated via “pwgraster” device or via “cups” device and MediaClass “PwgRaster” Printing stack of Level 2 is enough · Ubuntu Vivid (15.04) contains all this and therefore should fully support IPP Everywhere · Backport to Ubuntu Trusty (14.04 LTS) planned, but we need testing by manufacturers first · NEEDED: Testing all this by printer manufacturers, so please take Ubuntu 15.04 and test with your printers 2 Mobile Printing · Printing stack ready for mobile: cupsd and cups-browsed can be run on-demand, with systemd (most modern distros, incl. Ubuntu 15.04) or Upstart (Ubuntu Phone) Packaging of printing stack in three levels, level 2 for mobile, level 3 for desktop, server can be level 2 (appliance) or level 3 (computer) Printing stack is same software for mobile and desktop, so convergence (connect mobile phone to monitor to get desktop) is easy · MISSING: Mobile print dialog, but will be implemented soon for Ubuntu Mobile · Nice to have: Lightweight renderer like MuPDF 3 cups-filters · Most important changes: Create
    [Show full text]
  • Sysvinit / Upstart / Systemd
    SysVinit / Upstart / Systemd Zahemszky Gábor mérnök tanácsadó Zahemszky Gábor SysVinit / Upstart / Systemd init? ● Mire jó? ● Mire nem jó? ● Mi lenne, ha … (kávét főzne, kitakarítana, betakarítana, észlelné a bekapcsolt BT-fejhallgatót, a bedugot mobildiszket ...) Zahemszky Gábor SysVinit / Upstart / Systemd Ki mit használ jelenleg? Debian SysVinit Fedora Systemd OpenSUSE Systemd RHEL5 SysVinit RHEL6 Upstart SLES 10/11 SysVinit Ubuntu Upstart Többi? Kit érdekel? SysVinit Zahemszky Gábor SysVinit / Upstart / Systemd Előnyei ● Egyszerű maga az eszköz ● Egyszerűek az elindítot parancsfájlok ● Egyszerű a használt könyvtárstruktúra Zahemszky Gábor SysVinit / Upstart / Systemd Hátrányai ● Nem is annyira egyszerűek a parancsfájlok ● Mi van, ha az elindítot szerviz meghal? ● Miért fusson minden mindig, akkor is, ha csak ritkán akarjuk használni? Zahemszky Gábor SysVinit / Upstart / Systemd Mi a megoldás a problémákra? ● Bonyolítsuk el az egyszerű programot! ● Dobjuk ki az egyszerű scripteket! ● Strukturáljuk át az ismert, szabványosítot (LFS FHS) felépítésű fájlrendszert! Upstart Zahemszky Gábor SysVinit / Upstart / Systemd Upstart ● „Eseményvezérelt init-helyetesítő, amelynél a feladatok (task) és szolgáltatások (service) események (event) hatására indulnak el és állnak le” (*) ● Ellenben a feladatok és események elindítása / leállása más eseményeket generálhat ● Un. job segítségével mondhatjuk meg mi, merre, hány méter (mi, hogyan induljon/álljon le) ● Vezérlésre az initctl parancs szolgál (*) lásd upstart.ubuntu.com Zahemszky Gábor SysVinit
    [Show full text]
  • Nixos: a Purely Functional Linux Distribution
    NixOS: A Purely Functional Linux Distribution Eelco Dolstra Andres Loh¨ Delft University of Technology, The Netherlands Utrecht University, The Netherlands [email protected] [email protected] Abstract change after they have been built; rather, the system is updated to Existing package and system configuration management tools suf- a new configuration by changing the specification and rebuilding fer from an imperative model, where system administration actions the system from it. This allows a system to be built determinis- such as upgrading packages or changes to system configuration tically, and therefore reproducibly. It allows the user to roll back files are stateful: they destructively update the state of the sys- the system to previous configurations, since previous configura- tem. This leads to many problems, such as the inability to roll back tions are not overwritten. Perhaps most importantly, statelessness changes easily, to run multiple versions of a package side-by-side, makes configuration actions predictable: they do not mysteriously to reproduce a configuration deterministically on another machine, fail because of some unknown aspect of the state of the system. or to reliably upgrade a system. In this paper we show that we can We have previously shown how package management — the overcome these problems by moving to a purely functional system installation and management of software packages — can be done configuration model. This means that all static parts of a system in a purely functional way, in contrast to the imperative models (such as software packages, configuration files and system startup of conventional tools such as RPM (Foster-Johnson 2003).
    [Show full text]
  • Ubuntu Kung Fu.Pdf
    Prepared exclusively for J.S. Ash Beta Book Agile publishing for agile developers The book you’re reading is still under development. As part of our Beta book program, we’re releasing this copy well before we normally would. That way you’ll be able to get this content a couple of months before it’s available in finished form, and we’ll get feedback to make the book even better. The idea is that everyone wins! Be warned. The book has not had a full technical edit, so it will con- tain errors. It has not been copyedited, so it will be full of typos and other weirdness. And there’s been no effort spent doing layout, so you’ll find bad page breaks, over-long lines with little black rectan- gles, incorrect hyphenations, and all the other ugly things that you wouldn’t expect to see in a finished book. We can’t be held liable if you use this book to try to create a spiffy application and you somehow end up with a strangely shaped farm implement instead. Despite all this, we think you’ll enjoy it! Throughout this process you’ll be able to download updated PDFs from your account on http://pragprog.com. When the book is finally ready, you’ll get the final version (and subsequent updates) from the same address. In the meantime, we’d appreciate you sending us your feedback on this book at http://books.pragprog.com/titles/ktuk/errata, or by using the links at the bottom of each page.
    [Show full text]
  • Battle-Hardened Upstart Linux Plumbers 2013
    Battle-Hardened Upstart Linux Plumbers 2013 James Hunt <[email protected]> and Dmitrijs Ledkovs <[email protected]> September, 2013 Table of Contents Utilities 1. Overview 3. Enablements 2. Design and Architecture cloud-init Event-based Design friendly-recovery Example Job gpg-key-compose SystemV Support Summary SystemV Runlevels 4. Quality Checks Bridges 5. Areas of Friction More Events 6. Links . 2 / 31 Overview of Upstart Revolutionary event-based /sbin/init system. Written by Scott James Remnant (Canonical, Google). Maintained by Canonical. Developed by Canonical and the community. PID 1 on every Ubuntu system since 2006 (introduced in Ubuntu 6.10 "Edgy Eft"). Systems booted using native Upstart jobs (not SysVinit compat) since Ubuntu 9.10 ("Karmic Koala") in 2009. Handles system boot and shutdown and supervises services. Provides legacy support for SystemV services. Upstart is a first-class citizen in Debian ([Debian Policy]). 3 / 31 Availability and Usage Runs on any modern Linux system. Used by... 6.10 ! 11.3/11.4 RHEL6 ChromeOS Now available in... 4 / 31 Platform Presence Upstart runs on all types of systems: Desktop systems Servers Embedded devices Thin clients (such as ChromeBooks, Edubuntu) Cloud instances Tablets Phones (Ubuntu Touch) . 5 / 31 Cloud Upstart is the #1 init system used in the cloud (through Ubuntu). Ubuntu, and thus Upstart, is used by lots of large well-known companies such as: HP AT&T Wikipedia Ericsson Rackspace Instagram twitpic … Companies moving to Ubuntu... Netflix . Hulu eBay 6 / 31 Versatility Upstart is simple and versatile The /sbin/init daemon only knows about events and processes: it doesn't dictate runlevel policy.
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • Ubuntu Linux Server Structure and Config
    Ubuntu Linux Server Structure and Config PacNOG5 June 16 – Papeete, French Polynesia Hervey Allen nsrc@SANOG10 New Delhi, India What's Our Goal? ● A bit of Debian & Ubuntu philosophy ● Differences from the Red Hat world – Package system – Debian's root philosophy – Tools you may need – Installing your environment – How the OS and services start/stop nsrc@SANOG10 New Delhi, India Some Practical Matters ● Please do not change the root or inst passwords. ● Questions are encouraged :-) ● Questions? nsrc@SANOG10 New Delhi, India Who We Think We Are Teaching A class that has already experienced or used Linux or UNIX in the real world. We're assuming an intermediate to advanced level of knowledge. Are we right? nsrc@SANOG10 New Delhi, India Some Philosophy ● Debian's conservative model – Very different from Fedora Core ● Releases and Repositories ● Ubuntu's benefactor: Mark Shuttleworth ● Desktop vs. Server vs. LTS versions ● The connection with Debian ● Restricted software and Ubuntu nsrc@SANOG10 New Delhi, India Ubuntu Debian Release Name Version Release Name Version Warty Warthog 4.1 buzz 1.1 Hoary Hedgehog 5.04 rex 1.2 bo 1.3 Breezy Badger 5.10 hamm 2.0 Dapper Drake 6.06 slink 2.1 Edgy Eft 6.10 potato 2.2 Feisty Fawn 7.04 woody 3.0 Gutsy Gibbon 7.10 sarge 3.1 etch 4.0 6.06 is “LTS” 7.10 is planned (7/10) lenny tba nsrc@SANOG10 New Delhi, India The World of Ubuntu Start here: http://www.ubuntu.com/ Server – “Feisty Fawn” 7.04 (18 month support) – “Dapper Drake“ 6.06 LTS (5 years support) – “Edgy Eft” 6.10 (18 month support) Desktop – Current are 6.10 and 7.04.
    [Show full text]
  • The Generative Internet
    The Generative Internet The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters Citation Jonathan Zittrain, The Generative Internet, 119 Harvard Law Review 1974 (2006). Published Version doi:10.1145/1435417.1435426;doi:10.1145/1435417.1435426 Citable link http://nrs.harvard.edu/urn-3:HUL.InstRepos:9385626 Terms of Use This article was downloaded from Harvard University’s DASH repository, and is made available under the terms and conditions applicable to Other Posted Material, as set forth at http:// nrs.harvard.edu/urn-3:HUL.InstRepos:dash.current.terms-of- use#LAA ARTICLE THE GENERATIVE INTERNET Jonathan L. Zittrain TABLE OF CONTENTS I. INTRODUCTION..............................................................................................................................1975 II. A MAPPING OF GENERATIVE TECHNOLOGIES....................................................................1980 A. Generative Technologies Defined.............................................................................................1981 1. Capacity for Leverage .........................................................................................................1981 2. Adaptability ..........................................................................................................................1981 3. Ease of Mastery....................................................................................................................1981 4. Accessibility...........................................................................................................................1982
    [Show full text]
  • Journal of Functional Programming Nixos: a Purely Functional Linux
    Journal of Functional Programming http://journals.cambridge.org/JFP Additional services for Journal of Functional Programming: Email alerts: Click here Subscriptions: Click here Commercial reprints: Click here Terms of use : Click here NixOS: A purely functional Linux distribution EELCO DOLSTRA, ANDRES LÖH and NICOLAS PIERRON Journal of Functional Programming / Volume 20 / Special Issue 5­6 / November 2010, pp 577 ­ 615 DOI: 10.1017/S0956796810000195, Published online: 15 October 2010 Link to this article: http://journals.cambridge.org/abstract_S0956796810000195 How to cite this article: EELCO DOLSTRA, ANDRES LÖH and NICOLAS PIERRON (2010). NixOS: A purely functional Linux distribution. Journal of Functional Programming,20, pp 577­615 doi:10.1017/ S0956796810000195 Request Permissions : Click here Downloaded from http://journals.cambridge.org/JFP, by Username: nrnr, IP address: 108.20.67.9 on 31 Aug 2012 JFP 20 (5 & 6): 577–615, 2011. c Cambridge University Press 2010 577 doi:10.1017/S0956796810000195 First published online 15 October 2010 NixOS: A purely functional Linux distribution EELCO DOLSTRA Department of Software Technology, Delft University of Technology, Postbus 5031, 2600 GA Delft, The Netherlands (e-mail: [email protected]) ANDRES LOH¨ Department of Information and Computing Sciences, Utrecht University, Postbus 80 . 089, 3508 TB Utrecht, The Netherlands (e-mail: [email protected]) NICOLAS PIERRON EPITA Research and Development Laboratory, 14-16 rue Voltaire, 94276 Le Kremlin-Bicetreˆ cedex, France (e-mail: [email protected]) Abstract Existing package and system configuration management tools suffer from an imperative model, where system administration actions such as package upgrades or changes to system configuration files are stateful: they destructively update the state of the system.
    [Show full text]
  • Ubuntu Linux Server Structure and Config
    Ubuntu Linux Server Structure and Config SANOG 10 Workshop August 29 – New Delhi, India Hervey Allen nsrc@SANOG10 New Delhi, India What's Our Goal? ● A bit of Debian & Ubuntu philosophy ● Differences from the Red Hat world – Package system – Debian's root philosophy – Tools you may need – Installing your environment – How the OS and services start/stop nsrc@SANOG10 New Delhi, India Some Practical Matters ● Please do not change the root or inst passwords. ● Questions are encouraged :-) ● Questions? nsrc@SANOG10 New Delhi, India Who We Think We Are Teaching A class that has already experienced or used Linux or UNIX in the real world. We're assuming an intermediate to advanced level of knowledge. Are we right? nsrc@SANOG10 New Delhi, India Some Philosophy ● Debian's conservative model – Very different from Fedora Core ● Releases and Repositories ● Ubuntu's benefactor: Mark Shuttleworth ● Desktop vs. Server vs. LTS versions ● The connection with Debian ● Restricted software and Ubuntu nsrc@SANOG10 New Delhi, India Ubuntu Debian Release Name Version Release Name Version Warty Warthog 4.1 buzz 1.1 Hoary Hedgehog 5.04 rex 1.2 bo 1.3 Breezy Badger 5.10 hamm 2.0 Dapper Drake 6.06 slink 2.1 Edgy Eft 6.10 potato 2.2 Feisty Fawn 7.04 woody 3.0 Gutsy Gibbon 7.10 sarge 3.1 etch 4.0 6.06 is “LTS” 7.10 is planned (7/10) lenny tba nsrc@SANOG10 New Delhi, India The World of Ubuntu Start here: http://www.ubuntu.com/ Server – “Feisty Fawn” 7.04 (18 month support) – “Dapper Drake“ 6.06 LTS (5 years support) – “Edgy Eft” 6.10 (18 month support) Desktop – Current are 6.10 and 7.04.
    [Show full text]
  • Systemd:Systemd: Thethe Newnew Initinit Systemsystem Forfor Linuxlinux
    systemd:systemd: thethe newnew initinit systemsystem forfor LinuxLinux GlennGlenn HolmerHolmer MilwaukeeMilwaukee LinuxLinux UsersUsers GroupGroup JuneJune 14,14, 20142014 History init, the father of processes ✔ BIOS loads bootloader from hard drive ✔ bootloader loads GRUB ✔ GRUB loads kernel ✔ kernel mounts filesystems and loads drivers ✔ kernel starts first process (init) sysvinit startup ✔ init looks for default runlevel and runs its scripts to start the appropriate services ✔ each runlevel has a directory /etc/rcN.d/ with start and stop symlinks to scripts in /etc/init.d init systems traditional: sysvinit (Linux) alternate: OpenRC (Gentoo), upstart (Ubuntu) other OS: BSD, SMF (Solaris), launchd (Mac) What's wrong with sysvinit? synchronous everything started at boot time can't control double-forked child processes What's better about systemd? asynchronous services started only when needed (via socket) services run in cgroups Why is systemd controversial? “do one thing and do it well” (feature creep) depends on dbus/kdbus Linux-specific (because of cgroups) binary log file (the journal) http://0pointer.de/blog/projects/the-biggest-myths.html Why is systemd controversial? “do one thing and do it well” (feature creep) depends on dbus/kdbus Linux-specific (because of cgroups) binary log file (the journal) http://0pointer.de/blog/projects/the-biggest-myths.html personality conflicts... systemd adoption Ubuntu: upstart 2006 (native init 2009) Fedora: upstart 2008, systemd 2011 RHEL: RHEL 7 (just released) uses systemd SUSE: upstart option 2010, systemd 2011 SLES: SLES 12 (Q3) will use systemd Debian: systemd 2014, Ubuntu will follow Mechanics Why is sysvinit synchronous? services wait for their dependencies (which open a socket when ready) Why not open the socket on startup? services with dependencies can start at once socket buffer holds messages until ready Why is sysvinit slow? shell scripts! (shell loaded over and over) multiple invocations of grep, awk, sed..
    [Show full text]