Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Policy about messages for init scripts

 
   Linux (Home) -> Policy RSS
Next:  huge concision  
Author Message
Mario Iseli

External


Since: Oct 10, 2006
Posts: 54



(Msg. 1) Posted: Sun Sep 10, 2006 8:30 pm
Post subject: Policy about messages for init scripts
Archived from groups: linux>debian>policy (more info?)

Hi,

I have a little suggestion for the Debian policy. Many packages use
messages in their initscript. For example tinierp-server shows that you
have to setup a database manually, spamc shows a message that the daemon
doesn't start if you don't activate it in /etc/default. Every maintainer
has his own style how to do this. Someone makes asterisks around the
messages, the other one makes rhombuses. So this is my problem, when
someone would have 10 of those packages installed he would get ugly
messages Smile
I recommend to do it this way:

* * * * * *
* Example *
* * * * * *

Regards

--
.''`. Mario Iseli <admin DeleteThis @marioiseli.com>
: :' : proud user of Debian unstable
`. `'`
`- Debian - when you have better things to do than fixing a system


--
To UNSUBSCRIBE, email to debian-policy-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Don Armstrong

External


Since: Jan 24, 2005
Posts: 233



(Msg. 2) Posted: Mon Sep 11, 2006 12:50 am
Post subject: Re: Policy about messages for init scripts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 10 Sep 2006, Mario Iseli wrote:
> Someone makes asterisks around the messages, the other one makes
> rhombuses. So this is my problem, when someone would have 10 of
> those packages installed he would get ugly messages Smile

What people should be doing instead is using lsb-base and
lsb-init-functions' log_failure_message and other functions from there
instead of writing their own custom methods of dealing with it.

Suggest changing init scripts to use lsb-init-functions if you run
across those that do not.


Don Armstrong

--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead
bodies. Do you think I want to have an academic debate on this
subject?"
-- Robert Fisk

http://www.donarmstrong.com http://rzlab.ucr.edu


--
To UNSUBSCRIBE, email to debian-policy-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#484706: debian-policy: policy is not policy compliant?.. - Package: debian-policy Version: 3.8.0.0 Severity: important Justification: doesn't install -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Shouldn't the debian-policy package follow the Debian policy? :-) # dpkg --configure -a Setting up..

Bug#454431: debian-policy: Policy for module sources needed - Package: debian-policy Severity: normal I think we should have policy for module source packages that specifies how such a package should look like. There are several ways to build a kernel module from a source file and some (at least the inclusion in..

Bug#484656: debian-policy: .desktop files have are a freed.. - Package: debian-policy Severity: normal For freedesktop.org compliant window managers .desktop files under /usr/share/applications are considered the preferred method of creating menu entries, and these entries are what are used for the main menu in..

Changes to archive debian-policy@lists.debian.org--etch/de.. - New versions created in debian-policy@lists.debian.org--etch/debian-policy--devel debian-policy--devel--3.7 regards, "baz mail-new-versions" -- To UNSUBSCRIBE, email to debian-policy-REQUEST@lists.debian.org with a subject of "un...

Bug#353910: /etc/init.d/wwwoffle restart should be the sam.. - Package: wwwoffle Version: 2.8e-3 Severity: wishlist File: /etc/init.d/wwwoffle I wish # /etc/init.d/some_package restart would be mandatory to act just like # /etc/init.d/some_package stop # /etc/init.d/some_package start I can't find the exact wordin...
       Linux (Home) -> Policy All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact