Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Checkboxes are disabled and empty in Bootup and Shutdown page. #43

Closed
gencer opened this Issue Oct 7, 2012 · 10 comments

Comments

Projects
None yet
4 participants

gencer commented Oct 7, 2012

Checkboxes are disabled and empty in Bootup and Shutdown page.

Here is the screenshot: http://i.imgur.com/THQ6u.jpg

This happend after v1.590 and still exist in v1.601

CentOS 6.3 x86_64. Olders are working. (e.g.: 1.580)

I think the reason is that Webmin thinks you are using the "Upstart" boot system, but also have some legacy init.d bootup scripts. When the main page of the Bootup and Shutdown module lists two different action types, those that are not from the primary boot system (Upstart in your case) cannot be mass-enabled or disabled.

Was this a fresh CentOS 6.3 install, or an upgrade? On my test CentOS systems, all the bootup actions are selectable as they are all Upstart scripts.

gencer commented Oct 7, 2012

Yes, this is a fresh installation of CentOS 6.3. How can i get over it? Is there any way?

When moving from 5.8 to 6.3 i backed up my boot files but i "never restore them". I adapted them to the el6 style. They were working smoothly until i upgraded my webmin to the v1.590 and later.

NOTE: I also tested with another CentOS 6. Still can't selectable.

So does the file /etc/init.d/crond exist on your system?

How about the file /etc/init/crond.conf ?

gencer commented Oct 8, 2012

Yes, i have /etc/init.d/crond but i don't have /etc/init/crond.conf.

Collaborator

jcameron commented Oct 8, 2012

Were bootup scripts migrated from some other system or restored from a backup?

gencer commented Oct 9, 2012

No. To make sure i moved my all programs and leave centos s own scripts and still same.

I also did one test. I moved all scripts inside of init.d to another location and refresh the webmin page. Only 10-12 items remain and they are -i think- system scripts and they are not in init.d folder. Anyway, i continue to move files one-by-one to init.d folder. Everytime i move a script, webmin show it as disabled. So no matter of what files that inside of init.d folder are disabled.

@gencer gencer closed this Oct 9, 2012

@gencer gencer reopened this Oct 9, 2012

Collaborator

jcameron commented Oct 9, 2012

OK, I think the right answer here is for Webmin to properly support the case where you have two different kinds of bootup scripts. I will fix this in the next release.

@jcameron jcameron closed this Oct 9, 2012

Also seeing this on a fresh centos 6.3 x86_64.

gencer commented Oct 21, 2012

@lgonzalez-silen try RPM on Development package section. v1.602-1.rpm has this fix. It is fully working.

Awesome, thx! that fixed me -> http://download.webmin.com/devel/rpm/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment