Mailinglist Archive: opensuse (3437 mails)
| < Previous | Next > |
RE: [opensuse] clean uninstall
- From: "Kamal, Murali" <Murali.Kamal@xxxxxx>
- Date: Fri, 13 Jun 2008 11:00:53 -0400
- Message-id: <23C0CFEF91737340B266E6B1B7F63BBB051DAC60@xxxxxxxxxxxxxxx>
Hi Carlos,
I used the command "insserv -r <serv_name>" from command line as a stand
alone.
Even that is failing to remove entries from depends files. But the
symbolic links are removed from all run levels.
In my uninstall script, I did not remove the symbolic links through the
command "rm", instead I used the command "insserv -r <>" through my
script. Hence the symbolic links are actually removed by "insserv" only.
Is there anything I have to take care of ?
By the way here is the LSB header of my startup script inside
/etc/init.d/
### BEGIN INIT INFO
# Provides: aclogrd
# Required-Start: $network
# Should-Start:
# Required-Stop:
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Description: Security Audit aclogrd Service
### END INIT INFO
Thanks,
Murali
-----Original Message-----
From: Carlos E. R. [mailto:robin.listas@xxxxxxxxxxxxxx]
Sent: Friday, June 13, 2008 8:24 PM
To: OS-en
Subject: RE: [opensuse] clean uninstall
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Friday 2008-06-13 at 09:40 -0400, Kamal, Murali wrote:
Hold on, hold on. The symbolic links have to be removed by insserv, not
by
your script. I'm not sure if I understood you correctly, are you doing
that :-?
The best thing is to try insserv from the command line, directly, and
check that it is able to insert and remove the service properly, both
the
links and the depend entries.
Once that is working you put the apporpiate calls in your install
scripts
or whatever.
If it doesn't work standalone it will not work from your scripts, and if
everything is correctly done but something fails, it is a bug that has
to
be reported.
Welcome. :-)
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFIUooftTMYHG2NR9URAtQOAJ90iZlufcS6VeGidTlqYwCEaYh3kACeJeCO
n5aaLHWfa6K7YMbR7d0XA18=
=PaCC
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
I used the command "insserv -r <serv_name>" from command line as a stand
alone.
Even that is failing to remove entries from depends files. But the
symbolic links are removed from all run levels.
In my uninstall script, I did not remove the symbolic links through the
command "rm", instead I used the command "insserv -r <>" through my
script. Hence the symbolic links are actually removed by "insserv" only.
Is there anything I have to take care of ?
By the way here is the LSB header of my startup script inside
/etc/init.d/
### BEGIN INIT INFO
# Provides: aclogrd
# Required-Start: $network
# Should-Start:
# Required-Stop:
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Description: Security Audit aclogrd Service
### END INIT INFO
Thanks,
Murali
-----Original Message-----
From: Carlos E. R. [mailto:robin.listas@xxxxxxxxxxxxxx]
Sent: Friday, June 13, 2008 8:24 PM
To: OS-en
Subject: RE: [opensuse] clean uninstall
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Friday 2008-06-13 at 09:40 -0400, Kamal, Murali wrote:
Hi Carlos,
The uninstall script that uses "insserv -r <service_name>" is able to
remove all symbolic links from all runlevels.
But the entries from depend.start and depend.stop are not getting
deleted !!
I am not sure if I discovered a bug.
But I will report to the bugzilla team, who can verify the same with
another r application/scenario.
Hold on, hold on. The symbolic links have to be removed by insserv, not
by
your script. I'm not sure if I understood you correctly, are you doing
that :-?
The best thing is to try insserv from the command line, directly, and
check that it is able to insert and remove the service properly, both
the
links and the depend entries.
Once that is working you put the apporpiate calls in your install
scripts
or whatever.
If it doesn't work standalone it will not work from your scripts, and if
everything is correctly done but something fails, it is a bug that has
to
be reported.
Thanks for all (especially Philipp) your help in this issue and the
"Automatic restart of services" issue.
Welcome. :-)
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFIUooftTMYHG2NR9URAtQOAJ90iZlufcS6VeGidTlqYwCEaYh3kACeJeCO
n5aaLHWfa6K7YMbR7d0XA18=
=PaCC
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |