element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum When did rc.local get deprecated
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 661 subscribers
  • Views 3715 views
  • Users 0 members are here
  • raspberry pi operating system
  • system administration
  • bullseye
Related

When did rc.local get deprecated

colporteur
colporteur over 3 years ago

/etc/rc.local is an obsolete script kept for compatibility purposes on systemV systems. I just discovered in Bullseye, the rc.local script is not activated. I knew the systemV support was slowly fading but this came as a surprise. What was supposed to be a five-minute job turned into a three-hour exercise.

I had reason to upgrade a Raspberry Pi operating system (O/S) on a Raspberry Pi 3B to the current version. The O/S for this Pi hardware and its rc.local were operational for a few years. A poorly performing SD card motivated me to upgrade. The old O/S used rc.local to start a number of python scripts. After getting the most current O/S installed on the new SD Card I ported the Pi user directory and modified the /etc/rc.local to start the scripts on reboot. I discovered that nothing happened.

Migrating legacy systems to the current version introduces some new twists. I managed to find some notes on systemctl and port the script startup to the service. I had done some work with systemctl was first introduced. I had to lookup most of the syntax. The online notes failed to work, of course, but with a little perseverance, I created the necessary scripts and contents to have the scripts running as services on systemd.

When companies advertise in their job postings, system administrators needed with 5-10 years of experience which is understandable. I really would like to forget my VAX knowledge to make room for something more relevant:) The longer systems are around the greater need for the old knowledge. A system Twenty-seven years old was the oldest system I replaced. Imagine the changes over twenty-seven years. It was a UNIX database of sorts. 

  • Sign in to reply
  • Cancel
Parents
  • beacon_dave
    beacon_dave over 3 years ago

    "...A system Twenty-seven years old was the oldest system I replaced..."

    Modern stuff then. I've been working on a Thirty-seven year old system with zero documentation. Top tip, if you want a life, don't let your friends buy a classic car that has a engine management system designed for F1 racing cars... ConfusedPoint left

    Persuade them to play with model train sets instead... Slight smile

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • ntewinkel
    ntewinkel over 3 years ago in reply to beacon_dave

    Dang, is 1985 considered "classic" already? #FeelingOld

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • ntewinkel
    ntewinkel over 3 years ago in reply to beacon_dave

    Dang, is 1985 considered "classic" already? #FeelingOld

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube