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 3708 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
  • 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
  • ntewinkel
    ntewinkel over 3 years ago

    Oh I hate that when a quick update turns into a nightmare because somebody decided to change a detail somewhere!

    Glad you figured it out Slight smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • colporteur
    colporteur over 3 years ago in reply to beacon_dave

    I did some reading on modifying code for newer engines. Individuals change chips and tweak the code to get the performance they want and not the manufacturers. Sounds like playing with Linux when it first came out. Reminds me of those silver stickers over holes in hard drives. Warranty void if removed.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • colporteur
    colporteur over 3 years ago in reply to ntewinkel

    It was one of those Augh Shite moments. In too deep to back out and realizing the only way out is forward. At least it wasn't 2 am in the middle of the system upgrade with already half of the maintenance window over. Oh yeah...I don't do that anymore...happy dance.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • ntewinkel
    ntewinkel over 3 years ago in reply to colporteur
    colporteur said:
    At least it wasn't 2 am in the middle of the system upgrade with already half of the maintenance window over.

    Laughing Sweat smile

    Thankfully that was never my job - early on in my career I got into developing the mobile client apps (like waaaay back before it was cool), and also we never had servers until much later.

    That always meant I got ALL of the bug reports for everything server and database related too. But I never had to do the midnight updates!

    I've definitely seen the pain in the server team's eyes :D 

    Oh.. I did actually do that sort of thing once - in a university co-op term I upgraded the office to a new Unix machine (SCO? I think?), but it was over a weekend. The "YIKES!" moment was when I realized all of the serial ports were the wrong gender for the cables to the terminals - luckily a local store (London Drugs, I think) had them available, but it wasn't an easy "pick off the shelf" sort of moment like it would be today! Looking back I'm actually kinda shocked I was able to pull that off - saved them more in that one weekend (vs the vendor doing it), than they spent on my wages all summer!

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

    At times I think I miss the rush and then I give my head a shake and go back to doing retirement stuff.

    I worked for a national telecommunications provider. They had a regional ISP presence as well as digital TV distribution. I had the opportunity to work with some pretty bright people that did some amazing stuff. At the tail end of my career, I was part of the team that moved television subscribers across two provisioning systems.

    In 17 maintenance windows, we moved 165K subscribers with no downtime. I coined the scenario, it was like changing the engine on an airplane while it was in flight. I don't think anyone in management really appreciated the amount of effort that was invested to ensure no loss of service. There were a number of senior administrators that really cared and took pride in achieving the impossible.

    I don't miss the late-night pizza and going to bed at 8 in the morning. Well, maybe the company paid for pizza.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
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