Getting started with fixing bugs for Linux


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Getting started with fixing bugs for Linux
# 1  
Old 06-02-2017
Bug Getting started with fixing bugs for Linux

Okay I want to try my luck at fixing bugs for the Fedora OS, but I guess this question deals with any Linux distro or any open source OS for that matter.

I want to know how I can start fixing bugs on the OS level. For example the particular bug that I want to target is this logout bug

I mean how do I start with debugging something like this. These may involve OS modules that are already running in the OS, I can get the source, but how do I deploy and test it ?

MOST IMPORTANTLY-:
Can it be done in a VM like VirtualBox or KVM ?
Maybe I can test my "patched" OS there ?

Not sure about how approach this problem. Any of you who does Linux OS bug fixing could really help me out.
# 2  
Old 06-02-2017
Do you know anything at all about programming?
# 3  
Old 06-02-2017
Quote:
Originally Posted by Corona688
Do you know anything at all about programming?
Yes what do you mean by that ?
# 4  
Old 06-02-2017
Not a trick question. You won't be able to debug this without extensive internal knowledge of C/C++, PAM, and possibly X and Gnome.
# 5  
Old 06-03-2017
Quote:
Originally Posted by Corona688
Not a trick question. You won't be able to debug this without extensive internal knowledge of C/C++, PAM, and possibly X and Gnome.
I agree.
But can the debugging be done inside a VM ? Also are there debuggers that you can use ? I mean how would you attach a debugger to an OS module. Not necessarily a kernel module, but lets say the File Manager GUI.

I mean how do I go about this ? Any tutorials or blogs or any source that could give me some pointers on how to start ?
# 6  
Old 06-06-2017
Lacking extensive internal knowledge of X, Gnome, and File Manager, I can't really say.

I will say that "file manager GUI" is not an "os module". Everything except the kernel is just a program like everything else.
# 7  
Old 06-06-2017
Hi.

If you are not familiar with some *nix tools, you will need to pick up some practice with vi/emacs, and make at the least. You may also need to become familiar with source control: check out/check-in.

I was a: Member of the Process Engineering group chartered with defining, realizing, and maintaining the processes and practices associated with the software lifecycle at Caspian.

I did course development and training for that general process: nightly builds, release packaging, etc. Development, including design and debugging, was not a trivial activity. I also did training in shell, perl, regular expressions, etc.

At that shop each developer checked out a piece of the system and worked on it. When it was ready to go, the code was checked in. The nightly build and tests were done on a separate hardware system based on the current state of the system with every developer's contribution. Extensive records were kept for bug tracking.

If you are interested in diving deep into Linux, you might appreciate the structure of Debian development -- I use Debian for my main activities currently.

You can read about Debian maintenance and development -- all done by volunteers world-wide -- at Debian Developer's Reference

It is also not a trivial activity.

You could certainly do some, perhaps even much, of this kind of work on your own in an isolated virtual system. For example, suppose you wanted to work on utility ls for your own purposes. You easily could get the source, modify it, and test it in a VM. However, working on real bugs, for example, might be far more interesting

Best wishes ... cheers, drl
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Red Hat

What are Linux configuration changes required after a cloned VM Server is started?

Dear Expert Users, VMware Admin Tool is used to create a "clone" of an existing VM RHEL Server. Now, I have a Project where a cloned VM Server image is started for run . Please share what are all configuration changes required to ensure this runs fine ? I will be grateful for quick and... (2 Replies)
Discussion started by: schandrakar1
2 Replies

2. UNIX for Beginners Questions & Answers

Bugs in my new Ubuntu installation

I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time. I am seeing various bugs. I don't know if the problems are due to: (a) Hardware problems with the new laptop. (b) Software issues, i.e. Ubuntu not working with the other... (7 Replies)
Discussion started by: twelth_hour
7 Replies

3. Linux

fixing with sed

I am trying to replace the value of $f3 but its not working . I don't know what I am missing here . cat dim_copy.20080516.sql | grep -i "create view" | grep -v OPSDM002 | while read f1 f2 f3 f4 f5 f6 f7 f8 f9 do echo " $f3 " sed -e... (13 Replies)
Discussion started by: capri_drm
13 Replies

4. Solaris

Bugs with clock()

Hi there!!! Need your help in solving some tricky problems. Since clock() as such is buggy on SUN OS 5 we have started using gettimeofday() in our RTOS applications based on Solaris 9. The problems we actually encountered previously were - the applications kind of freeze/hang eternally on... (1 Reply)
Discussion started by: smanu
1 Replies

5. UNIX for Dummies Questions & Answers

Just started linux any advice??

well i just got into this and really dont know anything so if anyone has any reccomendations like books/sites/forums/or just general advice or if anyone wants to help me get started i would really appreciate it thank you very much (6 Replies)
Discussion started by: Necrons
6 Replies

6. UNIX for Dummies Questions & Answers

Is it a bugs for find command? :(

Hi! When i am trying to use find command to seacrh files in current directory, it help me to search for it sub-directory also. Is there anyway to avoid it? I am using unix operating system. My friend told me that only linux did handle this, is it true? (4 Replies)
Discussion started by: AkumaTay
4 Replies
Login or Register to Ask a Question