Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] RPi invisible on network / nmbd issue
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: RPi invisible on network / nmbd issue
31st Dec, 2014, 07:28 PM
Post: #9
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: RPi invisible on network / nmbd issue
@mrpi @Skywatch

if you want the background that happened:
- since B2 there is upstart on XBian taking care of boot process
- unfortunately the "debian way" of providing long-term backward compatibility means:
- upstart IS really the one which starts first but contains only bare minimum of native jobs - actually to very soon in boot process call again the old sysv system (what very much means only ONE more system to take care of with no benefits)
- so since then XBian is slowly doing the migration on its own (if feasible with respect to integrity of the system - in that case by utilising .override files - if there is PKG native .conf file, user (or we at XBian) can create .override file. any info/config param provided in override file takes precedence for upstart (clean and user-easy way hot to override system functions but actually not touch the system files)

a while ago we did that for samba (smbd/nmbd processes). in advance we shipped .override file - to have system already tuned at the time when updated samba package hits debian stable repo meaning it will also rm old sysv boot script and will place own into /etc/init.
but due to bug inside samba native pkg installer script, old sysv was removed, but new wasn't placed. into /etc/init. for upstart .override file is not considered at all until original .conf exists - what is ok, otherwise it would be a place to hack actually.
so on the day raspbian installed samba update, it broke nmbd loading at boot.

normally we would find that before user - but there our part kicked in - because wheezy will soon turn into jennie, we do all the development & test on primarily on jennie. but because jennie version of upstart is much ahead of the one in wheezy - it has deployed .conf file for nmbd long ago and all was fine (for all imx6 users and devels).

so something what you cant see until properly reported - then it was easy to track down. so so now you how such empty command as touch can solve this - because it creates (although empty) conf file for nmbd, upstart reads it - creates internally JOB nmbd, then looks for override - and because XBian provided this in advance nmbd is properly started from that configuration.

but yes, indeed funny - try to convince a system administrator (from user perspective) that REALLY creating and empty file made SAMBA working again. Wink
but no magic again

I'm just pushing xbian-update containing among others also that fix so it will be distributed today - unfortunately I couldn't find the 3rd buggy line (maybe more, who knows) removing samba mounts from fstab ... so do a backup because your gets again removed ... Undecided but I have not forgotten about that

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
RPi invisible on network / nmbd issue - mrpi - 21st Dec, 2014, 12:35 AM
RE: RPi invisible on network / smb issue - Skywatch - 21st Dec, 2014, 03:42 AM
RE: RPi invisible on network / smb issue - mrpi - 21st Dec, 2014, 04:09 AM
RE: RPi invisible on network / smb issue - Skywatch - 21st Dec, 2014, 04:42 AM
RE: RPi invisible on network / smb issue - mk01 - 21st Dec, 2014, 06:23 AM
RE: RPi invisible on network / smb issue - mrpi - 21st Dec, 2014, 06:46 AM
RE: RPi invisible on network / nmbd issue - Skywatch - 21st Dec, 2014, 10:00 PM
RE: RPi invisible on network / nmbd issue - CurlyMo - 21st Dec, 2014, 11:56 PM
RE: RPi invisible on network / nmbd issue - mk01 - 31st Dec, 2014 07:28 PM
RE: RPi invisible on network / nmbd issue - CurlyMo - 31st Dec, 2014, 07:41 PM
RE: RPi invisible on network / nmbd issue - Skywatch - 5th Jan, 2015, 09:48 PM
RE: RPi invisible on network / nmbd issue - mk01 - 13th Jan, 2015, 04:17 PM
RE: RPi invisible on network / nmbd issue - Skywatch - 13th Jan, 2015, 08:10 PM
RE: RPi invisible on network / nmbd issue - mk01 - 19th Jan, 2015, 08:21 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 5th Jun, 2025, 11:48 AM Powered By MyBB, © 2002-2025 MyBB Group.