✓ automount
✓ device
✓ mount
✓ path
✓ service
✓ snapshot
✓ socket
✓ target
1.2 Configuration files in systemd are used to specify options. What is contained in each of the
Description, After, Execstart and Wantedby in such a configuration file? (8)
Description freeform comment of the service. ✓✓
After configures ordering, states what units should be activated before this
service starts. ✓✓
Execstart the command used to start this service. ✓✓
Wantedby identifies the target unit this service belongs to. ✓✓
1.3 Discuss how restart works bearing in mind that you already stopped the cups service. (3)
✓ The restart command first stops a service
✓ which in this case will generate a FAILED status as the service is not running.
✓ After stopping a service restart will start the service normally.
, lOMoARcPSD|24668432
1.4 You issued an lpc status command. The result is shown below. Write down all the
information you can derive from the output. (5)
oki
printer is on device 8/dev/null9
queuing is enabled
printing is disabled
✓ There is an active oki printer
✓ It is a network printer
✓ on device null
✓ The printer is currently disabled
✓ but the queue is enabled so jobs can be sent to the printer.
1.5 Name and discuss the two main services that are associated with a Samba server. (9)
✓ smb service
✓ controls the smbd daemon
✓ which provides the file
✓ and print sharing services
✓ that can be accessed by Windows clients.
✓ nmb service
✓ controls the nmbd daemon
✓ provides NetBIOS name to
✓ IP address resolution.
1.6 Discuss how the hosts in the /etc/exports file may be identified as individual hosts. Include
an example for each. (6)
hostname eg. maple ✓✓
, lOMoARcPSD|24668432
host.domain eg. unisa.ac.za ✓✓
IP eg. 196.1.2.100 ✓✓
Note: The examples must be matched with the specific identifier. Giving examples and
identifiers separately get half the marks.
[36]
Question 2
2.1 Installing new packages or upgrading an entire system you produce error messages
Regarding dependencies. Discuss the actions you would take to avoid the dependency
problem and what you would do should they occur anyway. (8)
Actions
✓ use recent well tested repositories
✓ consistently update your system
✓ occasionally upgrade your system to a new release
What do in case of errors
✓ use stable repositories
✓ use third party applications and repositories only if necessary
✓ solve kernel related dependencies
✓ exclude some packages from update
✓ test pre upgrade for upgrades
2.2 How would you respond to a out of memory condition in the short term? (3)
✓ Kill a process.
✓ Drop page caches.
✓ Kill an out-of-memory process.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying this summary from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller omoka11. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy this summary for R56,20. You're not tied to anything after your purchase.