Ubuntu 9.10 - inotify and incron

I am using the standard Linode distribution

Ubuntu 9.10 Profile (Latest 2.6 Paravirt (2.6.39-linode33))

I am trying to use inotify and incron and it does not appear to be working. Does this kernel support inotify?

If so, is there any additional configuration required to get it to work?

3 Replies

I'm not familiar with the configuration you are attempting to accomplish unfortunately. The kernel, however, does have that support compiled in:

root@debian:~# uname -r && zgrep -i "inotify" /proc/config.gz 
2.6.39-linode33
CONFIG_INOTIFY_USER=y

Also, I wasn't sure if you were aware but Ubuntu 9.10 is end of life and is no longer receiving security updates. You may want to consider upgrading to Ubuntu 10.04 LTS:

  • http://library.linode.com/troubleshooti … 0.04-lucid">http://library.linode.com/troubleshooting/upgrade-to-ubuntu-10.04-lucid

-Tim

@theckman:

I'm not familiar with the configuration you are attempting to accomplish unfortunately. The kernel, however, does have that support compiled in:

root@debian:~# uname -r && zgrep -i "inotify" /proc/config.gz 
2.6.39-linode33
CONFIG_INOTIFY_USER=y

Also, I wasn't sure if you were aware but Ubuntu 9.10 is end of life and is no longer receiving security updates. You may want to consider upgrading to Ubuntu 10.04 LTS:

  • http://library.linode.com/troubleshooti … 0.04-lucid">http://library.linode.com/troubleshooting/upgrade-to-ubuntu-10.04-lucid

-Tim
Quick response, thanks.

Basically wanting to use incron. It is similar to cron, except instead of running a command at time intervals, it runs a command when a certain file or contents of a folder change. Requires inotify support in the kernel to work.

I have not used it before, so I may be doing something wrong. Just wanted to see if the kernel support was in place before going too far into tracking down the issue.

Did not intend to keep the 9.10 version running this long, but am too busy with a hundred other things to worry about an update at this point. Will probably stick with the supported x.4 versions once I get around to the next upgrade.

I prefer fresh installs as it forces me to keep my deployment scripts up to date. Also a good test to ensure I have properly separated the data from the system/config.

It is working fine now, was monitoring for the wrong event.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct