[tuned] #29: error route of tuned-adm profile if tuned isn't running
by fedora-badges
#29: error route of tuned-adm profile if tuned isn't running
-----------------------+-----------------------
Reporter: moriwaka | Owner:
Type: defect | Status: new
Priority: major | Component: utilities
Version: 2.0 | Keywords:
Blocked By: | Blocking:
-----------------------+-----------------------
reproducer:
1. systemctl stop tuned.service
2. tuned-adm profile latency-performance
this shows two type of error.
case 1. invalid pid file
----------------------------
Traceback (most recent call last):
File "/usr/sbin/tuned-adm", line 145, in <module>
tuned_adm.run(args)
File "/usr/sbin/tuned-adm", line 69, in run
self.set_active_profile(args[1])
File "/usr/sbin/tuned-adm", line 129, in set_active_profile
os.kill(pid, signal.SIGHUP)
OSError: [Errno 3] No such process
----------------------------
case 2. no pid file (this caused if /var/run/tuned/tuned.pid isn't there)
-----------------------------------------------------------
Cannot read /var/run/tuned/tuned.pid: [Errno 2] No such file or directory:
'/var/run/tuned/tuned.pid'
-----------------------------------------------------------
description:
- case 1 can be problem if same pid is reused in other process than tuned.
mix with https://bugzilla.redhat.com/show_bug.cgi?id=845336, this can be a
security flaw. pid file should be removed when it found to be invalid.
- case 2 is less problematic, but adding some advisory message is nice to
have. "Please run tuned daemon to configure profile"
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/29>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
10 years, 5 months
[tuned] #32: tuned-adm list, active, profile should work even if the daemon is stopped
by fedora-badges
#32: tuned-adm list, active, profile should work even if the daemon is stopped
-----------------------+--------------------
Reporter: jskarvad | Owner:
Type: defect | Status: new
Priority: major | Component: daemon
Version: 2.0 | Keywords:
Blocked By: | Blocking:
-----------------------+--------------------
Currently it is not possible to set the profile before the daemon is
started. You need to start the daemon (with unwanted profile) and then
change to required profile. There is the same problem if you need to only
observe which profiles are available on your system - you need to start
the daemon. This is weird. Proposal:
- the tuned-adm should query the data on filesystem directly if the dbus
call fail.
- for set_profile there should be locking, i.e. during the initialization
of the daemon, if there is tuned-adm running, the daemon should wait for
tuned-adm completion.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/32>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
10 years, 5 months
Re: [tuned] #9: disk barriers settings
by fedora-badges
#9: disk barriers settings
------------------------+-----------------------
Reporter: jvcelak | Owner: somebody
Type: enhancement | Status: closed
Priority: major | Component: plugins
Version: | Resolution: fixed
Keywords: | Blocked By:
Blocking: |
------------------------+-----------------------
Changes (by jvcelak):
* status: new => closed
* resolution: => fixed
Comment:
Fixed. It can be done using 'mounts' plugin.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/9#comment:2>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 4 months
Re: [tuned] #10: disk barriers for disk with write back cache
by fedora-badges
#10: disk barriers for disk with write back cache
------------------------+-----------------------
Reporter: jvcelak | Owner: somebody
Type: enhancement | Status: closed
Priority: major | Component: plugins
Version: | Resolution: fixed
Keywords: | Blocked By:
Blocking: |
------------------------+-----------------------
Changes (by jvcelak):
* status: new => closed
* resolution: => fixed
Comment:
Fixed. It can be done using 'mounts' plugin.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/10#comment:2>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 4 months
[tuned] #30: select default profile according to environment
by fedora-badges
#30: select default profile according to environment
--------------------------+--------------------
Reporter: jvcelak | Owner:
Type: enhancement | Status: new
Priority: major | Component: daemon
Version: 2.0 | Keywords:
Blocked By: | Blocking:
--------------------------+--------------------
Requested for RHEL-7.
We can detect the environment (server, virtual guest) in RPM %post and set
the profile according to it.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/30>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 4 months
Re: [tuned] #18: support for udev events
by fedora-badges
#18: support for udev events
------------------------+-----------------------
Reporter: jvcelak | Owner: jvcelak
Type: enhancement | Status: assigned
Priority: major | Component: daemon
Version: 2.0 | Resolution:
Keywords: | Blocked By:
Blocking: |
------------------------+-----------------------
Changes (by jvcelak):
* owner: => jvcelak
* status: new => assigned
Comment:
In progress.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/18#comment:1>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 4 months
Re: [tuned] #16: port udev rules from tuned 1.0
by fedora-badges
#16: port udev rules from tuned 1.0
--------------------+-----------------------
Reporter: jvcelak | Owner: jvcelak
Type: task | Status: assigned
Priority: major | Component: plugins
Version: 2.0 | Resolution:
Keywords: | Blocked By:
Blocking: |
--------------------+-----------------------
Changes (by jvcelak):
* owner: => jvcelak
* status: new => assigned
Comment:
In progress.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/16#comment:1>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 4 months